Tool for generating the Starknet JSON-RPC code used in starknet-rs. Starknet specs are shipped with this repo so it should work out of the box.
Run the tool and choose which version of the specification to use:
$ cargo run -- generate --spec 0.10.0-rc.1and generated code will be emitted to stdout.
The following versions are supported:
0.1.00.2.10.3.00.4.00.5.10.6.00.7.10.8.10.9.00.10.0-rc.1
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.