3 releases
0.1.2 | Jun 23, 2024 |
---|---|
0.1.1 | Jan 4, 2024 |
0.1.0 | Jan 3, 2024 |
#33 in #anchor
6KB
simple-anchor-idl-ts
A tool for generating a TS file from a lone Anchor IDL JSON file.
Creates a type and an object for the IDL. Lower camel cases the account names.
Usually this TS file is generated when building an Anchor repo. https://github.com/coral-xyz/anchor/blob/master/cli/src/rust_template.rs#L222
Sometimes you just have another project's JSON file and want a TS file for your client.
Dependencies
~3–4.5MB
~85K SLoC