ethabi icon indicating copy to clipboard operation
ethabi copied to clipboard

write docs for derive and contract crates

Open debris opened this issue 8 years ago • 2 comments

debris avatar Aug 23 '17 09:08 debris

This could really help me out as I've been exploring how to use this functionality for https://github.com/ethpm/ethpm-rs

So far I figured out this:

#[derive(EthabiContract)]
#[ethabi_contract_options(path = "MyContract.abi")] // Note: relative to build location
struct MyContract;

Haven't figured out how I am actually supposed to use the struct lol

fubuloubu avatar Jul 22 '19 23:07 fubuloubu

This has been helpful for me: https://github.com/openethereum/ethabi/blob/master/tests/src/lib.rs

BlinkyStitt avatar Mar 30 '20 20:03 BlinkyStitt