eth-cli
A collection of CLI tools to help with ethereum learning and development.
Last updated 3 months ago by fvictorio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eth-cli 
SYNC missed versions from official npm registry.

eth-cli

A CLI swiss army knife for Ethereum developers

Donate with Ethereum

Build Status NPM version MIT licensed dependencies Status devDependencies Status

Why use it?

eth-cli allows you to fetch data from the blockchain, start an interactive REPL connected to some node, call methods on deployed contracts, and more, all at the comfort of your command line. Checkout the examples below for more information or check the full list of commands.

Table of Contents

Installation

Install it globally:

npm install -g eth-cli

You can also try it with npx:

$ npx eth-cli repl --mainnet erc721@0x06012c8cf97bead5deae237070f9587f8e7a266d
> erc721.methods.name().call()
'CryptoKitties'

Demo

Check this screencast to see it in action.

Examples

There are a lot of things that you can do with eth-cli, and we keep adding more. These are some of our favorites:

Fetch data from the blockchain

Use commands like block:number, tx:get and address:balance to get information from the blockchain.

Fetch data from the blockchain

more examples

Autocomplete

eth-cli supports some basic autocompletion, generated with completely.

The completion directory has a bash completion script (eth-completion.bash) and a zsh completion script (_eth). If you use bash, download the script and source it in your bashrc. If you use zsh, download the script and put it in some directory in your fpath.

Sibling projects

  • Solhint: A linter for the Solidity language.

Back us

eth-cli is free to use and open-sourced. If you value our effort and feel like helping us to keep pushing this tool forward, you can send us a small donation. We'll highly appreciate it :)

Donate with Ethereum

Credits

Table of Contents generated with DocToc

Current Tags

  • 2.0.1                                ...           latest (3 months ago)
  • 2.0.0-beta-6                                ...           next (7 months ago)

51 Versions

  • 2.0.1                                ...           3 months ago
  • 2.0.0-rc.4                                ...           6 months ago
  • 2.0.0-rc.3                                ...           6 months ago
  • 2.0.0-rc.2                                ...           7 months ago
  • 2.0.0-rc.1                                ...           7 months ago
  • 2.0.0-beta-6                                ...           7 months ago
  • 2.0.0-beta-5                                ...           7 months ago
  • 2.0.0-beta-4                                ...           8 months ago
  • 1.5.0                                ...           8 months ago
  • 2.0.0-beta-3                                ...           8 months ago
  • 2.0.0-beta-2                                ...           8 months ago
  • 2.0.0-beta-1                                ...           8 months ago
  • 1.4.0                                ...           9 months ago
  • 1.3.0                                ...           10 months ago
  • 1.2.0                                ...           10 months ago
  • 1.1.0                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0-alpha-7                                ...           10 months ago
  • 1.0.0-alpha-6                                ...           10 months ago
  • 1.0.0-alpha-5                                ...           10 months ago
  • 1.0.0-alpha-4                                ...           a year ago
  • 1.0.0-alpha-3                                ...           a year ago
  • 1.0.0-alpha-2                                ...           a year ago
  • 1.0.0-alpha-1                                ...           a year ago
  • 0.8.0                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.4                                ...           2 years ago
  • 0.6.3                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.6                                ...           2 years ago
  • 0.5.5                                ...           2 years ago
  • 0.5.4                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (19)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |