Skip to content

DappCoderr/ether-cli-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ether-cli-wallet

A Ethereum command-line wallet built with ethers.js. This wallet lets you check balances and send ETH using a terminal interface.

Features

  • Check the ETH balance of any address
  • Send ETH from your wallet to another address
  • Uses environment variables for secure key and RPC management

Installation

  1. Clone the repo
git clone https://github.com/DappCoderr/ether-cli-wallet.git
cd ether-cli-wallet
  1. Install dependencies
npm i
  1. 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

Use a service like Alchemy or Infura to get an RPC URL.

Usage

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
>

Check Balance

  • Enter any Ethereum address to see its balance in ETH.

Send ETH

  • Provide the recipient address and the amount of ETH to send the transaction.
  • You’ll get the transaction hash once it's confirmed.

Built With

Feel free to fork, contribute, or use it however you'd like.

About

CLI wallet built with ethers.js to check balances and send ETH.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published