Zcash Thorchain Integration Grant

Zcash Thorchain Integration Grant

Zcash faces challenges with centralized exchanges changing their stance on ZEC support. Zcash users need 24x7 access to liquidity for their holdings. Hence, having the ability for a native ZEC swap via a decentralized exchange would be crucial for growth in adoption.

Thorchain enables decentralized native ZEC swaps with popular cryptocurrencies, ERC20 tokens and stablecoins. Zcash being the digital money focussed on privacy; adding support on a dex with native ZEC functionality instead of wrapping the ZEC with a custodian opens up tremendous opportunity for existing and new Zcash users to acquire ZEC via simplified UX. Additionally, Thorchain incentivizes wallets, node runners and liquidity providers to integrate ZEC support to all their existing users by getting a fraction of the fees. e.g. ShapeShift uses Thorchain as a backend to swap native cryptocurrencies and a ZEC integration will expose Zcash to their existing user base. The low Zcash network transaction fees combined with defined swap fees & slippage % from liquidity pools will give Zcash users an exact quote for each Zcash swap that needs to be performed.

Thorchain integration beneficiaries

There are multiple users & stakeholders that benefit from this proposal:

  1. The users of Zcash bridge and thin client would be Thorchain node runners & native swap wallets like ASGARDEX/https://app.thorswap.finance
  2. The end users will be users who can easily swap their ZEC holdings between BTC, ETH, BCH, LTC, BNB, BUSD, USDT and many ERC20 tokens.
  3. The end deliverable would also bring an understanding to possible Nighthawk Wallet integration in the future where the users would be able to swap between ZEC and the supported list of coins within Nighthawk. Additionally, all developers from the Zcash community can investigate & integrate the native swap functionality once the solution is delivered.

How big of a problem would it be to not solve this problem?

  • Zcash being limited to centralized exchanges and up to the whims of local regulations which keep flip flopping support for Zcash is a risk and uncertainty for ZEC holders.
  • This proposal will aim to provide Zcash liquidity via our partner NineRealms, and take part in the Thorchain protocol which also opens up APY earning opportunities for existing Zcash holders.
  • Accomplishing this task via a decentralized codebase will be instrumental in more parties holding Zcash.

Execution risks

  • Delays due to unforeseen challenges and setbacks would need to be worked through with Thorchain core team.
  • Support of our liquidity provider partner will be crucial to see a successful launch of Zcash on Thorchain.
  • The need for ongoing automation & maintenance of Zcashd nodes within Thorchain framework, this responsibility will be handed to Thorchain core team after the Zcash bridge software is merged.

Unintended Consequences Downsides

  • Adding support for T-addrs within Unified Addresses after NU5 for interoperability when it becomes available.

Evaluation plan

  • Monitor Zcash pool size and ZEC liquidity deployment by partners.
  • Monitor daily ZEC transaction volume (the existing coins are between $100k & $3M as of July 2021).
  • Monitor number of Thorchain DEX clients integrating Zcash support.

Budget and Payout Timeline

  • $228,260: Software development, planning, evaluation, testing & deployment. (includes 1 year of support till Dec 2022).
Task                     Total   Resources    Cost
Development             120,000      4    $197.37/hr x 608 hrs
Testing + Integration    60,000      3    $98.69/hr x 608 hrs
Planning + Deployment    22,000      2    $36.18/hr x 608 hrs
                      202,000 + 26,260(13% tax) = $228,260
  • $10,000: $2,500 x 4 Thorchain core developers consultation, reviewing Pull Requests and deploying to prod.
  • $20,000: $5,000 x 4 months of multiple large AWS instances to run Thorchain test-net environment.

Total: $258,260 incl. taxes

Note: 1) The pull request review and main-net integration timeline depends on the Thorchain core team side and such delays will affect milestones planned grant. 2) Unused cloud credits will be returned at end of 1yr support.

Applicant background

Nighthawk Apps has more than 30 years of combined experience in developing, deploying & supporting scalable applications for start-ups and Fortune 500 companies. We have been building applications within the cryptocurrency eco-system since 2014 and recently focussed our efforts towards making financial privacy accessible to everyone in the world via Zcash.

Campaign

Started
a year ago
Funding
$258,260 
Funded through  Zomg logo
Proposal was canceled
Initial setup
Build the bridging software
3
Begin testing & deployment Zcash to prod
4
Deliver final integration

Begin testing & deployment Zcash to prod

Estimate: January 2022
Reward: $77,478
Sync with Thorchain team & liquidity partner to deploy Zcash swaps on main-net.