https://github.com/cowprotocol/snapshot-settings
CoW DAO Snapshot Settings 📸
https://github.com/cowprotocol/snapshot-settings
cowdao snapshot
Last synced: 11 months ago
JSON representation
CoW DAO Snapshot Settings 📸
- Host: GitHub
- URL: https://github.com/cowprotocol/snapshot-settings
- Owner: cowprotocol
- Created: 2023-09-06T13:09:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-13T17:23:34.000Z (over 1 year ago)
- Last Synced: 2025-04-12T23:13:46.135Z (about 1 year ago)
- Topics: cowdao, snapshot
- Language: TypeScript
- Homepage: https://vote.cow.fi
- Size: 177 KB
- Stars: 1
- Watchers: 5
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoW DAO Snapshot Settings
This repository stores and tests the snapshot settings for CoW DAO.
## How to update the space settings
1. Update the json file in `src/settings.json` and upload it to IPFS
2. 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)
3. 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
4. Done
> Relevant [docs](https://docs.snapshot.org/user-guides/spaces/create/alternative-way-to-create-a-space) on Snapshot
## Development
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)](https://classic.yarnpkg.com/en/docs/install) 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.
### Install dependencies
```sh
yarn install --frozen
```
### Run tests
```sh
yarn test
```
### Lint code
```sh
yarn lint
```
### Format code
```sh
yarn fmt
```