pinax-network / substreams-antelope

Substreams for Antelope
https://docs.rs/substreams-antelope
Apache License 2.0
1 stars 1 forks source link

Rust Abigen for Antelope #9

Closed YaroShkvorets closed 11 months ago

YaroShkvorets commented 1 year ago

Generates contract structres and decoding helper functions. Usage:

Abigen::new("Contract", "abi/contract.abi.json")?
        .generate()?
        .write_to_file("src/abi/contract.rs")?;

Similar to what antelope-abi2rs is doing but need to re-think contract structs and methods