Zcash Elastic Subnet Bridge on Avalanche

Hi @danielgorgonha thanks for the thorough read, and for checking with us.

Firstly, we recently took over WebZjs and are still getting familiar with parts of the codebase, so your digging is genuinely helpful. Your understanding is correct.

What we shipped (milestone 335) is ZIP-318’s “Migrate immediately” option, a single Orchard→Ironwood transfer, with the Snap’s trusted display, consent, public-amount warning, and signing. That’s the migration into Ironwood. The Ironwood primitives are in place too – scanning, the sign_ironwood signer, and the Ironwood-aware proposal engine are all there upstream, and our signing orchestration uses them. The one gap is the store. WebZjs uses the in-memory backend (zcash_client_memory), and it doesn’t yet persist Ironwood notes.

We had assumed that in-memory store support would come from upstream but since it’s lagging and lives in an open PR, our plan is to take a copy of PR #17, bring it into our fork, and land Ironwood scan + spend as part of our NU7 work which will be released in the next few weeks. Please stand by for this.

On your specific questions:

  1. Does 335 cover scanning + spending Ironwood for a view-key account? No - 335 is the migration only and it’s the next thing we are going to work on.

A few related notes: WebZjs already supports importing an account from a UFVK (scan-only), and since Ironwood reuses the Orchard viewing key, that same key will scan Ironwood once the store lands which will work for your “viewing key on the device and FROST signs” model. And yes on the store PR we’d pull it into our copy.

  1. COOP/COEP / no threads. We need to dig into this part of the code more before we can give you a proper answer so let us look into it and get back to you on whether a no-threads scanning mode is something we’d want in WebZjs or as a fork.

Since this is a technical discussion, let’s continue it on Discord in the WebZjs channel.

3 Likes