back to home

snapshot-labs / snapshot-v1

V1 interface for Snapshot. Join us on Discord http://discord.snapshot.org

9,160 stars
1,240 forks
36 issues
VueTypeScriptJavaScript

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing snapshot-labs/snapshot-v1 in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/snapshot-labs/snapshot-v1)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center"> <img src="public/icon.svg" height="70" alt="Snapshot Logo"> <h1>Snapshot</h1> <strong>Snapshot is an off-chain gasless multi-governance client with easy to verify and hard to contest results.</strong> </div> <br> <div align="center"> <a href="https://github.com/snapshot-labs/snapshot/actions/workflows/nodejs.yml"> <img src="https://github.com/snapshot-labs/snapshot/actions/workflows/nodejs.yml/badge.svg" alt="Node CI"> </a> <img src="https://img.shields.io/github/commit-activity/w/snapshot-labs/snapshot" alt="GitHub commit activity"> <a href="https://github.com/snapshot-labs/snapshot/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22"> <img src="https://img.shields.io/github/issues/snapshot-labs/snapshot/help wanted" alt="GitHub issues help wanted"> </a> <a href="https://discord.snapshot.org/"> <img src="https://img.shields.io/discord/707079246388133940.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2" alt="Discord"> </a> <a href="https://x.com/SnapshotLabs"> <img src="https://img.shields.io/twitter/follow/SnapshotLabs?label=SnapshotLabs&style=social"> </a> </div> <div align="center"> <br> <a href="https://snapshot.org"><b>snapshot.org »</b></a> <br><br> <a href="https://docs.snapshot.org"><b>Documentation</b></a> • <a href="https://features.snapshot.org/feature-requests"><b>Feature requests</b></a> • <a href="https://docs.snapshot.org/introduction#contributing"><b>Contribute</b></a> </div>

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.