Summary: On-Chain Surveys on Cardano with Tessera and CIP-0179
In the 69th edition of the Developers Office Hour, host Darlisa speaks with Matthieu Pizenberg from the Cardano Foundation to explore Tessera, an on-chain survey application built on CIP-0179. The session highlights how this emerging standard enables transparent, decentralized, and verifiable voting and surveys directly on the layer 1 ledger.
The Limitations of Traditional Governance
Currently, on-chain governance actions on Cardano are primarily limited to info actions, which only allow participants to vote “yes,” “no,” or “abstain”. This simple choice structure is not expressive enough for complex questions, such as asking the community which specific improvements they would like to prioritize for an upcoming hard fork. To solve this, Ryan Williams and Thomas developed CIP-0179 to bring structured on-chain surveys and polls to the ecosystem.
The Mechanics of CIP-0179
CIP-0179 operates similarly to how the CIP-25 standard handles metadata for native assets. The standard utilizes transaction metadata at level 17 to publish survey questions and collect responses directly on-chain. Authors can choose to embed the survey content directly within the transaction metadata, or they can store a large set of questions on IPFS and reference it in the metadata.
Tessera supports a wide variety of question formats, including single choice, multi-choice, ranking, label or numeric ratings, and point allocation (such as distributing 10 points among different priorities). Additionally, surveys can be configured with “sealed” visibility. In a sealed survey, individual votes are encrypted while the poll is active to prevent early voting bias, and they are only decrypted and made public for tallying once the survey window closes.
Voter Authentication and Subsidization
To ensure that only eligible roles—such as DReps, Constitutional Committee members, stake pool operators, or stakeholders—can participate, the standard employs two main authentication paths:
- Required Signer: The voter specifies their key in the transaction metadata and must sign the transaction witness to cryptographically prove their identity.
- Governance Action Attachment: If a survey is directly linked to an active governance action, voting on that action as a DRep, stake pool operator, or Constitutional Committee member in the same transaction automatically authenticates the survey metadata response, simplifying the process for script-based credentials.
Because every vote requires a layer 1 transaction, the standard natively supports fee subsidization. A survey creator can run a backend to wrap a voter’s signed payload into a transaction and pay the fees themselves.
Verification, Scalability, and the Future Roadmap
At the end of a survey, Tessera generates a JSON artifact containing the responder roles, weights, and stake distribution snapshots. Anyone can use this to double-check and verify the results against a local node. To make verification lightweight, the team is working with Paulo to integrate Compact Sparse Merkle Trees (CSMT), which will allow auditors to trustlessly verify historical stake distributions using a single Merkle root instead of syncing a full node.
Looking ahead, the roadmap for Tessera includes multi-language support, optional free-text responses, and a fully “liquid scoped delegation model”. This delegation model builds a multi-level graph where users can dynamically delegate their voting power to different domain experts depending on the topic (such as delegating technical questions to a developer and marketing questions to a marketing specialist).
Top Five Q&A (FAQ) about Tessera and CIP-0179
Question 1: What is Tessera and why was CIP-0179 developed?
Answer: Tessera is an on-chain survey application that implements CIP-0179, a standard created by Ryan Williams and Thomas to allow structured, decentralized surveys on Cardano. It was developed because traditional on-chain governance is limited to simple yes/no/abstain votes, which cannot capture complex community feedback on multi-variable topics like protocol parameter changes or hard fork planning.
Question 2: How do “sealed” surveys prevent voting bias?
Answer: In standard public surveys, votes are immediately visible, which can influence subsequent voters. Tessera allows creators to configure “sealed” surveys, where all votes are cryptographically encrypted while the poll is running. Once the survey officially ends, the votes are decrypted and published, allowing a transparent off-chain tally without introducing early voting bias.
Question 3: How are voters securely authenticated on-chain under CIP-0179?
Answer: Voters are authenticated in two ways. First, they can include their key in the transaction metadata and sign the transaction witness, which works for both standard keys and native multisig. Second, if the survey is linked to an active on-chain governance action, a DRep, stake pool operator, or Constitutional Committee member’s vote on that action automatically validates their survey response within the same transaction.
Question 4: Can a survey creator cover the transaction fees for voters?
Answer: Yes, the standard natively supports fee subsidization. The voter simply signs their vote off-chain, and the survey creator uses a backend to wrap that signature into a transaction and pay the required layer 1 fees. The team is also planning a future addendum to batch multiple signatures into a single transaction using message signing, which will drastically lower the cost of subsidizing large-scale polls.
Question 5: What is the “liquid scoped delegation model” on Tessera’s roadmap?
Answer: Liquid scoped delegation is an advanced voting model that allows users to delegate their voting power in a highly targeted manner. Instead of delegating all voting power to a single entity, a user can delegate different categories of questions to different specialized experts (for example, delegating technical protocol questions to a developer, and marketing or budget decisions to a marketing specialist).