Skip to content

Instantly share code, notes, and snippets.

@bonustrack
Created October 21, 2021 15:27
Show Gist options
  • Save bonustrack/851547cee8eafcccba54074967b48318 to your computer and use it in GitHub Desktop.
Save bonustrack/851547cee8eafcccba54074967b48318 to your computer and use it in GitHub Desktop.
Voting with NFT

1. Register a domain on ENS

Head to this website https://app.ens.domains to register a new domain

2. Create a Snapshot space

  • Go on this page https://snapshot.org/#/setup
  • Connect your wallet (the same one used to register the ENS domain)
  • Type the ENS domain on the page and click Next
  • Click on the copy icon to copy the IPNS url
  • Click on "Set record on ENS"
  • Store the IPNS link as TEXT record using "snapshot" key

Video guide: https://www.youtube.com/watch?v=oa6WCvnWLBc Documentation: https://docs.snapshot.org/spaces/create

3. Add NFT collection as voting power

  • On the space settings page in the "Strategies" section, click on "Add strategy"
  • Select the strategy "erc712"
  • Change the params "address" with your NFT collection contract address
  • Change the symbol with your NFT collection symbol
  • Click "Save" on the modal
  • Click "Save" on the page

And you are all set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment