A Note About Unlinking Your YEC From Your ZEC

Last minute tips for increasing your security and privacy on both blockchains

Close-up of a chain link fence. Photo of by Feifei Peng on Unsplash

Introduction

After the Ycash/Zcash chain fork occurs very soon at block height 570,000, the private keys associated with your ZEC on the Zcash blockchain will also be associated with YEC on the Ycash blockchain. As a ZEC holder, if you choose to try to access your YEC, you may want to “unlink” your YEC and ZEC in certain ways for increased security and privacy.

Strategy #1: Move your ZEC to new addresses AFTER the fork.

Let’s say your ZEC is associated with a set of addresses that we’ll call Address Set M.

Steps for Strategy #1

  1. Fork occurs at block height 570,000.
  2. Wait 100 blocks, until block height 570,100.
  3. Export the private keys associated with Address Set M
  4. Transfer your ZEC to one or more new addresses, which we will call Address Set N.
  5. Wait 100 blocks.
  6. Import the private keys associated with Address Set M into your Ycash wallet.

Strategy #2: Move your ZEC to new addresses BEFORE the fork

As mentioned above, in order for Strategy #1 to work, you must no longer receive ZEC to the addresses in Address Set M. But what if this is not a viable option for you? For example, what if you’ve published a donation address that may continue to receive donations after the fork? Strategy #2 addresses this situation.

Steps for Strategy #2

  1. Before block height 569,900 (100 blocks before the fork), transfer your ZEC in Address Set M to Address Set N.
  2. Fork Occurs.
  3. Wait 100 blocks, until block height 570,100.
  4. Transfer your ZEC back to Address Set M.
  5. Wait 100 blocks.
  6. Export your ZEC private keys for Address Set N into YecWallet.

A Important Note For Zcash Shielded Pool Users Regarding Linked Nullifiers

In order to spend shielded ZEC, the spender must reveal a value called the “nullifer.” For more information on nullifiers, see the Electronic Coin Company’s fantastic tutorial entitled, “What are zk-SNARKs?