Retroactive Grant Application - Zcash address fixes, NU7 readiness board and ZEC refund tools (Cryppit)

Ask: $16,000 USD
Category: Integration
GitHub Issue: Retroactive Grant Application - Zcash address fixes, NU7 readiness board and ZEC refund tools (Cryppit) · Issue #87 · Financial-Privacy-Foundation/ZcashCoinholderGrantsProgram · GitHub
Work period: 13 to 31 October 2026

Hi all. This is my retro application for the Zcash work I finished in October. Most of it started with addresses: a lot of stuck-funds threads here begin with someone pasting an address their wallet couldn’t really pay, so I worked on that in other people’s code and in my own tools.

If anything on the NU7 board is wrong for a project you work on, tell me and I’ll fix it the same day. Happy to answer questions. If you hold ZEC and this work was useful to you, I’d appreciate your vote in December. The full application follows.

Terms and Conditions

  • I agree to the Grant Agreement terms if funded
  • I agree to Provide KYC information if funded above $50,000 USD
  • I agree to disclose conflicts of interest
  • I understand that this grant program is only eligible for completed work, as it is a retroactive grant program. Applications for planned or partially completed work will not be considered. All completed work will be verified and accepted by its intended users or their representatives, who will confirm that the outputs meet the required quality, functionality, and usability before the work is listed as an option for Coinholder voting.
  • I agree that for any new open-source software, I will create a CONTRIBUTING.md file that reflects the high standards of Zcash development, using the librustzcash style guides as a primary reference.
  • I understand when contributing to existing Zcash code, I am required to adhere to the project specific contribution guidelines, paying close attention to any merge, branch, pull request, and commit guidelines as exemplified in the librustzcash repository.
  • I understand all grants are valued in USD but will be disbursed in Shielded ZEC. I acknowledge and accept that disbursement amounts may fluctuate based on the ZEC/USD exchange rate at the time of payment.

Application Owners

@Anirudh-712

Organization or Individual Name

Cryppit (Anirudh Tumuluru, solo)

Additional Team Members

None.

How did you learn about the Lockbox: Coinholder Retroactive Grants Program?

The FPF “Plan Ahead” post with the 2026 dates and the Q3 call on the forum.

Requested Grant Amount (USD)

$16,000

Category

Integration

Project Summary

Finished, public work from October 2026 that helps Zcash addresses and payments behave correctly across wallets and
tools: six merged fixes in Zebra, Zingo and ZecHub; address bug reports that Unstoppable fixed, Keystone scheduled and
a Zebra engineer confirmed; a test-vector set for ZIP 320 TEX addresses; a public NU7 readiness board covering 33
projects; a read-only helper that tracks ZEC and BTC deposits stuck in the Omni bridge and checks Zcash addresses
before anyone sends; and Shield Receipt, which shows whether a ZEC withdrawal landed shielded.

Project Description

