snapshot-labs /snapshot
V1 interface for Snapshot. Join us on Discord http://discord.snapshot.org
★ 9,075⑂ 1,219
TA的项目
9,075
stars
+-1+-1+-4
1,219
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions
README
Snapshot
Snapshot is an off-chain gasless multi-governance client with easy to verify and hard to contest results.
snapshot.org »
Documentation
•
Feature requests
•
Contribute
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
1. Run docker build -t snapshot . to build the image
2. Run docker run --name snapshot -p 8080:8080 snapshot to run the container
3. Go to http://localhost:8080//fabien.eth to test your code
License
Snapshot is open-sourced software licensed under the © MIT license.