Cainome CLI tool.
This tools is still in early development.
cargo install --git https://github.com/cartridge-gg/cainome --features="build-binary"
or locally:
cargo build
Quick usage overview of the binary.
-
To generate bindings from a local artifacts path:
cainome --artifacts-path /path/target/dev --output-dir /tmp --rust
-
To fetch ABI from a chain, the name of the contract must be given:
cainome --contract-address 0x1234.. --contract-name MyContract --rpc-url https://node.url --output-dir /tmp --rust