What to assess and decide before you move off durable nonces.
Introduction
Solana is deprecating durable nonces, which allow signed transactions to remain valid while awaiting approval or broadcast. If your systems rely on them for offline signing or multi-step approvals, you’ll need to understand what this change means for your existing workflows and prepare for a replacement.
This guide outlines the key considerations for teams preparing to migrate away from this mechanism. We’ll cover how to identify existing dependencies, document your requirements, and understand the potential impact on surrounding systems.
Read -> Solana: Durable Nonce Deprecation
1. Map your durable nonce dependencies
Durable nonces allow Solana transactions to remain valid beyond the normal blockhash validity window, which is about 30 seconds after a transaction is built [1]. That’s fine for a wallet sending a payment, but not for an approval process where a transaction is signed in an air-gapped room and broadcast hours later.
A durable nonce removes that time constraint, allowing a signed transaction to remain valid until you’re ready to send it. If your signing happens offline or passes through a multi-step approval process that takes longer than that window, you’re almost certainly relying on durable nonces today, even if your team doesn’t refer to them by name.
Core developers have committed to keeping durable nonces working until a replacement is audited, live on mainnet, and a reasonable migration period has passed.
Durable Nonce Dependency Assessment
Start by mapping where durable nonces are used across your operations. The following questions can help identify workflows that may depend on nonce accounts.
- Do you have withdrawals that pass through offline or air-gapped approval before broadcast?
- Do you have treasury operations that require signatures from keyholders in different locations?
- Do you use durable nonces for staking operations, including delegating, deactivating, or withdrawing from stake accounts? (Staking workflows may have additional migration constraints.)
- Do you use durable nonces for mint administration, such as freezing or thawing tokens, or changing authorities on tokens you issue?
- Do you have any other workflows where signing and broadcast are separated by minutes or days?
It’s important to understand this transition as more than an SDK swap. Be sure to review pre-signed transactions, signer schemes, programs or partners that restrict CPI execution, and dependencies on indexers, RPC providers, and signing tools.
These dependencies can determine what needs to change and what must be validated first. We’ll review more on that in the next section.
2. Define your migration requirements
Before reviewing replacement options, consider what your current setup needs to support. The following areas highlight important differences between implementations and the requirements that may influence your choice.
-
Key types and signing hardware
What keys do you sign with today? Solana’s native key type is Ed25519, which is used by Programmatic Signer today. It may support more over time, as well.
Vector already handles other types, including secp256k1, Ethereum-style keys (EIP-191), and the post-quantum schemes Falcon-512 and Hawk-512 [4].
-
Approval policy
How many people approve an action, and what do they need to see before signing? With Programmatic Signer, approvers sign a standard Solana transaction, so the offline signing tools you already use, including hardware wallets, can display and verify what they’re approving.
With Vector, an approver signs a 32-byte digest. Your signing workflow must independently verify that digest against the intended instructions before approval; without that capability, approvers may lack a reliable way to inspect what they are signing [4].
-
Concurrency
How many independent transactions do you need in flight at the same time? Vector keeps one active nonce per account, so running several in parallel means setting up several identities [4]. Programmatic Signer allows multiple nonce accounts under one authority, so parallel flows can run under a single cold key.
-
Cancellation and expiry
Do your controls need to cancel a signed message, let it expire, or both? In both designs, a signed message stays valid until it’s used or cancelled, unless you build a deadline into it [1]. You cancel by advancing the nonce, which voids any message still signed against the old value.
Separately, you can pre-sign a run of messages that each execute only after the one before it lands, since every message is chained to the nonce the previous one leaves behind [4]. A deadline is the other option. This will cap how long a message stays usable on its own.
Cancelling can collide with a transaction that’s already in flight, so test both paths before rollout.
-
Application interactions
Which onchain programs do your workflows interact with, and will they work with the replacement’s execution model? Both replacements run your instructions through cross-program invocations (CPIs), meaning one onchain program calls another. Some programs check how deeply they are being called, some accept instructions only at the top level, and Token-2022’s CPI Guard can block the pattern outright [1]. Your instructions end up running a little deeper than a normal call (stack height 3 under Programmatic Signer, 2 under Vector), and a proposal in progress, SIMD-0268, would raise that nesting limit [1]. List the programs your workflows touch and test each one on devnet rather than assuming it will work.
With your requirements defined, the next section compares how each approach addresses them.
3. Compare the migration approaches
Today, we’ll explore two replacement options: Anza’s Programmatic Signer and Blueshift’s Vector. The right approach depends on your organization’s requirements and operating environment.
Both options move signature verification from Solana’s runtime into an onchain program. Funds are held at a program-derived address (PDA) rather than at the cold key, a hot fee payer is required, and nonces advance atomically with execution [1].
Key differences: Programmatic Signer vs Vector
The following comparison highlights how each implementation addresses the considerations outlined in the previous section.
| Category | Programmatic Signer | Vector |
|---|---|---|
| Signed payload | A standard v1 transaction message. Works with existing offline signing flows, including hardware wallets that display and verify what they sign. | A SHA-256 hash of the instruction list. Signing tools must support signing an opaque hash. |
| Relayer flexibility | The signature covers the authorization message, allowing changes to the outer transaction without invalidating approval. | The signature covers every top-level instruction. |
| Approval workflows | Supports multiple signing authorities on one wrapper. | Supports single-party signing. |
| Maturity and governance | Deployed on devnet; pre-audit, with audits planned before v1. | Program IDs are published; audit status and deployment cluster are not stated in the reviewed source. |
Additional considerations
- Compute requirements. Compute consumption varies by implementation and transaction design. Benchmark representative workflows to determine the compute budget required for your expected operations.
- Implementation readiness. Confirm deployment status, audit status, upgrade authority, and tooling compatibility with the relevant teams before committing to a production implementation.
For more background on the deprecation and how the two replacements were developed, see the Solana Foundation’s Durable Nonce Deprecation page and the respective GitHub posts.
4. Consider the surrounding work
Replacing the nonce mechanism also affects the systems and workflows built around transaction execution. Here are the key areas to consider.
- Addresses and authorities. Funds and authorities move to a PDA, so every system keyed to your current wallet address is affected: deposit instructions you’ve given counterparties, exchange allowlists, accounting, and proof-of-reserves. Plan the address change and the counterparty communication it requires.
- Attribution and reconciliation. The relayer becomes the fee payer and signer, and one approval can produce several outer transactions across retries. Reconciliation should key on the signed intent rather than a transaction signature, and your indexers and RPC consumers will need updates.
- Fee payment. A hot fee payer becomes standing infrastructure, with its own funding, monitoring, and key management.
For regulated institutions, address migration may require a separate workstream covering counterparty coordination, accounting, compliance controls, and outstanding signed transactions. Scope this independently from the replacement implementation.
5. Worked example: an offline-approved withdrawal
Consider a custodian with offline approvals and several withdrawals in flight. A client requests a withdrawal, and two approvers inspect and sign the transaction.
Under the current durable nonce model, the signed transaction waits in a queue with its nonce value. Under either replacement option, the signed message waits instead. A relayer later wraps it in a transaction with a fresh blockhash and pays the fee [1][3].
The first submission fails a slippage check. Under the current model, the nonce is consumed and the transaction must be signed again. Under either replacement, the nonce rolls back, allowing the relayer to resubmit the same signed message [1]. The retry succeeds, leaving two transaction attempts associated with one approved withdrawal.
This scenario exposes five areas to address in the migration plan:
| Consideration | Work to scope |
|---|---|
| Approval | Ensure approvers can inspect the signed payload. |
| Cutover | Identify queued transactions and plan their handling. |
| Retries | Define who resubmits failed transactions and when. |
| Reconciliation | Link multiple transaction attempts to one approved withdrawal. |
| Fee payment | Fund and monitor the relayer's fee payer. |
Where to go from here
Before selecting a migration approach, confirm it meets your requirements, identify the system changes involved, and decide how you’ll validate it before rollout.
Moonsong Labs works with institutions throughout the migration, helping evaluate options and scoping the integration. We provide the architecture, engineering guidance, and implementation resources your team needs to move forward with confidence.
References
- Solana Foundation, Durable Nonce Deprecation.
- Anza, Programmatic Signer documentation.
- Blueshift, Vector repository.
- Anza, ed25519-programmatic-signer architecture.
