subwasm

Subwasm is a cli utility to look inside a Substrate WASM Runtime. It can inspect and compare the metadata of Substrate based runtimes such as Polkadot or Kusama.

MIT License

Downloads
26.9K
Stars
58
Committers
13

Bot releases are visible (Hide)

subwasm - v0.7.0

Published by chevdor over 3 years ago

  • add blake2-256 hash
  • add IPFS hash
  • add --chain flag to the diff and metadata commands
  • add a logger
subwasm - v0.5.0

Published by chevdor over 3 years ago

  • add a --chain flag to simply usage for get and info
  • add demos (gif)
  • workaround for a Rust stdio bug that occurs when piping the output to a command such as head
subwasm - v0.6.0

Published by chevdor over 3 years ago

Besides some cleanup, this version introduces changes related to the options and flags you can pass to the cli.

  • many of the named flags have been removed. For instance subwasm diff -a r1.wasm -b r2.wasm now becomes subwasm diff r1.wasm r2.wasm, subwasm get --url http://foo:9933 becomes subwasm get http://foo:9933.
  • new root level flag: --json will allow producing json output. This changes the behavior of the ìnfo` command
subwasm - v0.3.0

Published by chevdor over 3 years ago

Add a LoggerMock to allow decoding runtimes with logging enabled.

subwasm - v0.4.0

Published by chevdor over 3 years ago

  • new option aliases: --in for --input, --out for --output
  • improved the data reported by the info command
  • new diff command allowing to compare local and onchain runtimes
subwasm - v0.2.0

Published by chevdor over 3 years ago

This version mainly gets rid of our mini rpc-client and switches to using jsonrpsee.

  • the metadata command is now aliased to meta so users can use both
  • rpc-client has been removed and replaced by jsonrpsee
  • using WebSockets is now supported
  • the nighlty requirements have been removed, the project now builds on rust stable

MacOS users can install using Homebrew:

brew tap chevdor/subwasm
brew install subwasm
subwasm - v0.1.0

Published by chevdor over 3 years ago

The first published version. You can install with:

cargo +nightly install --git https://gitlab.com/chevdor/subwasm

Check out the README for more details and the currently supported features.