How to import an account to geth?

Create some file name having your private key

Use the following command

geth account import <filename.key>

Specify your password

Attach with geth

geth attach

Now view the accounts

eth.accounts

View balance of some account
eth.getBalance('0xaaCC95676c5A8EFa514889bEB8b32eff2124603e')


Comments

Popular posts from this blog

Using Node Version Manager (NVM)

Sample Solidity Smart Constract Code for University Certificates