Skip to content
C

Continuum Cross-chain Governance

An OpenZeppelin Governor adapted smart contract system that has cross-chain messaging capabilities, allowing voters on one chain to trustlessly execute transactions on another chain.

Created on 21st April 2024

C

Continuum Cross-chain Governance

An OpenZeppelin Governor adapted smart contract system that has cross-chain messaging capabilities, allowing voters on one chain to trustlessly execute transactions on another chain.

The problem Continuum Cross-chain Governance solves

OpenZeppelin Governor

Currently, we can use OpenZeppelin Governor to vote on transaction(s) to be executed on a given chain. Participants of a DAO can make a proposal, have their peers vote for or against, and if successful, execute the result of the transaction on-chain, such as transferring ETH, altering contract state or upgrading a contract.

Continuum Network

The Continuum, which is one such DAO, runs fully transparent multi-party computation (MPC) nodes to validate inter-chain messaging. Anyone can permissionlessly build a DApp on top of this network, such as a token or an NFT router.

Cross-chain Governor

What the cross-chain Governor allows DAOs to do is hold a vote on one chain, and if it passes, execute the result on another chain. The contracts I have built bridge this gap between source chain Governor, and destination chain(s) target address. Now projects whose influence spans multiple EVM chains can operate it all from a single on-chain DAO.

The beauty in this solution is in its simplicity and its indifference to the unique mechanics of the given DAOs Governor contract. Even if the DAO is already deployed, this cross-chain governance system can easily be deployed and integrated!

Challenges I ran into

Key Challenges

This is my first Hackathon, so it was a steep learning curve for me!

Beyond that, the Continuum MPC network is completely new (alpha testnet) and so the frontend infrastructure for registering dApps and tracing cross chain transactions is not yet complete. This hackathon entry is one the very first dApps to be deployed. I had to learn how to interact with the MPC network

The Continuum message passing system is called C3Caller and it is a piece of middleware that can be used between any blockchain that supports contracts (EVMs, Solana, COSMOS etc.), but it is hard to show the operation of the system with a nice frontend, so I had to resort to scripts. I hope that is OK. If I had more time I could have built a frontend to show more, but I was working alone.

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio