Coder Social home page Coder Social logo

gbalabasquer / seth Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dapphub/seth

0.0 2.0 0.0 164 KB

Perform Ethereum JSON-RPC calls from the comfort of your command line

License: Other

Makefile 1.35% Shell 88.58% Nix 1.20% JavaScript 8.88%

seth's Introduction

NAME
   seth -- perform Ethereum tasks from the comfort of your command line

SYNOPSIS
   seth [<options>] <command> [<args>]
   seth <command> --help

INSTALLATION
   make link       install seth(1) into /usr/local
   make unlink     uninstall seth(1) from /usr/local

DEPENDENCIES
   curl(1)         https://curl.haxx.se/
   ethabi(1)       https://github.com/ethcore/ethabi/
   jshon(1)        https://github.com/mbrock/jshon/

DOCUMENTATION
   We are working on putting together a manual for Seth.  Meanwhile, feel
   free to ask in <https://dapphub.chat> if you need help with anything.

COMMANDS
   abi             convert an ABI from Solidity syntax to JSON form
   age             show the age of the last block relative to now
   balance         show the balance of any account on the blockchain
   block           print a table of information about a specific block
   call            call a contract without updating the blockchain
   calldata        pack a signature and a list of arguments into calldata
   chain           print the symbolic name of the current blockchain
   code            print the bytecode of an object on the blockchain
   date            invoke date(1) with the timestamp of a certain block
   estimate        estimate how much gas a transaction is likely to use
   help            print help about seth(1) or one of its subcommands
   keccak          print the Keccak hash of an arbitrary piece of data
   logs            print the transaction logs of some contract
   ls              display a list of your local accounts and balances
   nonce           show the number of transactions sent from an address
   publish         publish an already-signed transaction to the blockchain
   receipt         wait for a transaction receipt to appear and print it
   seconds         print the age of the latest block in seconds
   send            sign and publish a transaction to the blockchain
   sign            sign arbitrary data with one of your account keys
   storage         show the value of a storage slot on the blockchain
   tx              print a table of information about a transaction

OPTIONS
   -B, --block=<number>       block number (default: `latest')
   -F, --from=<sender>        account to send transaction from
   -G, --gas=<number>         number of units of gas to provide
   -V, --value=<amount>       amount of money to send (e.g. `0.1 ETH')

   --gas-price=<amount>       price of each gas unit (e.g. `20 Gwei')

   -h, --host=<host>          RPC endpoint host (default: `localhost')
   -p, --port=<port>          RPC endpoint port (default: `8545')

   -j, --json-output          print raw JSON to standard output
   -s, --silent               suppress standard error logging output

SPECIAL COMMANDS
   --from-ascii               convert text data into hexdata
   --from-bin                 convert binary data into hexdata
   --to-bytes32               convert hexdata into bytes32 form 
   --to-uint256               convert a number into uint256 form 
   --to-wei                   convert an ETH or Gwei value into wei

Report bugs to <https://github.com/dapphub/seth/issues/new>.

seth's People

Contributors

dbrock avatar apmilen avatar karlfloersch avatar

Watchers

James Cloos avatar Gonzalo Balabasquer avatar

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.