Emerald City
  • Welcome to Emerald City
  • Products
    • 🐦Toucans
      • Risks
      • How to Set up your Wallet
      • Add your Token to DEX
    • 🎟️FLOAT
    • πŸ€–Emerald bot
      • βœ…Verification
        • πŸ™ŠVerify User Assets
        • ⛏️Verify Touchstone NFTs
        • 🐦Verify Toucans
      • πŸ—³οΈVoting
        • πŸ™ŠNFT Voting
        • πŸͺ™Token Voting
        • 🐦Toucans Voting
      • πŸ—ΊοΈDiscovery
        • Identify User
        • Wallet Information
        • Users with Role
        • Users in a Channel
      • πŸŸͺDapper Sports
        • πŸ€NBA/WNBA TopShot
        • 🏈NFL All Day
        • πŸ‘ŠUFC Strike
      • πŸ’°Tipping
    • ⛏️Touchstone
  • Education
    • πŸ“šEmerald Academy
  • Auditing
    • πŸ›‘οΈShield
      • Contract Auditing
      • Transaction Auditing
  • Developer Tooling
    • πŸ’»Helpful Tools
Powered by GitBook
On this page
  • Command 1 - NFT Catalog
  • Command 2 - Any NFT
  1. Products
  2. Emerald bot
  3. Voting

NFT Voting

Set up an NFT-weighted vote directly in Discord.

PreviousVotingNextToken Voting

Last updated 1 year ago

Before reading below, make sure you have invited the Emerald bot to your Discord server using .

There are 2 commands you can use to start an NFT Vote depending on if your NFT is in the or not.

Command 1 - NFT Catalog

This is what you should use if your NFT is in the .

/vote nft catalog

Inputs

  1. identifier - The collection identifier (ex. Flunks). The bot will auto suggest options if you start typing them in.

  2. option_1 - The first option users can vote for.

  3. option_2 - The second option users can vote for.

  4. role - the Discord role a citizen must have in order to vote (put @everyone if you want everyone to vote)

  5. title - the title of the vote

  6. description - the description of the vote

  7. weighted - put True if you want a citizen's vote to count based on the # of NFTs they have. Put False if you want everyone's vote to be worth 1 no matter how many NFTs they have (they must have >= 1)

  8. hide_results - If true, users must vote in order to see vote results. If false, they can view results at any time.

  9. (OPTIONAL) end_date - Set a date (in ) for when the vote should automatically end.

  10. (OPTIONAL) options 3 - 6 - Set additional options for users to vote for.

Command 2 - Any NFT

/vote nft generic

Inputs

  1. contractname - The name of the contract

  2. contractaddress - The address of where the contract is deployed

  3. publicpath - The public path of the NFT Collection (ex. If the public path is /public/FLOATCollection, you would input FLOATCollection).

  4. option_1 - The first option users can vote for.

  5. option_2 - The second option users can vote for.

  6. role - the Discord role a citizen must have in order to vote (put @everyone if you want everyone to vote)

  7. title - the title of the vote

  8. description - the description of the vote

  9. weighted - put True if you want a citizen's vote to count based on the # of NFTs they have. Put False if you want everyone's vote to be worth 1 no matter how many NFTs they have (they must have >= 1)

  10. hide_results - If true, users must vote in order to see vote results. If false, they can view results at any time.

  11. (OPTIONAL) options 3 - 6 - Set additional options for users to vote for.

This is what you should use if your NFT is not in the .

(OPTIONAL) end_date - Set a date (in ) for when the vote should automatically end.

πŸ€–
πŸ—³οΈ
πŸ™Š
this link
NFT Catalog
NFT Catalog
UNIX timestamp
NFT Catalog
UNIX timestamp