@solana/kit
v6.8.0 (2026-04-10)
Minor Changes
-
[
@solana/errors,@solana/keys,@solana/signers] #153443bc570Thanks @lorisleiva! - AddgrindKeyPair,grindKeyPairs,grindKeyPairSigner, andgrindKeyPairSignersfor mining vanity key pairs whose base58-encoded public key matches aRegExpor a custom predicate. Supportsamountfor mining multiple key pairs,extractablefor forwarding to the underlyinggenerateKeyPaircall,concurrency(defaulting to32) for batched parallel key generation, andabortSignalfor cancellation. Regex matchers are statically checked for base58-alphabet violations at runtime (after stripping escapes, character classes, quantifiers, and groups) to catch common typos like/^sol0/. -
[
@solana/errors] #1526ffb7665Thanks @mcintyre94! - AddSOLANA_ERROR__WALLET__NOT_CONNECTEDerror code for when a wallet operation is attempted without a connected wallet. -
[
@solana/keys,@solana/signers] #1531d79f8d1Thanks @lorisleiva! - Add an optionalextractableargument togenerateKeyPairandgenerateKeyPairSigner. It defaults tofalse, preserving the existing secure-by-default behavior, but can be set totruewhen you need to export the generated private key bytes viacrypto.subtle.exportKey(). -
[
@solana/keys,@solana/signers] #1537fdfcb6cThanks @lorisleiva! - AddwriteKeyPairandwriteKeyPairSignerhelpers for persisting an extractable key pair to disk as a JSON byte array, matching the format produced bysolana-keygen. Missing parent directories are created automatically, and written files use mode0600. These helpers are Node-only and refuse to overwrite an existing file unless the caller setsunsafelyOverwriteExistingKeyPair: true. -
[
@solana/kit] #152809a7509Thanks @mcintyre94! - AddcreateReactiveStoreWithInitialValueAndSlotTracking(), a helper that combines an initial RPC fetch with an ongoing subscription into a singleReactiveStore. Uses slot-based comparison to ensure only the most recent value is kept, regardless of arrival order. The store state is aSolanaRpcResponse<TItem>. Compatible withuseSyncExternalStore, Svelte stores, and other reactive primitives. -
[
@solana/kit] #1536cec688eThanks @mcintyre94! - AddcreateAsyncGeneratorWithInitialValueAndSlotTracking, an async generator alternative tocreateReactiveStoreWithInitialValueAndSlotTrackingthat yields values from both an RPC fetch and an ongoing subscription, silently dropping any value at a slot older than the last seen. -
[
@solana/plugin-interfaces] #1530f8d6131Thanks @lorisleiva! - AddClientWithIdentityinterface for clients that provide a default identity signer. WhereasClientWithPayerdescribes the signer responsible for paying transaction fees and storage costs,ClientWithIdentitydescribes the signer whose assets the application is acting upon — such as the authority over accounts, tokens, or other on-chain assets owned by the current user. In many apps the payer and identity refer to the same signer, but they can differ when a service pays fees on behalf of a user. -
[
@solana/rpc-subscriptions-spec,@solana/subscribable] #1524f53ce07Thanks @mcintyre94! - AddReactiveStoretype andcreateReactiveStoreFromDataPublisher()to@solana/subscribable, and areactive()method to pending subscriptions in@solana/rpc-subscriptions-specthat returns a reactive store compatible withuseSyncExternalStore, Svelte stores, and other reactive primitives.
Patch Changes
- [
@solana/accounts,@solana/addresses,@solana/assertions,@solana/codecs,@solana/codecs-core,@solana/codecs-data-structures,@solana/codecs-numbers,@solana/codecs-strings,@solana/compat,@solana/errors,@solana/fast-stable-stringify,@solana/functional,@solana/instruction-plans,@solana/instructions,@solana/keys,@solana/kit,@solana/nominal-types,@solana/offchain-messages,@solana/options,@solana/plugin-core,@solana/plugin-interfaces,@solana/program-client-core,@solana/programs,@solana/promises,@solana/rpc,@solana/rpc-api,@solana/rpc-graphql,@solana/rpc-parsed-types,@solana/rpc-spec,@solana/rpc-spec-types,@solana/rpc-subscriptions,@solana/rpc-subscriptions-api,@solana/rpc-subscriptions-channel-websocket,@solana/rpc-subscriptions-spec,@solana/rpc-transformers,@solana/rpc-transport-http,@solana/rpc-types,@solana/signers,@solana/subscribable,@solana/sysvars,@solana/transaction-confirmation,@solana/transaction-messages,@solana/transactions,@solana/wallet-account-signer,@solana/webcrypto-ed25519-polyfill] #1532667a0f0Thanks @mcintyre94! - Update the TypeScript peer dependency from^5.0.0to>=5.0.0to allow TypeScript 6 and above.