anchor-gen
Generates a crate for cross-program invocations to an Anchor program from a JSON IDL.
Usage
In a new crate, write:
!;
declare_id!;
generate_cpi_crate
This will generate a fully functional Rust CPI client for your IDL.
More examples can be found in the examples/ directory.
License: Apache-2.0