Expand description
§Anchor Utils
Utility functions for simplifying Anchor framework development on Solana.
This crate provides helper functions that make it easier to work with Anchor programs, particularly when creating instructions from Anchor’s generated client code.
§Features
- Simplified instruction creation: Convert Anchor’s generated structs directly to Solana instructions
- Type-safe interface: Leverages Anchor’s type system for compile-time safety
- Zero overhead: Minimal abstraction layer with no runtime cost
Functions§
- anchor_
instruction - Creates a new Anchor instruction from the generated
declare_program!
client structs