Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rusfearuth/ethconsolewallet
Lightweight console wallet for Ethereum
https://github.com/rusfearuth/ethconsolewallet
command-line-app ethereum lightweight wallet
Last synced: 29 days ago
JSON representation
Lightweight console wallet for Ethereum
- Host: GitHub
- URL: https://github.com/rusfearuth/ethconsolewallet
- Owner: rusfearuth
- License: apache-2.0
- Created: 2017-11-22T07:41:07.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2017-12-04T11:02:17.000Z (almost 7 years ago)
- Last Synced: 2024-08-08T22:53:14.531Z (3 months ago)
- Topics: command-line-app, ethereum, lightweight, wallet
- Language: JavaScript
- Size: 116 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
```bash
$ npm i --global eth-console-wallet
```or
#### Yarn
```bash
$ yarn global add eth-console-wallet
```### Create a new wallet
Now, you should create a new wallet.
```bash
$ eth-console-wallet --init --passwork MY_PASSWORD
```### Generate address
After, you created the wallet, you should create an address for getting ETH.
```bash
$ 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](https://etherscan.io) and add it to config.
```bash
$ eth-console-wallet --add --etherscan-token MY_ETHERSCAN_TOKEN
```Or, if you have your own node, you can run it with the next options:
```bash
$ geth --datadir PATH --syncmode fast --rpc --rpcapi="db,eth,net,web3,personal,web3"
```and you can add `rpcapi` to your wallet config:
```bash
$ eth-console-wallet --add --rpcapi http://address:port
```Now, you may get your account balance.
```bash
$ 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:
```bash
$ 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:
```bash
$ eth-console-wallet --withdraw-all --from 0xMyAddress --to 0xAnotherWallet --password MY_PASSWORD
```## Roadmap
* Add state for addresses
* Clean source codeIf you have any suggestions, you will be able to report about that by means [issue](https://github.com/rusfearuth/EthConsoleWallet/issues/new).