ZhouW
  • Member for 4 years, 7 months
  • Last seen more than 2 years ago
Private blockchain accounts have no starting ether despite allocating in genesis.json
Accepted answer
3 votes

I believe the issue was I needed to create an account first with geth account new then put that account in the genesis.json file.

View answer
Running a truffle app outside of localhost?
Accepted answer
2 votes

In truffle.js I had do the following to deploy to ropsten and avoid the "network/artifact mismatch" error: require('babel-register') module.exports = { networks: { "ropsten": { ...

View answer
Wrong order when calling a function to return a string
Accepted answer
2 votes

This was solved by using an async function and await, like as follows: const asyncFunction = async function() { for (i = numberOfMessages - 1; i >= 0; i--) { const data = await ...

View answer
Truffle - can deploy to ropsten but not mainnet
Accepted answer
1 votes

Running netstat -an showed the port I though I was running the mainnet on (8546 here) wasn't active. Running the mainnet in geth on port 8545 (like the testnet) and changing truffle.js to look at port ...

View answer
How to start running a private blockchain with a custom genesis.json file on http://localhost:8545?
Accepted answer
1 votes

geth --rpc --rpcaddr "127.0.0.1" --rpcport "8545"

View answer
Unable to set custom gas limit for Oraclize query
0 votes

I think the issue is I was calling update() in the constructor function and creating the contract without sending Ether (only adding to the contract balance after the contract had deployed). I instead ...

View answer
Oraclize failing to return data when using example contract
0 votes

The issue was that the ropsten test network I was using was having issues. I believe the code I posted should normally run fine.

View answer