Git Product home page Git Product logo

ethconsolewallet's Introduction

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.

ethconsolewallet's People

Contributors

rusfearuth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ethconsolewallet's Issues

Add sending of custom value

Current release contains only sending all amount to another account.

We need to add option of sending custom value to another account.

For instance:

$ eth-console-wallet --send \
                     --from 0xMyAccount \
                     --to 0xAnotherAccount \
                     --value {value by default in ether} \
                     --password my_password

Custom command line options:

  • unit - ether/wei;
  • datadir - path to folder with wallet and configs.

Remove password option

I think to remove password option from CLI. Why? I think, It'll be more secure. If somebody get access to user terminal and have a look to history of commands, he will get access to wallet.

User will enter password manual if operation need password.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.