solana_sdk 0.1.1 copy "solana_sdk: ^0.1.1" to clipboard
solana_sdk: ^0.1.1 copied to clipboard

A pure Dart Solana client library for keys, transactions, programs, and JSON-RPC/WebSocket access.

0.1.1 #

  • Fixed the Vote Program vote instruction ABI and introduced the Vote value type used by VoteProgram.vote.
  • Added support for the current durable nonce account layout and preserved the original message bytes when deserializing legacy transactions.
  • Fixed stake lockup epoch decoding across the complete Solana u64 range.
  • Enforced the v1 message 4096-byte limit and tightened legacy account index, signer, token account, mint, and binary layout validation.
  • Preserved u64 RPC values without precision loss. AccountInfo now exposes lamportsBigInt and rentEpochBigInt for the complete range.
  • Added automatic WebSocket reconnection and restoration of active subscriptions, including fixes for subscribe/unsubscribe races.
  • Tightened JSON-RPC response validation for protocol version, request IDs, batch responses, and malformed payloads.

Compatibility notes #

  • VoteProgram.vote now accepts a Vote object containing slots, bank hash, and an optional timestamp.
  • Lockup.epoch now returns BigInt; its constructor continues to accept either int or BigInt.
  • The minimum supported Dart SDK is now 3.2, matching the package's runtime dependencies and documented requirements.

0.1.0 #

  • Added Solana BIP-44 derivation paths and SLIP-0010 Ed25519 key derivation from seed bytes.
  • Added RPC helpers for health, snapshot slots, max retransmit/shred insert slots, and token accounts by delegate.
  • Added parsed token accounts by delegate and versioned transaction durable nonce detection helpers.
  • Added Solana-style message and versioned transaction sanitize() helpers.
  • Added structured sanitize exceptions, per-signature verification, verify-and-hash helpers, and durable nonce account lookup.
  • Added SIMD-0385 v1 message support, including transaction config fields, versioned transaction wrapping, RPC version parsing, and fee lookup helpers.
  • Prepared package metadata for open-source publication.
  • Lowered runtime dependency constraints where compatible with the current implementation.
  • Added public RPC export coverage tests.
  • Kept JSON-RPC request content type stable across supported http versions.
2
likes
140
points
107
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A pure Dart Solana client library for keys, transactions, programs, and JSON-RPC/WebSocket access.

Repository (GitHub)
View/report issues

Topics

#solana #blockchain #web3 #rpc #crypto

License

MIT (license)

Dependencies

base_x, crypto, ed25519_edwards, es_compression, http, json_bigint, secp256k1_ecdsa, web_socket_channel

More

Packages that depend on solana_sdk