/starknet-jsonrpc-codegen

Tool for generating the Starknet JSON-RPC code used in `starknet-rs`

Primary LanguageRustApache License 2.0Apache-2.0

Starknet JSON-RPC Codegen

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.4.0

and generated code will be emitted to stdout.

Supported spec versions

The following versions are supported:

  • 0.1.0
  • 0.2.1
  • 0.3.0
  • 0.4.0

License

Licensed under either of

at your option.