solana_kit_anchor 0.9.3 copy "solana_kit_anchor: ^0.9.3" to clipboard
solana_kit_anchor: ^0.9.3 copied to clipboard

Anchor program runtime for Solana Kit Dart — discriminators, Anchor IDL parsing, and dynamic account and event codecs.

Changelog #

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

This changelog is managed by monochange.

0.9.3 - 2026-09-12 #

Changed #

  • No package-specific changes were recorded; solana_kit_anchor was updated to 0.9.3 as part of group main.

0.9.2 - 2026-09-06 #

🐛 Fixed #

Validate Anchor and Pyth event data

Validate Anchor event provenance against the IDL program's runtime invocation stack, ignoring foreign-program and embedded-message event forgeries. Bound Hermes price conversion work for extreme untrusted exponents to prevent application stalls.

Preserve all 64 bits of unsigned Pyth confidence and slot fields so large confidence intervals cannot become negative and bypass application upper-bound checks.

Owner: @ifiokjr · Review: PR #238

Restore Anchor runtime error compatibility

Align the standard Anchor error table with anchor-lang 0.31.1 so errors returned by deployed Anchor programs resolve to the correct code, name, and message.

Add live Surfpool compatibility coverage for Anchor, Metaplex Core, Metaplex Token Metadata, Squads V4, RPC subscriptions, transaction introspection, lookup tables, instruction plans, and transaction immutability.

Owner: @ifiokjr · Review: PR #243

0.9.1 - 2026-08-30 #

🐛 Fixed #

Fix publish validation for ecosystem packages

Declare the meta and solana_kit_accounts dependencies that the generated Squads and mpl-token-metadata clients import, so dart pub publish validation passes, and normalize readme.md to README.md across the ecosystem packages to satisfy the pub README requirement.

Owner: Ifiok Jr. · Introduced in: a53391f

0.9.0 - 2026-08-30 #

💥 Breaking Change #

Support Anchor programs in Dart

Add the Anchor runtime package: Anchor sighash discriminators (sha256("namespace:name")[0..8]), Anchor IDL 0.30 parsing, a dynamic coder that builds account, instruction, and event codecs from an IDL at runtime, a pure-Dart SHA-256, and Anchor error resolution against the standard table plus program-defined IDL errors. Generic IDL type instantiations are rejected at codec-build time.

import 'package:solana_kit_anchor/solana_kit_anchor.dart';

final idl = AnchorIdlProgram.parse(idlJson);
final coder = AnchorCoder(idl);
final args = coder.encodeInstructionData('initialize', {
  'authority': authorityAddress,
});

Owner: @ifiokjr · Review: PR #227

0
likes
150
points
311
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Anchor program runtime for Solana Kit Dart — discriminators, Anchor IDL parsing, and dynamic account and event codecs.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

solana_kit_addresses, solana_kit_codecs, solana_kit_codecs_core, solana_kit_codecs_data_structures, solana_kit_codecs_numbers, solana_kit_codecs_strings, solana_kit_errors

More

Packages that depend on solana_kit_anchor