Marco Ottolini
  • Member for 3 years, 3 months
  • Last seen this week
How to turn off specific warnings for the solidity compiler?
3 votes

Even if "silencing warnings" has been debated for a long time (https://github.com/ethereum/solidity/issues/2691 and https://github.com/ethereum/solidity/issues/2675), it is not yet possible to do it. ...

View answer
How to use web3 in a mobile context (ionic)?
1 votes

In case you are looking for a generic ethereum client implemented with Ionic, I released a simple POC on Github: https://github.com/mottolini/ionic-ethereum

View answer
What are my blockchain options when I have terabytes of data to access?
Accepted answer
1 votes

Storing terabytes on the blockchain is not possible: it would cost too much. You have to store that data off-chain and eventually group it in a way that makes sense. What I did in a scenario similar ...

View answer
How to enable/disable token transfer?
Accepted answer
1 votes

The contract IcoToken inherits Pausable so you can just call the function pause() to stop any activity among token holders. Total tokens sold are held in the totalSupply variable of the ICO contract: ...

View answer
How to call a function of a smart contract
1 votes

Go to http://remix.ethereum.org (Ethereum Solidity IDE in a browser) and: click on the + at the top left Copy and paste your code in the main window Click un "run" tab Select "JavaScript VM" for the ...

View answer
Ideal Blockchain decentralized app
Accepted answer
1 votes

I had a similar "problem" and the architecture I decide to use is a 3 tier one: client, private blockchain based on ethereum and a backend system for off-chain data. The client (in my case is a ...

View answer
Assembly call instruction address as single integer
Accepted answer
1 votes

It refers to pre-compiled contracts. 6 refers to a the bn256Add pre-compiled contract in the Byzantium release. You should look for PrecompiledContractsByzantium in the geth source code to find a list ...

View answer
Need help integrating ERC20 on Exchange
1 votes

ERC20 is a standard that exposes some functions you can use directly without having access to the ABI. The only thing you need is the address of the ERC20 contract. I deployed two ERC20 contracts on ...

View answer
Payable function not being called when ether is sent to the contract address
1 votes

Don't really understand what your problem is, but probably is not in the invocation of the fallback function. If you try to deploy the following contract, whichever function you call (buy, fallback ...

View answer
How to create an infrastructure for node endpoint resolution on a multi-node network
0 votes

Never used it, but this seems promising: https://github.com/emeraldpay/dshackle

View answer
Remix now force to use https, how can i continue to use http://remix.ethereum.org?
0 votes

To solve my problem I used a quick and dirty solution, similar to the trick used in hellopeach answer but doesn't provide you the remix interface. set up a virtual local server on port 80 for remix....

View answer
How can I build this list of addresses
0 votes

You should simply declare an array and save the address of the sender in it: address[] private investorsList; function invest() public payable { require(msg.value == 0.1 ether); investorsList....

View answer
Undeclared identifier onlyowner
0 votes

It seems your environment didn't import correctly the OpenZeppelin contracts. Try to change the references to the OpenZeppelin contracts to get the raw source code. Here are the addresses you should ...

View answer
Accessing the Ethereum State Variables using web3js (Java Script)
0 votes

Execution of the web3js call is asynchronous, so "After Call" is executed before the code inside the loop. Try this: var coreValues = ['Apple', 'Banana']; console.log("Before call :" + coreValues[1]...

View answer
What is the max data and program complexity one smart-contract can support
Accepted answer
0 votes

What I normally use in cases like these is a "master" contract whose owner is the platform and deploys a separate contract for each "detail" contract. In your case, my suggestion is to have each bid ...

View answer
Blockchain app technical architecture
0 votes

I implemented a private blockchain with a backend system in nodejs that handles some of the hurdles but left the blockchain doing the work is best at: giving trust. So, basically I implemented a ...

View answer
Hiding values from calculation (zkSnarks?)
0 votes

Short answer is Yes, but depends on what you really need. The following contract stores the age of the person and without revealing it, can "certify" if the person is a teen or an adult. You can also ...

View answer