I am new to ethereum block-chain. I created a smart contract. I want to deploy it on test network(Rinkeby) with ethereum node(geth).I install geth on system.And connect with Rinkeby test network. Ethereum node(geth) connect successfully with Rinkeby. One place I got stuck. When I attach geth on second pane on terminal window with command geth attach.

In console I check my account list with geth.accounts so it is blank list.One thing I also mention I check in .ethereum directory in this keyStore directory also empty.

Why eth account list is blank??Where I am doing mistake.If is it possible I am doing mistake in ethereum geth installation??

  • Did you create any accounts to use on the test network after installing geth? And, have you tried using truffle, ganache or a local private network for testing before deploying to Rinkeby? – machine-uprising Jun 6 '18 at 12:17
  • Yes I have created account to use test network.I also get funded from (faucet.rinkeby.io) on requested account address.But eth.getBalance is 0 on geth console.Yes I successfully deploy smart contract on local private network(ganache) for testing.Then I tried to deploy smart contract on Rinkeby test network. – Anupam Jain Jun 6 '18 at 12:24
  • If you used geth to create the accounts did you specify the datadir parameter (eg, geth --datadir "your directory" account new) where you are storing the rinkeby chain data? – machine-uprising Jun 6 '18 at 12:57
  • Yes when I connect geth node to rinkeby network so I give 'ipc path' .I run command like this.(geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath "/home/anupam/.ethereum/geth.ipc).Geth node connect successfully.I saw the applied path during connectivity.Where is my chain data and keystore folder is empty.I think there should be my accounts private key – Anupam Jain Jun 6 '18 at 13:06
  • I create rinkeby account by this command geth --rinkeby account new. – Anupam Jain Jun 6 '18 at 13:13

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.