Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

solidity-repl

> 编程语言
Open source

Ethereum Solidity REPL

393 stars0 likes4 views
WebsiteGitHub

About

Ethereum Solidity REPL

solidity repl

Installation

bash
# 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:

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

Usage

bash
# 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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptethereumsolidity

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言