/governance

The smart contract for fully on-chain democratized governance on StarkNet.

Primary LanguageCairoMIT LicenseMIT

This is a rewrite of Carmine Governance contracts to Cairo 1.0, while also making them generic and useful for the rest of the community.

This first version attempts to preserve interface- and storage-compatibility with Cairo 0 code for a seamless upgrade, which is why it often doesn't use the correct data types or all the features offered by Cairo 1.0.

Setup

Run this in a Devcontainer or on Codespaces in VSCode. Cairo, Scarb and the Cairo extension comes installed.

Useful links

C1.0 docs

StarkNet docs