Skip to content

ScopeLift/guinea-pig-dao

Repository files navigation

Guinea Pig Logo

Guinea Pig DAO

A fake DAO with real contracts, created for testing cutting edge technology and tooling.

About

Guinea Pig DAO is a "fake" DAO with "real" smart contracts. It's deployed on Ethereum mainnet and uses the same family of governance contracts as many large DAOs. Specifically, Guinea Pig DAO uses the Open Zeppelin implementation of the Compound-style "Governor" contracts, and includes ScopeLift's Flexible Voting extension.

Guinea Pig DAO's raison d'être is to serve as a testbed for cutting edge DAO contracts and tooling. Testing DAO tech and tooling in a realistic scenario can be difficult. Local network and testnet deployments can only go so far. Yet real DAOs have proposal thresholds with real economic costs and long voting periods that make iterative testing challenging. Real DAOs also have real funds at stake and can't afford to take haphazard risks.

With real contracts on Ethereum mainnet, Guinea Pig DAO allows for testing in a realistic environment, including integrations with other onchain infrastructure. At the same time, Guinea Pig DAO has short delays and nothing at stake economically.

Development

This repository uses Foundry. Be sure to have it installed. After cloning the repo, run forge install to install dependencies, forge build to compile the contracts, and forge test to execute the tests.

It's also recommend to install scopelint, which is used in CI. You can run this locally with scopelint fmt and scopelint check. Note that these are supersets of forge fmt and forge fmt --check, so you do not need to run those forge commands when using scopelint.

License

The code in this repository is available under the MIT license, unless otherwise indicated.

Copyright © 2024 ScopeLift

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published