coral_xyz_codegen 1.0.0-beta.9 copy "coral_xyz_codegen: ^1.0.0-beta.9" to clipboard
coral_xyz_codegen: ^1.0.0-beta.9 copied to clipboard

Code generation for coral_xyz — generates typed Dart clients from Anchor/Quasar IDL files using build_runner.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0-beta.9 - 2026-03-28 #

Added #

  • Initial standalone release, extracted from coral_xyz main package
  • AnchorGenerator — core GeneratorForAnnotation<AnchorProgram> that loads IDL and dispatches to sub-generators
  • ProgramGenerator — generates typed program classes with instruction methods
  • AccountGenerator — generates account data classes with Borsh serialization, equality, and hashCode
  • InstructionGenerator — generates instruction builders with account configs, rpc(), simulate()
  • ErrorGenerator — generates typed error classes with code-to-instance mapping
  • TypeGenerator — generates struct classes and enum types from IDL type definitions
  • anchorBuilder and anchorPartBuilder entry points for build_runner

Changed #

  • Dart SDK constraint set to ^3.9.0
  • Depends on coral_xyz: ^1.0.0-beta.9 (published version, no longer path dependency)
0
likes
140
points
91
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Code generation for coral_xyz — generates typed Dart clients from Anchor/Quasar IDL files using build_runner.

Topics

#solana #anchor #codegen #blockchain

License

MIT (license)

Dependencies

analyzer, build, coral_xyz, path, source_gen

More

Packages that depend on coral_xyz_codegen