Opening
Ever wondered how you can sign a crypto transaction without being online at the exact moment you want to move funds? This article explains the concept of durable nonces, how they enable offline signing, and what you should consider before relying on them.
The plain explanation
A nonce is a one‑time number that a blockchain network uses to guarantee that each transaction is unique. Without a nonce, a malicious actor could replay an old transaction and cause you to lose funds. Most blockchains, including Solana, automatically generate a new nonce each time you submit a transaction from an online wallet.
Some users, especially custodians and institutional players, need to sign transactions while their signing device is offline—for example, to keep a private key in an air‑gapped hardware security module (HSM). To make this possible, Solana introduced a feature called durable nonces. Instead of relying on the network‑generated nonce, a durable nonce is a special account that holds a pre‑generated nonce value. The signer can retrieve that value, sign the transaction offline, and later submit it with the same nonce. As long as the nonce hasn’t been used, the network will accept the transaction.
Durable nonces are “durable” because the same nonce can be reused multiple times until the account’s balance is exhausted or the nonce is explicitly refreshed. This flexibility is useful for batch operations, delayed settlements, or any scenario where the signer cannot be online at the exact moment of execution.
A real example
In March 2026, Solana’s governance community discussed a draft proposal to retire the durable nonces feature no earlier than May 5 2027. The move follows the $270 million Drift hack, where attackers exploited a vulnerable implementation of durable nonces to replay transactions and siphon funds. The proposal would force custodians that rely on offline signing to redesign how they move coins, ensuring that future attacks cannot reuse stale nonce values.
What it means for you
If you are a casual user who signs transactions directly from a hot wallet, durable nonces likely never affect you. However, if you manage a treasury, run a custodial service, or use an air‑gapped signing device, you may be depending on durable nonces to keep private keys offline while still being able to move assets. The proposed removal means you would need to adopt alternative methods, such as:
- Using transaction pre‑signing with a fresh nonce generated each time you prepare a transaction.
- Employing multisignature wallets where one signer remains online to fetch a fresh nonce while the other stays offline.
- Switching to blockchains that offer built‑in offline‑signing workflows without relying on reusable nonce accounts.
Failing to adapt could leave your offline signing process vulnerable to replay attacks or cause transaction failures because the network no longer recognizes the stale nonce.
What to check / how to judge
Before you rely on durable nonces—or any offline‑signing mechanism—evaluate the following:
- Nonce management policy: Verify how often the nonce is refreshed and whether the account has enough balance to cover transaction fees.
- Audit trail: Ensure you have logs that record when a nonce is created, used, and refreshed. This helps detect unexpected reuse.
- Alternative workflows: Test a fallback method, such as online‑assisted signing, in case the primary offline process becomes unavailable.
- Community and developer support: Follow the blockchain’s governance discussions. A planned deprecation, like Solana’s, signals that you should prepare a migration path.
FAQ
What is the difference between a regular nonce and a durable nonce?
A regular nonce is generated automatically by the network for each transaction and expires immediately after use. A durable nonce is stored in a dedicated account and can be reused until the account’s balance runs out or the nonce is manually refreshed.
Can I still use offline signing without durable nonces?
Yes. You can have an online component fetch a fresh nonce, pass it to the offline signer, and then submit the signed transaction. This approach avoids the replay risk associated with reusable nonces.
Why did Solana decide to retire durable nonces?
The decision follows a high‑profile hack where attackers replayed transactions that used a stale durable nonce, resulting in a $270 million loss. Removing the feature reduces the attack surface for similar exploits.
Is offline signing safer than signing online?
Offline signing protects the private key from exposure to internet‑connected devices, reducing the risk of key theft. However, it introduces complexities like nonce management, and if those are mishandled, new vulnerabilities can arise.
This article references reporting from coindesk.com.