February 2019
Intermediate to advanced
450 pages
9h 59m
English
In the next section, we are going to connect to a smart contract with web3. Here's how to deploy a smart contract to the Rinkeby blockchain:
$ ./geth --rinkeby --verbosity 0 console
In the geth console, list all of your accounts with Geth software:
> eth.accounts["0x8b55f0a88a1c53a8976953cde4f141752e847a00", "0x1db565576054af728b46ada9814b1452dd2b7e66", "0x28f5b56b035da966afa609f65fd8f7d71ff68327", "0x5b0d65b07a61c7b760bf372bbec1b3894d4b0225", "0x99fb2eee85acbf878d4154de73d5fb1b7e88c328"]
All of these accounts come from the keystore files you created with this command: personal.newAccount("password"). Say you want to unlock the first account, then you can use the personal.unlockAccount method:
> personal.unlockAccount(eth.accounts[0], ...
Read now
Unlock full access