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

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


1

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.


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

In theory once a transaction hash is given it stays forever. However in the case of testnets the rule of thumb is that you should never rely on something staying forever. They are called test nets for a reason. They may get screwed up (and have been screwed up many times in the past) for whatever test reasons. Typically they get screwed due to a test of an ...


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