This repository stores and tests the snapshot settings for CoW DAO.
- Update the json file in
src/settings.json
and upload it to IPFS - Update the ENS
snapshot
text record to point to the new file (for testing this could be done on any space like cowtesting.eth, for production, this needs to happen through a governance proposal on cow.eth) - Once the above transaction is successful, update the below link with your ENS domain and paste it in the browser to update the space settings: https://hub.snapshot.org/api/spaces/YOUR_ENS_DOMAIN/poke
- Done
Relevant docs on Snapshot
The code in this repo provides tests to verify that the settings are well-formed. New changes are automatically tested with GitHub Actions.
It requires Yarn 1 (classic) to be installed.
Once any changes have been merged into main
, the settings.json
will be automatically uploaded and pinned to IPFS. The resultant CID can be used to inform the transaction for replacing the snapshot
TXT record on the ENS domain.
yarn install --frozen
yarn test
yarn lint
yarn fmt