Skip to content

ethdbg/solidity-repl

 
 

Repository files navigation

solidity repl

REPL Screenshot

Installation

# TestRPC must be installed and run globally now since TestRPC.provider() does not work
$ npm install -g ethereumjs-testrpc

$ npm install -g solidity-repl

Usage

$ testrpc

$ solr
Welcome to the Solidity REPL!
> uint a = 10
> uint b = 20
> a + b
30
> msg.sender
0x2f42491c0a08e4bc0cd3d5a96533a69727e16911

Help Wanted

Here are some features that are great candidates for pull requests! Start an issue to let me know you are working on it.

  1. Make it work in the browser!
  2. Fix 1 ether
  3. Fix this
  4. Add support for function declarations.
  5. Add up and down arrow
  6. Add yargs for cli help.

Developer Notes

  • bignumber.js is included because it is missing from a dependency

License

ISC

Packages

No packages published

Languages

  • JavaScript 100.0%