Base on, build upon and code for DAOs.
Make DAO the next generation of productivity tools for global collaboration.
Follow us on Twitter @codefordao.
This project is a work in progress, it has not been audited for code security and is being deployed in local development and test networks at this time. Please use with caution.
The CodeforDAO contract is a set of DAO infrastructure and efficiency tools with member NFT at its core.
It is centered on a set of membership contracts for the ERC721
protocol, the creation of its counterpart share contracts, two parallel governance frameworks and a timelock vault contract.
It introduces some basic features to DAO, including vault contracts for self-service participation in investments, a set of modular frameworks to support aggressive governance.
Read the full documents in this Solidity Repo of CodeforDAO contracts
Before creating virtual environment, please make sure to install Python 3.7.12
using the Python version management tool and activate that version.
python -m venv env
source env/bin/activate
pip install -r requirements.txt
Notice: this project use the latest version of OpenZeppelin contract for Cairo instead of the stable release of it.
nile compile --directory src
Running spec tests where you can find them in ./test
folder
$ pytest tests
Note: these smart contracts are not designed to be library contracts(except Module.cairo
), and you can fork these contracts locally to modify them yourself, rather than importing them directly by a git link.
pip install git+https://github.com/CodeforDAO/cairo-contracts.git
This project is released under the MIT.