Utility that uses wasmer to show exported function names from wasm files.
To build the binary and add it to ~/.cargo/bin/
:
$ git clone https://github.com/chikai-io/wasmer-exports.git
$ cd wasmer-exports
$ cargo install --path .
From a wasm file:
$ wasmer-exports /path/to/file.wasm
file: /home/thiago-keyko/r/near/examples/rust-fungible-token/res/fungible_token.wasm
new
set_allowance
transfer_from
transfer
get_total_supply
get_balance
get_allowance
Recursively show from wasm files from the current directory:
$ wasmer-exports -r .