greged93 / starknet-jsonrpc-codegen

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:Rust 100.0%