An open API service indexing awesome lists of open source software.

https://github.com/xjonathanlei/starknet-jsonrpc-codegen

Tool for generating the Starknet JSON-RPC code used in `starknet-rs`
https://github.com/xjonathanlei/starknet-jsonrpc-codegen

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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:

```console
$ cargo run -- generate --spec 0.8.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`
- `0.5.1`
- `0.6.0`
- `0.7.1`
- `0.8.0`

## License

Licensed under either of

- Apache License, Version 2.0 ([LICENSE-APACHE](./LICENSE-APACHE) or )
- MIT license ([LICENSE-MIT](./LICENSE-MIT) or )

at your option.