eth-console-wallet
v0.2.0
Published
Lightweight console wallet for Ethereum
Downloads
15
Maintainers
Readme
Eth Console Wallet
This tool is used for creating wallet and allow to generate accounts for charging and sending ETH to another users. IMPORTANT: current release is alpha.
Getting started
First of all, you should install eth-console-wallet. You can do it by means the next command
Npm
$ npm i --global eth-console-wallet
or
Yarn
$ yarn global add eth-console-wallet
Create a new wallet
Now, you should create a new wallet.
$ eth-console-wallet --init --passwork MY_PASSWORD
Generate address
After, you created the wallet, you should create an address for getting ETH.
$ eth-console-wallet --generate --password MY_PASSWORD
If you want to create a bundle of addresses and manage them, you will need to add --count NUMBER and --output PATH to current command.
Getting balance
Before, you use this command, you will need to create MY_ETHERSCAN_TOKEN at Etherscan and add it to config.
$ eth-console-wallet --add --etherscan-token MY_ETHERSCAN_TOKEN
Or, if you have your own node, you can run it with the next options:
$ geth --datadir PATH --syncmode fast --rpc --rpcapi="db,eth,net,web3,personal,web3"
and you can add rpcapi
to your wallet config:
$ eth-console-wallet --add --rpcapi http://address:port
Now, you may get your account balance.
$ eth-console-wallet --balance --address 0xMyAddress
Send ETH
if you want to send some custom value from your account address to another, you will be able to use the next command:
$ eth-console-wallet --send --from 0xAddress1 --to 0xAddress2 --value SOME_VALUE_IN_ETHER --fee (low/medium/fast) --password MY_PASSWORD
if you want to send entire amount from your account address to another (fee will be max automatically), you will be able to use the next command:
$ eth-console-wallet --withdraw-all --from 0xMyAddress --to 0xAnotherWallet --password MY_PASSWORD
Roadmap
- Add state for addresses
- Clean source code
If you have any suggestions, you will be able to report about that by means issue.