okx club
Altcoins

Zcash developer Zakura proposes a viewing key for each swap to address a quantum privacy gap.

Zakura proposes per-swap viewing keys for Zcash addresses used in NEAR Intents swaps, reducing quantum linkability while keeping funds in one account.

Club desk Updated 2026-10-19 0 replies

Zcash builder Zakura proposes per-swap viewing keys and a 30-address stop rule for NEAR Intents swaps

What the proposal does

Zakura, a team building Zcash node and wallet software, has published a design that would give every shielded address posted during a NEAR Intents swap its own viewing key. The goal is narrow but important: reduce what a future quantum computer could learn from any single published address.

The work is not live. Zakura’s engineering page lists the design as in review, and it has not shipped. That means Zcash users do not need to assume this change is already protecting them in current wallets.

Adam Tucker, who wrote the post, framed the problem around the period before Zcash’s planned Tachyon upgrade arrives. In his words, “a single published shielded address lets a quantum attacker link every payment that address’s key has ever received.”

Why NEAR Intents swaps can expose shielded addresses

In ordinary Zcash use, a holder usually gives a shielded address privately to the person paying them. The address is not meant to be widely exposed.

NEAR Intents works differently. It is a cross-chain swap service. When a user swaps ZEC for another asset, the wallet supplies a shielded refund address. Once the deposit is logged, NEAR publishes that address on-chain. It stays there whether or not the user ultimately receives a refund.

Swaps into ZEC have the same kind of exposure: the receiving address is published too.

To an observer, these addresses may look unrelated. But under Zcash’s current shielded-account model, each account relies on one incoming viewing key behind all of its addresses. That single key is the hidden link.

What a quantum computer could do with one key

Classical computers cannot work out the incoming viewing key from a published address. The design assumes this remains true for normal computation.

The concern is a future machine powerful enough to run Shor’s algorithm. According to the post, such a machine could expose the value and memo of every payment the account has received. In other words, one published address could become a clue to a much larger payment history.

The post also says no such machine exists yet. The proposal is therefore aimed at a future privacy risk, not an active loss of funds happening now.

How per-swap viewing keys would limit the damage

Zakura’s approach changes only the randomness that goes into the viewing key. It would derive a fresh key for each swap from a hashed index.

The spending key would stay the same, so funds would still remain in a single account. This matters because creating a new account for every swap was ruled out for practical reasons. Tucker wrote that Keystone hardware wallets sign only from the first account, and Ledger devices spend from one account per transaction, “which wasn’t an acceptable UX to us.”

If each swap address had its own viewing key, a future quantum attacker who recovered one key would not automatically recover the history behind every other published address from the same account.

How the wallet would keep track of many keys

More viewing keys normally create a usability problem. Restoring a wallet from seed could become slower, because each key would normally require one full chain scan.

Zakura’s design tries to avoid that by leaving the wallet an encrypted memo noting each swap’s index. The wallet would check published filters, then use private information retrieval to look up matching NEAR bridge payouts without the server learning which addresses it asked about.

For swaps into ZEC, the wallet would check addresses in order and stop after 30 unused ones in a row. That 30-address stop rule is a practical scanning limit: it prevents the wallet from endlessly searching through a large sequence of possible swap addresses.

What this means for users now

The proposal is a privacy hardening idea tied to NEAR Intents, not a change that is already available. Zakura expects software wallets using its libraries, such as Vizor, to be able to add it “in the coming weeks.” Hardware wallets will follow once their firmware supports it.

For readers, the useful takeaway is this: shielded addresses can still create exposure when a swap service publishes them on-chain, and per-swap viewing keys are one way to limit how much a future quantum attack could learn from any single address.

ZcashNEAR Intentsviewing keysquantum privacyZakura

Join the conversation 0

  • No replies yet. Ask the first question.