Zcash ZIPs
Theme
Appearance
Contents

Unnumbered proposal

Zcash DAO Mechanism

Draft

Terminology

The key words “MUST”, “REQUIRED”, “MUST NOT”, “SHOULD”, and “MAY” in this document are to be interpreted as described in BCP 14 1 when, and only when, they appear in all capitals.

The terms “Mainnet” and “Testnet” in this document are to be interpreted as defined in the Zcash protocol specification 2.

Abstract

This proposal specifies a mechanism to manage a Decentralized Autonomous Organization (DAO) using Zcash shielded addresses.

Motivation

The Zcash community needs a mechanism to:

The need to address this problem is pressing, which means that handling this through a protocol change or a network upgrade could not be done in a timely manner.

This proposal specifies a Decentralized Autonomous Organization (DAO) with the aim of minimizing any additional development needed to meet the following objectives:

  1. DAO information is decentralized: 1.1. Record membership of the DAO on-chain 1.2. Record proposals on-chain 1.3. Record votes on-chain
  2. Use the existing Zcash protocol (does not require ZSAs, programmability or a different transaction format)
  3. Remain flexible so it’s applicable to different stakeholders and governance models
  4. Existing wallets can interact with the DAO in their current state (Payment URI3 support is highly recommended)

Specification

Member

A member of the DAO is identified by their Zcash unified address and a minisign public key (UA/PK pair) that is used to validate their interactions with the DAO. This approach minimizes the amount of information that needs to be stored about each member while allowing the DAO to validate that proposals and votes were provided by the member. This approach also allows for recursive structures, where a UA/PK pair may be controlled by a sub-DAO that may define its own separate charter and still participate in the main DAO.

DAO Creation

Founding members create 3 Zcash unified addresses with at least an Orchard receiver (optionally, using FROST threshold signatures):

Founders create the DAO Charter, a.k.a. “Proposal 0” where they determine:

Founders record the charter on the Zcash blockchain by sending a transaction to the PA with a memo as defined in Proposals.

Founders record their signing of the DAO Charter by creating their membership records in MA as defined in Membership.

The founders may now distribute Incoming Viewing Keys of the MA, PA and VA addresses as needed for proposal validation and voting verification.

Membership

To request membership, a Zcasher would create a proposal providing their Zcash address, their minisign public key and meet any other requirements established by the DAO Charter. The prospective member would need to request an existing DAO member to submit the proposal to the DAO on their behalf and act as their sponsor. More than one sponsor may be required if Sybil-resistance is a concern.

Membership to the DAO is recorded by sending a transaction to MA with a memo that contains:

A membership record is valid when:

Proposals

A proposal is submitted to the DAO by sending a transaction to the PA with a memo that contains:

The proposal file must include:

Options:
1. Yes
2. No

Or

Options:
1. Red
2. Green
3. Blue

Voting

A vote is submitted to the DAO by sending a transaction to the VA with a memo that contains:

Votes are valid when:

If multiple valid votes are found on chain for the same member, the vote with the highest blockheight that is less than the deadline blockheight is considered the final vote and supersedes all previous votes.

Signatures

Cryptographic signatures are used to ensure:

We propose using the minisign tool to create these signatures, as it uses modern cryptography, is readily available in multiple platforms, there are implementations in multiple programming languages and it produces a small file that is easy to distribute.

For our proposed DAO mechanism, the minisign feature of “trusted comment” (a line of text that is cryptographically signed) must be used to include the Zcash address of the member originating the signature. If the trusted comment in the signature file does not include a Zcash address or if the Zcash address is not registered in MA, the signature is not valid.

Acknowledgements

This proposed DAO mechanism was inspired by the proposed ECC on-chain accountable voting4.

References