Creating new accounts

We will create new accounts for our new network. Note that an account is not tied to any specific chain, it's just a private/public key pair.

Change directory to the newly created folder Mytestnet and run the following commands:

geth account new --datadir nodeA
geth account new --datadir nodeB

Repeat the same command to get different accounts on both nodes that we will use to interact with the contract as bidders. Geth will print out the address for each user, so think of saving these addresses in a file, in order to use them later.

You can list the created account for node A or B by using geth account list --datadir  nodeA/nodeB:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset