Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 604 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 604 Bytes

Cainome CLI

Cainome CLI tool.

This tools is still in early development.

How to build

cargo install --git https://github.com/cartridge-gg/cainome --features="build-binary"

or locally:

cargo build

How to use

Quick usage overview of the binary.

  1. To generate bindings from a local artifacts path:

    cainome --artifacts-path /path/target/dev --output-dir /tmp --rust
    
  2. 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