gamedaoco / gamedao-protocol

GameDAO Protocol
https://docs.gamedao.co
Apache License 2.0
12 stars 4 forks source link

Add a single collectible to a reward (BE) #90

Open EDzidziguri opened 2 years ago

EDzidziguri commented 2 years ago

Statement of Value

As a Creator I want to add a collectible to a reward So that a Contributor will be able to earn it by investing in my campaign

———

Acceptance Criteria

  1. A Creator must be able to create a collectible within a reward with the following attributes: 1.1. sn 1.2. id 1.3. collection (A collectible must be minted from a collection which must be created automatically for each DAO in BE) 1.4. symbol 1.5. Name (A user will indicate a value of this parameter on UI) 1.6. Description (A user will indicate a value of this parameter on UI) 1.7. Metadata. Collectible file. (A user will upload this file on UI). • File types supported: AAC, AVI, BMP, FLAC, GIF, GLB, HEIC, ICO, JPG, JSON, M4V, MOV, MP3, MP4, MPEG, OGG, PDF, PNG, SVG, TIFF, WAV, WEBM, WEBP. • Max file size: 30 MB 1.8. Royalty percent float (A user will indicate a value of this parameter on UI) 1.9. Royalty receiver (This must be a user who creates a reward) 1.10. Quantity: • Unlimited(A user won't indicate q-ty on UI) (unlimited number of Contributors will be able to earn a collectible)Limited (A user will indicate a number which is greater than 0 on UI) (limited number of Contributors will be able to earn a collectible) 1.11. Minimum funding amount (if the amount of contribution is less than a min. funding amount, then this contribution is not eligible for a reward) 1.12. Thumbnail. (A user will upload this file on UI). • File types supported: JPG, PNG, SVG. • Max file size: 30 MB 1.13. Custom attribute. 100 custom attributes max can be created for one collectible. (A user will indicate a name and a value of this parameter on UI).

  2. Collection must be created for each DAO with the following attributes: 2.1. id 2.2. Name (The name of the DAO must be used here) 2.3. Description (The description of the DAO must be used here) 2.4. Collection max (How many NFTs will ever belong to this collection). 0 must be set by default. 2.5. Issuer (Issuer's address (can be different than minter) 2.6. Symbol (Ticker symbol by which to represent the token in wallets and UIs (e.g. "ZOMB")) 2.7. Metadata (The image of the DAO must be used here) • File types supported: JPG, PNG. • Max file size: 30 MB

  3. Multiple collectibles can be minted from one collection.

  4. Multiple collectibles can be added to one reward.

———

Additional Information

High-level process

Screenshot 2022-10-03 at 22 13 16

Specification Domain model, data dictionary can be found here.

User flows User flows that outline the detailed process can be found here.

vovacha commented 2 years ago

Moved: https://github.com/playzero/zero-network/issues/188