candid-extractor 0.1.1

CLI tool to extract candid definition from canister WASM.
candid-extractor-0.1.1 is not a library.

candid-extractor

A CLI tool to extract candid definition from canister WASM.

Installation

cargo install candid-extractor

Usage

candid-extractor path/to/canister.wasm

Update ic_mock.wat

candid-extractor requires a mock WASM (ic_mock.wat) which provides ic0 imports.

Such ic_mock.wat is directly generated from the system API.

When interface-spec releases a new version that modify ic0 system API:

  1. replace ic0.txt in the root of this project;
  2. execute cargo run --example=generate_mock_wat;

ic_mock.wat should be updated.