# Zecwallet lite with Nu6 + zip317 support

**URL:** <https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614>\
**Category:** ZecWallet\
**Created:** [December 5, 2024, 9:02pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614 "2024-12-05T21:02:42Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![james\_katz](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/james_katz/32/26780_2.png) [@james\_katz](https://forum.zcashcommunity.com/u/james_katz)\
**Post date:** [December 5, 2024, 9:02pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/1 "2024-12-05T21:02:42Z")

</div>

Hello friends, how you doing today?  
So, I noticed that recently many old zcash users are having some trouble recovering their funds from Zecwallet lite.  
I know recently, the user @emersonian released a [zecwallet-lite fix with working servers and high transaction fee](https://forum.zcashcommunity.com/t/zecwallet-lite-with-working-servers/49272).

But now with the Nu6 activation, I believe even his version is outdated.

The user @Edicksonjga invited me to a group discussion about recovering ZECs from ZecWallet, and since I have a good experience with zecwallet codebase, I decided to do some more fixes and updates.

## Backend fixes:

- Support for Nu6 branch id / tx version.
- A naive implementation of proportional fees (zip317).
- Minor changes on grpc connector.
- Some UAs causes the lib to panic (unwrap on None), so I added an error handling code.

## Frontend fixes:

- Fixed “Export all private keys” menu item (sapling and transparent, no orchard)
- A small synchronization logic change.
- Added a field on recovery screen, that allow the user to determine how many addresses to generate before synching.

## Screenshots:

If the user has a `zecwallet-light-wallet.dat` file, the wallet will start the sync process:

 ![Captura de tela_2024-12-05_10-22-30](https://global.discourse-cdn.com/zcash/original/3X/7/c/7cf33b1c1f58301769d1b7395a45d731fb0916e5.png)

If the user wants to recover a wallet, now they can inform the number of addresses to recover:

 ![Captura de tela_2024-12-05_10-40-59](https://global.discourse-cdn.com/zcash/original/3X/2/d/2d52a66948b1ee47adc7fc4013832019c181d162.png)

Example of a [successful transaction](https://mainnet.zcashexplorer.app/transactions/90833f73085cba65778bf7e4a8a9137ca469332b09712daaad7bc95949a5c795):

 ![Captura de tela_2024-12-05_10-53-25](https://global.discourse-cdn.com/zcash/original/3X/2/3/23998196c428bbc46d6087be5fe9665c2c2949aa.png)

Export private keys screen was fixed, displaying private key and address:

 ![Captura de tela_2024-12-05_12-36-26](https://global.discourse-cdn.com/zcash/original/3X/2/1/2162715f500d54772d86b64adb47ece5283b2f92.png)

## Drawbacks and issues

- Naive zip317
  - While the code works, the implementaion is solely based on number of input and output notes.
  - Since we don’t know the fee before selecting the notes, the front-end doesn’t display the fee to the user. The fee will be automatically deduced from the sent amount.
  - I don’t have time, incentive, or even the knowledge to do a proper implementation.

- gRPC fails
  - Sometimes, specially with large number of addresses, the grpc connector will fail, making the sync process even slower.

Even though every test I did (send sapling, send orchard, send multiple notes, send mixed notes, send with change, send all) worked, I cannot guarantee it will work for everyone.

## Source code

The source code is available here: [GitHub - james-katz/zecwallet-lite-nu6](https://github.com/james-katz/zecwallet-lite-nu6)

I still don’t know if i’m going to release binary / executable files, even though I have some degree of trust by the community, I don’t want to encourage anyone to download random wallets they find online, promising to “recover your funds”. This could be a bad precedence.

But I’ll be more than glad to discuss the code, for anyone who wants to understand what I did, and help compile the code from source, if anyone has any interest in this project.

If anything, I just learned a lot about Rust and `librustzcash` (though a pretty old version).

That’s all, bye 🙃

---

<div class="post-metadata">

**Author:** ![dismad](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dismad/32/18432_2.png) [@dismad](https://forum.zcashcommunity.com/u/dismad)\
**Post date:** [December 5, 2024, 9:18pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/2 "2024-12-05T21:18:35Z")

</div>

Outstanding! Thank you 😍 🦓 👍 🧑‍🎓

---

<div class="post-metadata">

**Author:** ![Minevg](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/minevg/32/43256_2.png) [@Minevg](https://forum.zcashcommunity.com/u/Minevg)\
**Post date:** [December 5, 2024, 9:21pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/3 "2024-12-05T21:21:35Z")

</div>

Thanks for your hard work @james_katz !

---

<div class="post-metadata">

**Author:** ![E-zec](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/e-zec/32/29347_2.png) [@E-zec](https://forum.zcashcommunity.com/u/E-zec)\
**Post date:** [December 5, 2024, 9:39pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/4 "2024-12-05T21:39:35Z")

</div>

James, I’m very happy to see what you’ve achieved with your work, and it’s gratifying to see your development over the years we’ve been in the community, congratulations.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [December 5, 2024, 9:45pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/5 "2024-12-05T21:45:29Z")

</div>

Great work @james_katz 👏🏻

---

<div class="post-metadata">

**Author:** ![zerodartz](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zerodartz/32/26722_2.png) [@zerodartz](https://forum.zcashcommunity.com/u/zerodartz)\
**Post date:** [December 5, 2024, 10:51pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/6 "2024-12-05T22:51:29Z")

</div>

im calling u now the brazilian hanh (wizard)

---

<div class="post-metadata">

**Author:** ![emersonian](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/emersonian/32/42565_2.png) [@emersonian](https://forum.zcashcommunity.com/u/emersonian)\
**Post date:** [December 13, 2024, 10:51pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/7 "2024-12-13T22:51:32Z")

</div>

This is great. It’s interesting to see somewhat-working Zecwallet forks emerging from being a zombie project.

Do you think that it would make sense for Zecwallet Lite to get maintained again in a more official capacity or is it a lost cause for some reason?

See the recent Zondax fork of Zecwallet Lite, unfortunately the only way to use the new Ledger support for shielded Zcash:

> [@Official Shielded Support for Zcash In Ledger HW Wallet](https://forum.zcashcommunity.com/t/official-shielded-support-for-zcash-in-ledger-hw-wallet/45965/176):
>
> The new zcash shielded Ledger application is already compatible with the new stax/flex devices and available publicly for everyone. You can read more about it here [Unlocking Privacy: The New Zca...](https://zondax.ch/blog/unlocking-privacy-the-new-zcash-shielded-app-for-ledger) Currently, this app communicates exclusively with the Zecwallet Lite Desktop Wallet. You can find more about this wallet here: [GitHub - Zondax/zecwallet-lite: Zecwallet-Lite is z-Addr first lightwallet for Zcash.](https://github.com/Zondax/zecwallet-lite) To encourage broader adoption, we’ve published a comprehensive integration …

> **[GitHub - Zondax/zecwallet-lite: Zecwallet-Lite is z-Addr first lightwallet for...](https://github.com/Zondax/zecwallet-lite)**
>
> Zecwallet-Lite is z-Addr first lightwallet for Zcash.

@ainhoa-zondax - Does the Zondax fork fix the same things as the @james_katz fork? Does Zondax intend to maintain its fork for a period of time?

There could be community support for keeping that going, and enough of us familiar enough to keep the pull requests coming upon major upgrades.

---

<div class="post-metadata">

**Author:** ![james\_katz](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/james_katz/32/26780_2.png) [@james\_katz](https://forum.zcashcommunity.com/u/james_katz)\
**Post date:** [December 14, 2024, 1:26am UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/8 "2024-12-14T01:26:32Z")

</div>

As far as I can tell, they also fixed the [Nu6 branch id](https://github.com/Zondax/librustzcash/commit/ce278848fef35903db46c3dced41658e90bbeb3c) and [proportional fees](https://github.com/Zondax/zecwallet-light-cli/blob/main/lib/src/lightwallet.rs#L1517-L1536).

In my personal opinion, ZecWallet shouldn’t be revived and maintained, there are much better options nowadays like Zingo, which is, IMO, a spiritual successor of ZecWallet.

But I have a good understanding of ZecWallet lite’s source code, if it’s going to be a thing, I’ll be really happy to help.

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [December 14, 2024, 1:36am UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/9 "2024-12-14T01:36:44Z")

</div>

> [@james\_katz](#):
>
> But I have a good understanding of ZecWallet lite’s source code, if it’s going to be a thing, I’ll be really happy to help.

Would be nice if we could get the Zecwallet website to notify users of the issues and point to your updated version.

CC @adityapk00

---

<div class="post-metadata">

**Author:** ![Autotunafish](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/autotunafish/32/7827_2.png) [@Autotunafish](https://forum.zcashcommunity.com/u/Autotunafish)\
**Post date:** [December 14, 2024, 2:35am UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/10 "2024-12-14T02:35:36Z")

</div>

> [@james\_katz](#):
>
> [proportional fees](https://github.com/Zondax/zecwallet-light-cli/blob/main/lib/src/lightwallet.rs#L1517-L1536)

Outstanding!

@Shawn He has posted anything in a long time

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [December 14, 2024, 5:48pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/11 "2024-12-14T17:48:46Z")

</div>

> **[Releases · zingolabs/zingo-pc](https://github.com/zingolabs/zingo-pc/releases)**
>
> A desktop Zingo. Contribute to zingolabs/zingo-pc development by creating an account on GitHub.

**zingo-pc** is a fork of zecwallet-lite that has been working “the whole time”.

I believe that ( and @Juanky or @Edicksonjga will correct me if I am wrong ) it fully supports NU6 and ZIP317.

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [December 14, 2024, 5:49pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/12 "2024-12-14T17:49:43Z")

</div>

I’d really love to get you more actively/directly involved with `zingo-pc`.

---

<div class="post-metadata">

**Author:** ![Edicksonjga](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/edicksonjga/32/19912_2.png) [@Edicksonjga](https://forum.zcashcommunity.com/u/Edicksonjga)\
**Post date:** [December 14, 2024, 6:09pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/13 "2024-12-14T18:09:10Z")

</div>

That’s right, it supports ZIP320, 317 and NU6.

---

<div class="post-metadata">

**Author:** ![duckduck](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@duckduck](https://forum.zcashcommunity.com/u/duckduck)\
**Post date:** [October 4, 2025, 3:08am UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/14 "2025-10-04T03:08:19Z")

</div>

Hey James!I’m compiling ur zecwallet lite all goes good.It showed this in console when app start sync

[1] [electronmon] waiting for a change to restart it  
[1] An error occurred: , Error: Invalid header: Does not start with Cr24  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0

---

<div class="post-metadata">

**Author:** ![duckduck](https://avatars.discourse-cdn.com/v4/letter/d/cab0a1/32.png) [@duckduck](https://forum.zcashcommunity.com/u/duckduck)\
**Post date:** [October 4, 2025, 3:09am UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/15 "2025-10-04T03:09:26Z")

</div>

Hey James!I’m compiling ur zecwallet lite all goes good.I need ur help here.It showed an error in console when app start sync

[1] [electronmon] waiting for a change to restart it  
[1] An error occurred: , Error: Invalid header: Does not start with Cr24  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0  
[1] id: 1, batch: 0/1132, blocks: 0/1000, decryptions: 0, tx\_scan: 0

---

<div class="post-metadata">

**Author:** ![james\_katz](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/james_katz/32/26780_2.png) [@james\_katz](https://forum.zcashcommunity.com/u/james_katz)\
**Post date:** [October 4, 2025, 4:40pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/16 "2025-10-04T16:40:22Z")

</div>

Hi, how you’re doing?

So, it looks like an electron (frontend) error.  
Does the app start? If so, you can ignore and just wait for you wallet to sync.

If it doesn’t start, how did you compiled it?  
The way it worked for me (linux) was compiling and running the .AppImage  
IIRC:

```auto
yarn dist:linux

OR

yarn dist:win

OR

yarn dist:mac

```

If it doesn’t work, you can try directly with zecwallet-cli: [GitHub - james-katz/zecwallet-light-cli: Zecwallet Lightclient Library and CLI interface Fee Hot Fix](https://github.com/james-katz/zecwallet-light-cli)

There are topics on this forum explaining how to use it, I can get the links if you want.

My recommendation is to export the mnemonic phrase or individual private keys and import them into a newer wallet, like zingo, zkool or zashi.

---

<div class="post-metadata">

**Author:** ![dorianvp](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/dorianvp/32/35843_2.png) [@dorianvp](https://forum.zcashcommunity.com/u/dorianvp)\
**Post date:** [October 4, 2025, 5:27pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/17 "2025-10-04T17:27:12Z")

</div>

If you did not create multiple accounts, you can also try with ZExCavator: [GitHub - zingolabs/zexcavator: Universal ZCash Wallet Recovery Tool](https://github.com/zingolabs/zexcavator) .

---

<div class="post-metadata">

**Author:** ![zancas](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/zancas/32/42011_2.png) [@zancas](https://forum.zcashcommunity.com/u/zancas)\
**Post date:** [October 4, 2025, 6:36pm UTC](https://forum.zcashcommunity.com/t/zecwallet-lite-with-nu6-zip317-support/49614/18 "2025-10-04T18:36:43Z")

</div>

We’re prioritizing completing multi-key recovery via ZExCavator. That will address some known cases where ZEC has been difficult to recover due to the multi-sapling key interface offered in legacy ZECWallet. I am uncertain whether it’s directly relevant for this error.
