Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

New answers tagged


That's because they are not the same thing. When you execute the getCode(...) function, you get the deployed bytecode of a specific address, as the docs says. The bytecode on the blockchain is the result of the execution of the compiled bytecode of your contract, which includes initialization code. About the contract you provide, which is verified: await ...


rinkeby is a public test network. If you type geth help, you'll see a number of public networks you can connect to, such as rinkeby, ropsten, goerli public test networks. If you don't specify a network, geth will connect to the public main net. You can check the Private Network Tutorial to see how to set up and connect to a private network.


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 ...


To answer the first part of your first question: Are all ERC-20 token transfers are listed with the "0xddf252..." sha3 hash, and would the below code suffice for accurately capturing those transfers? As far as I know, the ERC20 standard dictates the prototype of the transfer function, but it doesn't dictate the prototype of the Transfer event (or even ...

Top 50 recent answers are included