solidity-shell
Advanced tools
Changelog
v0.2.4
.config set etherscanApiKey <newApiKey>
(default: YourApiKeyToken
demo key) #25 #24Changelog
v0.2.2
.inspect
contract raw storage, show generated bytecode, opcodes, storageLayout - #23 .inspect
bytecode ... show bytecode of underlying contract
opcodes ... show disassembled opcodes of underlying contract
storageLayout ... show variable to storage slot mapping for underlying contract
storage <slot> <num> [<address>] ... show raw storage at slot of underlying deployed contract
deployed ... debug: show internal contract object
Changelog
v0.2.1
Changelog
v0.1.2
Changelog
v0.1.1
🚀 Entering interactive Solidity ^0.8.13 shell (🧁:Ganache built-in). '.help' and '.exit' are your friends.
» enum FreshJuiceSize{ SMALL, MEDIUM, LARGE }
» uint8(FreshJuiceSize.LARGE)
2
.config set <var> True|False|true|false
Changelog
v0.1.0
⚠️ pot. breaking changes: solidity-shell
now ships with ganache. use .chain set-provider
to switch chain providers. the built-in
ganache provider is used by default.
.chain
subcommand
.chain restart
- restarts the service (formerly known as .restartblockchain
).chain set-provider [fork-url]
- switch between the internal or an external ganache-cli
command or url-provider. Optionally specify a ganache fork-url.
.chain set-provider internal https://mainnet.infura.io/v3/yourApiKey
.chain accounts
- show ganache accounts.chain eth_<X> [args...]
- arbitrary eth JSONrpc method calls to blockchain provider.
.chain eth_accounts
returns the blockchain providers response to the eth_accounts
JSONrpc call.--fork
overrides fork-url option for internal ganache provider solidity-shell --fork https://mainnet.infura.io/v3/yourApiKey
.--reset-config
resets the config file.--show-config-file
prints the path to the config file.Changelog
v0.0.11
.restartblockchain
command to restart ganache e.g. after config changesChangelog
v0.0.10
.config
) - #112 ether
) - #12