Skip to content

blockful/copeland-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copeland Visualizer

General-purpose frontend for visualizing Snapshot proposals that use Copeland ranked-choice voting.

Usage

The app reads the DAO space and proposal from URL query params:

/?space=ens.eth&proposal=0xe4e1c052b2ea4f640cab27ddec326df6290d8996a9219b60cda4c4d4509f5f9a

It fetches proposal data and votes from Snapshot, computes Copeland pairwise results locally, resolves ENS names for voters, and renders:

  • ranked Copeland results
  • pairwise matchup matrix
  • head-to-head detail drawer
  • all ballots sorted by voting power or timestamp

Development

npm install
npm run dev

Verification

npm test
npm run build

Releases

No releases published

Packages

 
 
 

Contributors