Doki Doki
  • Overview
    • Key features
    • Protocol Fees
    • FAQ
  • Tutorials
    • How to create NFT Gacha
    • How to remove NFTs from Gacha
    • How to freeze metadata for NFTs minted on Opensea
    • How to add special rules to your Gacha using .CSV file
  • Resources
    • For developers
      • Supported token URI values
      • Supported metadata structures
      • Solidity Interfaces and ABIs
    • Brand & Media Kit
    • Disclaimer
    • Customizations
  • Integrations & Partnerships
    • Chainbinders
    • Unicly (uDOKI)
Powered by GitBook
On this page

Was this helpful?

  1. Tutorials

How to add special rules to your Gacha using .CSV file

PreviousHow to freeze metadata for NFTs minted on OpenseaNextFor developers

Last updated 2 years ago

Was this helpful?

You can add special rules for specific wallet addresses such as allowlists to restrict access, discounted plays, and free plays by uploading a .CSV file with three columns:

  • address = wallet address of users you wish to apply rule to

  • playcount = number of times each address can play

  • price = the price user can play for:

    • blank = current set price

    • 0 = free

The easiest way to create a .CSV file is to do so in a spreadsheet such as google sheets or Excel.

Example:

Once you have filled out your spreadsheet, you can export it as a .CSV file as shown below:

Google Sheets: File -> Download -> Comma Separated Values (.CSV)

Microsoft Excel: File -> Export -> Change File Type -> CSV (Comma Delimited)