Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 code

If you have any suggestions, you will be able to report about that by means [issue](https://github.com/rusfearuth/EthConsoleWallet/issues/new).