A Ethereum command-line wallet built with ethers.js. This wallet lets you check balances and send ETH using a terminal interface.
- Check the ETH balance of any address
- Send ETH from your wallet to another address
- Uses environment variables for secure key and RPC management
- Clone the repo
git clone https://github.com/DappCoderr/ether-cli-wallet.git
cd ether-cli-wallet
- Install dependencies
npm i
- Set up environment variables
Create a .env
file in the root of the project:
RPC_PROVIDER=your_rpc_url_here
PRIVATE_KEY=your_private_key_here
Run the wallet from the terminal:
node src/index.js
Follow the prompts:
Welcome to the ether-cli-wallet
Your address is: 0x...
What do you want to do?
1. Check balance
2. Send ETH
>
- Enter any Ethereum address to see its balance in ETH.
- Provide the recipient address and the amount of ETH to send the transaction.
- You’ll get the transaction hash once it's confirmed.
Feel free to fork, contribute, or use it however you'd like.