All Projects β†’ protofire β†’ Eth Cli

protofire / Eth Cli

Licence: mit
CLI swiss army knife for Ethereum developers

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Eth Cli

Pantheon
An enterprise-grade Java-based, Apache 2.0 licensed Ethereum client
Stars: ✭ 383 (+251.38%)
Mutual labels:  blockchain, ethereum, cli
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies πŸš€
Stars: ✭ 2,912 (+2571.56%)
Mutual labels:  blockchain, ethereum, cli
My Token
πŸ“ˆTrack token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (+29.36%)
Mutual labels:  blockchain, ethereum, cli
Whale
πŸ‹ Show Ethereum and Bitcoin price in command line interface (CLI).
Stars: ✭ 81 (-25.69%)
Mutual labels:  blockchain, ethereum, cli
Solidity
Solidity, the Smart Contract Programming Language
Stars: ✭ 13,691 (+12460.55%)
Mutual labels:  blockchain, ethereum
Cryptocurrency Cli
πŸ’° Cryptocurrency Portfolio On The Command Line πŸ’°
Stars: ✭ 99 (-9.17%)
Mutual labels:  ethereum, cli
Masterblockchain
Stars: ✭ 100 (-8.26%)
Mutual labels:  blockchain, ethereum
Diadata
DIAdata.org platform
Stars: ✭ 103 (-5.5%)
Mutual labels:  blockchain, ethereum
Etherwalletkit
Ethereum Wallet Toolkit for iOS - You can implement an Ethereum wallet without a server and blockchain knowledge.
Stars: ✭ 96 (-11.93%)
Mutual labels:  blockchain, ethereum
Awesome Cryptocurrency Security
😎 Curated list about cryptocurrency security (reverse / exploit / fuzz..)
Stars: ✭ 102 (-6.42%)
Mutual labels:  blockchain, ethereum
Hydro Scaffold Dex
A Decentralized Exchange Scaffold - launch a DEX in minutes
Stars: ✭ 112 (+2.75%)
Mutual labels:  blockchain, ethereum
Eth Indexer
An Ethereum project to crawl blockchain states into database
Stars: ✭ 98 (-10.09%)
Mutual labels:  blockchain, ethereum
Uniswap Interface
πŸ¦„ An open source interface for the Uniswap protocol
Stars: ✭ 1,337 (+1126.61%)
Mutual labels:  blockchain, ethereum
Superblocks Lab
Superblocks Lab for DApp development
Stars: ✭ 100 (-8.26%)
Mutual labels:  blockchain, ethereum
Blockshell
πŸŽ‰ Minimal Blockchain Learning CLI
Stars: ✭ 1,348 (+1136.7%)
Mutual labels:  blockchain, cli
Indy Leaderboard
Example game leaderboard dApp utilizing EbakusDB on Ebakus blockchain
Stars: ✭ 103 (-5.5%)
Mutual labels:  blockchain, ethereum
Truffle
A tool for developing smart contracts. Crafted with the finest cacaos.
Stars: ✭ 11,909 (+10825.69%)
Mutual labels:  blockchain, ethereum
Learn Solidity With Examples
A repo full of smart contracts written in Solidity
Stars: ✭ 106 (-2.75%)
Mutual labels:  blockchain, ethereum
Blockapi
A general framework for blockchain analytics
Stars: ✭ 111 (+1.83%)
Mutual labels:  blockchain, ethereum
Vscode Azure Blockchain Ethereum
Blockchain extension for VS Code
Stars: ✭ 111 (+1.83%)
Mutual labels:  blockchain, ethereum

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 [email protected]
> 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.

Init file

If you want to have some helper variables or functions in your REPL, you can create an init file that will be loaded every time you use eth repl. Just create a file called .eth_cli_repl_init.js in your home directory. For example, if you create it with some content like:

module.exports = function(context) {
  context.toWei = x => context.web3.utils.toWei(x.toString())
  context.fromWei = x => context.web3.utils.fromWei(x.toString())
}

you will have toWei and fromWei as global functions in the REPL.

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].