Skip to content

AlanVerbner/web3-repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WEB3-REPL

This REPL allows to connect to a running ETC/ETH node via HTTP RPC. It's a simple NodeJs REPL wrapper with web3.js included.

Features:

  • web3 API
  • Geth management methods
  • status() function is exposed in global as helper in order to get useful information about the server node
  • ethereumjs-util exported as util
  • NodeJs Repl history saved to a file

sample

How to install

yarn global add web3-repl (or npm install --global web3-repl)

Usage

  Usage: web3-repl [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -p, --provider [url]  Web3JS RPC provider
    -s, --skip-status     Does not show status after bootstrap
    -hf, --history-file [path]  File path of commands history file (defaults to $HOME/.web3_repl_history)

TODO

  • Expose Parity admin methods
  • Expose Mantis custom methods
  • (Investigate) Web3@1.0.0 upgrade