README.md
October 26, 2024 · View on GitHub
Snapshot
Snapshot is an off-chain gasless multi-governance client with easy to verify and hard to contest results.Project setup
yarn
Compiles and hot-reloads for development
yarn dev
Compiles and minifies for production
yarn build
Lints and fixes files
yarn run lint
Development Guide
Use http://localhost:8080/#/fabien.eth for testing your code.
By default your instance will connect to the hub at https://testnet.hub.snapshot.org. To change that (or other values) you can create a .env.local and overwrite the values from .env.
Running service locally with Docker
- Run
docker build -t snapshot .to build the image - Run
docker run --name snapshot -p 8080:8080 snapshotto run the container - Go to
http://localhost:8080/#/fabien.ethto test your code
License
Snapshot is open-sourced software licensed under the © MIT license.