We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

1

You should not think of Ethereum transactions in the same sense as regular messaging / transactions / background runs in the "traditional" world. Information like exact timestamps is really irrelevant in Ethereum. A miner picks up transactions for his block and the miner decides in which order the transactions will be executed inside the block. All that ...


1

About 1. for creating fresh addresses you can use keythereum or ethers.js. Take a look on both libraries and pick the one you prefer. About 2. and 3. To track the payments I see 2 options: You will be using nodejs so you can setup nodejs cronjob and check in block range ({fromBlock: X, toBlock: 'latest'}) the new transactions that sent ethers to your main ...


1

Try: const contract = await new web3.eth.Contract(JSON.parse(interface)) .deploy( { data:"0x"+bytecode} ) .send( { gas: '300000', gasPrice: 10, from:accounts[0]}); Otherwise please make sure that your accounts array includes actual values.


Only top voted, non community-wiki answers of a minimum length are eligible