solana-idl-converter

Crates.iosolana-idl-converter
lib.rssolana-idl-converter
version0.2.0
sourcesrc
created_at2024-06-19 17:35:01.65594
updated_at2024-07-17 14:22:33.867521
descriptionConverts Rust Solana Classic IDL types definitions de/serializable with serde from various IDL formats.
homepagehttps://github.com/thlorenz/solana-idl
repositoryhttps://github.com/thlorenz/solana-idl
max_upload_size
id1277218
size46,410
Thorsten Lorenz (thlorenz)

documentation

README

Solana IDL Converter

Converts different IDL formats to a common classic IDL format.

Warning

Not all parts of the new formats can be properly converted to the classic one, thus use this with care.

Specifically IDL instruction discriminants had a single u8 (who has more than 256 instructions?) but the new anchor format uses a Vec<u8> instead.

Usage

Please refer to the tests for examples on how to use this.

LICENSE

MIT

Commit count: 12

cargo fmt