All of it is open source (MIT) or merged upstream, and all of it can be checked today.

  1. Upstream fixes, merged.
    • Zebra #11880 (merged 23 Oct): TEX addresses print as Bech32m per ZIP 320 instead of as the t1 address of the
      same key hash. I reported the bug in #11826 and wrote the fix.
    • Zebra #12150 (written 31 Oct, merged 4 Nov): a Testnet or Regtest config that gives an activation height to an
      upgrade with no consensus branch ID now stops at config load with an error naming the upgrade, instead of
      panicking at that upgrade’s activation block. Fixes #11482.
    • Zingo mobile #1663 and #1665 (merged 19 Oct): the swap address check accepted only some valid recipient formats;
      it now accepts every valid NEAR account ID and stores uppercase Bech32 and CashAddr addresses in lowercase.
    • Zingo mobile #1754 (merged 26 Oct): in privacy mode the Insight screen hid amounts but still showed each row’s
      address. It now shows the mask, and a tap shows the address for a short time. Closes #1542.
    • ZecHub #2444 (merged 21 Oct): the Ironwood and turnstile pages show the amount of a transfer between pools.
  2. Address bug reports and spec input that other teams acted on.
    • Unstoppable iOS: I traced the TEX memo bug (#7295) to ZcashAdapter.validate(address:) returning .shielded for
      TEX. Unstoppable shipped the fix in #7300 the next day.
    • Keystone firmware #2313: a TEX output fails the transparent output check. Keystone replied that TEX support comes
      in its next feature release.
    • Zebra #11803: z_validateaddress rejects unified addresses that carry an item with an unknown typecode, which
      ZIP 316 says a consumer must ignore. A Zebra engineer confirmed it on 20 Oct; the team is deciding whether the fix
      belongs in Zebra or in zcash_address.
    • librustzcash #468: a ready-made test address for the change (mainnet Revision 0, one P2PKH receiver plus one item
      of experimental typecode 0xFFFC).
    • zips #936: ZIP 320 is now Active but still has no Deployment section, and its Rationale points to ZIP 316
      Revision 1, which is withdrawn (the elements it names are in Revision 2).
    • zecblock: the explorer reports TEX addresses as invalid (#136); PR #137 looks them up by the P2PKH address they
      encode. Both open.
  3. ZIP 320 TEX test vectors (GitHub - cryppit/zcash-tex-vectors: ZIP 320 TEX address test vectors, a reference codec and an integrator checklist. · GitHub). ZIP 320 publishes one example pair. This adds
    21 cases: Mainnet, Testnet and Regtest forms, edge values, and 13 invalid inputs that implementations get wrong
    (a Bech32 checksum where Bech32m is required, 19-, 21- and 22-byte payloads, mixed case, a P2SH address). Each case
    has the expected result or error category. A six-point integrator checklist lists the bugs above that the cases
    would have caught. The Testnet and Regtest strings match Zebra’s tests.
  4. NU7 readiness board (NU7 readiness). 33 wallets, hardware wallets, libraries, bridges and
    swaps, each checked against public GitHub state and source code for NU7 support (v5-only transactions, the branch
    ID 0x77190AD9, the Mainnet activation height). Every row links its evidence. The check on 5 Nov (06:48 UTC) showed
    12 fixed, 1 in review, 9 broken and 10 to watch, plus 1 it could not read. Problems it found by reading source code:
    KeepKey firmware signs Ironwood spends only under the NU6.3 branch ID; Unstoppable Wallet pinned pre-NU7 SDKs on both
    apps (iOS has since moved, Android has not); the original MIT Android and Swift SDKs end at 4.0.0 with no NU7;
    ShapeShift fixes the branch ID to NU6.3 (reported in shapeshift/web #12794). KeepKey and Unstoppable had no public
    NU7 issue when I found these. I also got two rows wrong: Keystone firmware and the Zodl Swift SDK. str4d corrected
    both on the forum on 29 Oct, I fixed them the same day, and I re-checked every row.
  5. Zcash Refund Helper (GitHub - cryppit/zec-refund-helper: Keyless, read-only checker for BTC and ZEC deposits stuck in the NEAR Omni bridge. Prints the bridge's own refund steps. · GitHub, live at Zcash Refund Helper). Three
    read-only pages, no keys of any kind, nothing signed:
    • Deposit check: paste a transaction hash; it shows where a ZEC or BTC deposit to the Omni bridge is, whether it was
      credited, the exact refund steps and their cost, and the only address the coin can go back to. It parses ZIP 316
      unified addresses (Bech32m, F4Jumble, BLAKE2b) to check a refund address before anyone uses it. Its steps were
      used for one refund (0.1 BTC, 15 Oct).
    • Address check (27 Oct): says offline whether a transparent-only or a shielded wallet can pay a Zcash address
      (t1, t3, TEX, Sapling, unified), and which refund the bridge could make to it.
    • Watch page (28 Oct): up to 25 deposit hashes re-checked every 10 minutes while the page is open, with what
      changed and a summary to paste into a support ticket. The list stays in the browser.
    • Scan of the Omni indexer on 26 Oct (665 candidates): no ZEC deposit stuck uncredited; 54 ZEC deposits absorbed
      below the connector’s 0.001 ZEC minimum with no refund path, 33 of them funded from a shielded pool. On the Bitcoin
      side, 36 deposits (7.61 BTC) were never credited, and 15 of them (5.56 BTC) can still go back to their senders’
      refund addresses.
  6. Shield Receipt (GitHub - cryppit/shield-receipt: Did your ZEC withdrawal land shielded? Paste the txid and the address you gave. Keyless, read-only. · GitHub, live at Shield Receipt, 31 Oct). Paste a
    transaction ID and the address you gave; it shows whether a ZEC withdrawal landed transparent or shielded, and in
    which pool. No keys of any kind, and only the transaction ID leaves the page. 113 offline tests.
  7. Forum help. Answers in stuck-funds and tooling threads (Zodl swap refund, the ztrash trace write-up, Sapling’s
    one-month report) and an Address Checker topic. After my reply, Sapling’s founder said its withdraw screen will
    label the address type in plain words.

Technical Approach (how you did it)

  • Upstream fixes followed each project’s contribution rules: an issue first where the project asks for one, a test
    for every fix, review changes made in the same PR.
  • Address work started from ZIP 316 and ZIP 320 and the zcash_address behaviour, then read each wallet’s and node’s
    address code to find where TEX or unknown items fall through to the wrong branch.
  • The test vectors come from a small Python reference codec (Bech32/Bech32m, Base58Check, TEX to P2PKH). A test fails
    if vectors.json differs from what the codec generates, or if any case disagrees with it. CI runs on every push.
  • The NU7 board is one stdlib Python script (check.py, 22 tests) run by GitHub Actions on every change and on a
    schedule, several times a day. Each row’s signals (open blockers, fix PRs, releases, patterns in source files)
    resolve to fixed, in review, broken or watch, and a failed lookup never counts either way. New rows were found by
    searching GitHub for NU7 issues and for source files that still carry the NU6.3 branch ID, then reading each one. The
    page marks itself stale if the last check is more than 8 hours old.
  • The refund helper is TypeScript, read-only: public explorer GETs and NEAR view calls. 55 commits and 240 offline
    tests, with tests and a typecheck in CI before each Pages deploy.

Time Period of Work Completion

13 October 2026 to 31 October 2026. Zebra #12150, written on 31 October, merged on 4 November.

Total Budget (USD)

$16,000

Budget Breakdown

A fixed price for each finished item. No infrastructure costs (GitHub Pages and Actions, free tier).

Item USD
Zcash Refund Helper (deposit check, address check, watch page, scans) $6,800
Upstream fixes (Zebra #11880 and #12150, Zingo #1663, #1665 and #1754, ZecHub #2444) $2,800
Address bug reports, spec input and ZIP 320 test vectors $2,400
NU7 readiness board $2,400
Shield Receipt $1,200
Forum help $400
Total $16,000

Previous Funding

No

Previous Funding Details

None.

Other Funding Sources

Yes

Other Funding Sources Details

  • ZCG #513 (Zcash Community Grants, pending, not awarded): future milestone work to make transparent ZEC swaps in
    Vultisig/SwapKit produce v5 transactions. Nothing in this application is in #513’s scope; the Vultisig probe behind
    #513 (vultisig-android #6115) and the board rows about Vultisig are not claimed here.
  • ZECATHON 2026: the refund helper was entered in the Cross-Chain track. Winners are announced after this window
    closes. If it wins a prize, I will say so in the forum thread and take the prize off this ask, up to the $6,800
    refund helper line.
  • Free Society Hack (4 Nov 2026): my entry there, zshagun, is a separate project built that day. Nothing in this
    application claims it, and any prize it wins is unrelated to this work.

Success Metrics

  • 6 merged PRs in 3 Zcash projects (Zebra, Zingo mobile, ZecHub); 2 more teams fixed or scheduled a fix from my
    diagnosis (Unstoppable #7300, Keystone #2313); 1 more bug confirmed by the Zebra team (#11803).
  • 21 TEX test cases where ZIP 320 has one; the 5 bugs in its README table are all bugs these cases would have caught.
  • 33 projects tracked for NU7 with linked evidence; 4 problems found by reading source code, 2 of them (KeepKey,
    Unstoppable) with no public NU7 issue when found; 2 wrong rows corrected in public the same day.
  • The refund helper checks any Omni ZEC or BTC deposit from its hash, and its scans put numbers on the ZEC absorbed
    below the connector minimum (54 deposits, 33 from shielded pools) and the BTC never credited (36 deposits, 7.61 BTC).
  • A request delivered: on 26 Oct a member of Gem Wallet’s support team asked on this forum for a plain answer to “can
    my wallet send to this?”, for example that a TEX address needs a transparent balance. The address check page
    (27 Oct) gives that answer for every Zcash address type.

Who saw this work. These people reviewed, merged, confirmed or asked for it. If you’re tagged, please say here if anything is wrong, or if it matches what you saw:

  • @oxarbitrage reviewed and merged Zebra #11880 and #12150.
  • @dismad merged ZecHub #2444 (chairulakmal on GitHub approved it).
  • @Anzus_GemWallet asked for the “can my wallet send to this?” answer that the address check gives.
  • @igor_zs1 said Sapling’s withdraw screen will label address types after my reply.
  • On GitHub: arcayne confirmed Zebra #11803, juanky201271 merged Zingo mobile #1663, #1665 and #1754, ant013 wrote the Unstoppable fix (#7300), and soralit replied on Keystone #2313.

Proof of completion

Conflict of Interest Disclosure

Cryppit also builds tools for NEAR Intents (Where’s My Swap, an order checker) and has contributed to NEAR docs and
NEAR Intents code. Cryppit is not affiliated with NEAR, the Omni bridge, or any Zcash organisation, and has received
no money from any of them. ZCG #513 is disclosed above.

Community Forum Posting

  • I understand it is my responsibility to post a link to this issue on the Zcash Community Forums after this application has been submitted so the community can give input. I understand this is required in order for the community to discuss and vote on this grant application. Note: If you are unable to post on the forum (for example, due to new user restrictions), please leave a comment below, and we will adjust your posting permissions.
1 Like

Quick correction, since I said I’d fix things the same day. I wrote that Unstoppable’s Android app hadn’t moved to an NU7 SDK. It has: it moved to Zodl SDK 6.0.0 on 2 November, and that’s in app version 0.53.1. I’ve corrected issue #87.

I also re-checked every row on the NU7 board today, ahead of activation. Noir, Edge, SwapKit’s Trezor signing and Zallet have all moved too. I added two rows I’d missed: Zaino, where the NU7 fix is still an open PR, and Trezor’s Blockbook, where the move to Zebra 7.0.0 is still an open PR. The counts in my post are from this morning, so the board is the place to look now.

Another correction, this time after a question from Alex on the GitHub issue. My post reads as if Gem Wallet’s support team approved the Refund Helper address page. They didn’t. They asked for the plain answer on the Address Checker thread, and I built it on the Where’s My Swap address page. That’s the page they replied about, saying the two answers were easier to understand. The Refund Helper page is a Zcash-only port of the same check, and I never sent it to them. It’s one support person’s reply about a different page, not a test or acceptance by Gem.

Alex also asked for independent review of the TEX vectors and Shield Receipt. There isn’t any yet, and I’ve said so on the issue. Issue #87 now has the corrected wording.

1 Like

A post was merged into an existing topic: Post your technical support queries here