← All calls
ARBORIST#52

Zebra rc.8 and ZSA stablecoins

The Zebra audit is wrapping up without major problems, and the possibility of ZSA stablecoins was discussed.

Agenda summary 6

  1. Zebra rc.8 and audit wrap-up

    Zcash Foundation · Arya, Dodger

    • The last few audit findings are being handled. rc.8 includes an end-of-support halt that stops running 16 weeks after the last release, like zcashd.
    • rc.8 includes ZIP 317 rules for mempool transactions, a security fix for inbound service overload, a fix for a rare panic on disconnect, and improved handling of random-number errors in cryptographic code.
    • It rejects nodes using the Zclassic port and automatically selects the testnet listener port.
    • After rc.8, a PR was merged that excludes IP addresses and sensitive information from logs and limits the rate and size of peer transaction ID messages. Zebra no longer panics on requests for very large heights, and documentation on supported platforms and versioning was added to the Zebra book.
    • The audit has found no major problems yet. Dodger assessed it as showing the benefit of implementing the node from scratch without Bitcoin's legacy.
  2. Zcashd fast sync preparation and the 5.5.1 hotfix

    Electric Coin Company · Str4d, Daira, Teor

    • The team is focused on crate changes for the mobile SDK's fast sync. The key is the shardtree crate, the skeleton of the new wallet tree update system. In zcashd, large PRs exposing the data are under review.
    • A PR for a candidate new RPC from which lightwalletd will fetch the data was posted. Once the data for this RPC is prepared and cached in the zcashd DB, the zcashd side is done and the work moves to the mobile SDK.
    • lightwalletd gets a new gRPC, and the SDK falls back to the existing linear scan if it is absent, so it is backward compatible. Teor said they want Zebra to be able to make changes such as state-layer indexes on its own schedule.
    • A new balance RPC showing the whole zcashd wallet balance may go into the next release.
    • 5.5.1 is a hotfix for two bugs: a ZIP 317 fee calculation error for transactions with many transparent inputs, and a crash when transparent change is needed but there is no policy.
  3. FROST update: performance optimization and Zcash transaction signing demo

    Zcash Foundation · Conrado

    • The core features of the FROST library are complete, have been refactored, and will soon be audited.
    • The part for signing Zcash transactions with FROST is being put into the demo. Code to create a transaction and sign it externally already exists, and integrating it with FROST remains.
    • A PR improving FROST performance with multi-scalar multiplication was merged. The more shares there are, the faster signature generation and aggregation become, and a blog post is being written. A workshop presentation for wallet developers is also being prepared.
  4. Open discussion: ZSA-based stablecoins

    Daira, Nate, Str4d, Dodger, Teor

    • Daira thought a ZSA stablecoin, as raised on the forum, is difficult because of regulation. Nate said demand is clear and they want to pursue a private stablecoin by whatever means are possible.
    • Str4d said that because ZSA swaps can happen at arbitrary ratios inside shielded transactions, a stablecoin would need a big change tying in a fixed exchange rate. They said an algorithmic type needs programmability and is not possible with ZSA.
    • Daira and Dodger said that if the model is a centralized issuer guaranteeing the exchange rate, there is no need to prevent trades at different rates between individuals, only to remove the incentive. Nate assumed that initially stablecoins issued on other chains would be bridged.
    • Dodger said that after ZSA launches, nothing can prevent someone from anonymously issuing a centralized stablecoin. Daira said not to underestimate rug-pull risk and legal and denial-of-service attacks, and Str4d said the regulatory touchpoint is the exchange point.
  5. ZSA stablecoin discussion: risks and design approaches

    Daira, Nate, Str4d, Dodger, Teor

    • Teor said relying only on game theory misses external incentives. Daira mentioned the Ethereum case where the protocol broke because MEV was larger than slashing.
    • Nate gave as an example designs like MakerDAO's DAI that rely on oracles and auction-based collateral liquidation.
    • New protocols using threshold signatures and Penumbra's private exchange were also mentioned, and Daira shared a paper on how private auctions are hard.
  6. Open discussion: coordinating network upgrades

    Electric Coin Company · Nate, Dodger

    • Nate reminded everyone that starting in June, discussions will begin among several development organizations on coordinating protocol changes and network upgrades. Shielded Labs asked about the process for protocol changes for the sustainability fund, and was told to come to the June discussion.
    • Dodger said the first step is to attend this call, explain the plan and see the community's reaction. In the end, the consensus of the Zcash community must be followed. The NU5 retrospective will also be included early in the discussion.
    • The time and format of the Arborist call will be changed after Zcon, and at least one call will be canceled during Zcon week.

This summary is based on the original meeting notes; check them for exact details.