Skip to content
项目

关于

Ethereum Solidity 交互式解释器。

商业与金融

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

solidity repl

npm version Build Status

REPL Screenshot

Installation

# requires local RPC client
$ npm install -g ganache-cli

# install
$ npm install -g solidity-repl

Dependending on your permissions, you may need a bigger hammer:

sudo npm install -g solidity-repl --unsafe-perm=true --allow-root

Usage

# Run RPC client on port 8545
$ ganache-cli

$ 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

Developer Notes

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

License

ISC

探索相关项目

加载中…