Solidity Shell Versions Save

An interactive Solidity Shell

v0.2.4

1 year ago

v0.2.4

  • new: configure an etherscan.io apiKey .config set etherscanApiKey <newApiKey> (default: YourApiKeyToken demo key) #25 #24

v0.2.3

1 year ago

v0.2.3

  • update: dependencies (solc to 0.8.17, abi-to-sol, ...)

v0.2.2

1 year ago

v0.2.2

  • new: inspection commands: .inspect contract raw storage, show generated bytecode, opcodes, storageLayout - #23
image
  .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

v0.2.1

1 year ago

v0.2.1

  • fix: feed current compiler version into abi-to-sol; strip attribution and other code #20 #21
  • update: compiler list
  • update: built-in solc -> 0.8.16

v0.2.0

1 year ago

v0.2.0

  • new: new command to fetch & load interface declaration from etherscan.io #19

shell-fetch-interface

v0.1.2

1 year ago

v0.1.2

  • fix: support require(), type, abstract, library
  • update: compiler list
  • update: built-in solc -> 0.8.15
  • update: dependencies

v0.1.1

1 year ago

v0.1.1

  • fix: return appropriate error message when trying to return an uninit storage pointer - #17
  • fix: support enums
🚀 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
  • fix: case insensitive bool match for .config set <var> True|False|true|false
  • update: dependencies

v0.1.0

2 years ago

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.

  • new: built in ganache provider
  • new: .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.
      • e.g. .chain eth_accounts returns the blockchain providers response to the eth_accounts JSONrpc call.
  • new: command line switches:
    • --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.
  • fix: better error handling. prevent vicious cycles where broken config trashes the app 🤦‍♂️
  • update: dependencies and solc references updated

v0.0.11

2 years ago

v0.0.11

  • new: configurable call and deploy gas
  • new: .restartblockchain command to restart ganache e.g. after config changes
  • fix: fixed returnval for some keywords
  • fix: show result for functions declaring multiple return vals
  • fix: naive fix to resolve function declarations for multi returnval function invocations.
image

v0.0.10

2 years ago

v0.0.10

  • new: update to [email protected]
  • new: basic autocomplete for built-ins (configurable via .config) - #11
  • fix: return value of unit constants (e.g. 2 ether) - #12
  • fix: distinguish between/ autoguess const signed and unsigned int return values - #12
  • update: minor refactoring - #11