[Ethereum] Rookie: How to list accounts I’ve created

go-ethereum

I am new to Etherium, using Ubuntu CLI ,I was wondering how to properly manage accounts. I am trying to simply list the accounts I've created using the following syntax:

geth account list

Found at the following resource:
https://github.com/ethereum/go-ethereum/wiki/Managing-your-accounts
But the CLI returns the following info:

INFO [03-28|08:58:21] Maximum peer count ETH=25 LES=0 total=25

How do I return a list of accounts I've created? Better yet, a list of accounts and status (locked or unlocked)?
Thank you for your help!

Best Answer

Attach to your running geth process either by running in your current directory (where geth.ipc exists)

geth attach ./geth.ipc

Or running on the same machine

geth attach http://localhost:8545

And you will be presented with a console. Run in the console eth.accounts and your accounts should be listed

> eth.accounts
Related Topic