the Kickstarter exclusive Crystal variations. Some rewards come with a fixed total supply which sets a hard cap on e.g. Kickstarter/Presale NFTs - do not have a fixed initial total supply since they should be obtainable by all players during a particular Season.Īdmins can end the current season which locks the ability to mint new NFTs from existing Rewards. Most rewards - with the exception of e.g. The power to create new Rewards, Seasons and NFTs rests with the owner of the Admin resource.Īdmins create rewards based on a Season which are stored in the main smart contract, from those rewards, NFTs can then be minted from. Metadata structs associated with rewards are stored in the main smart contract and can be queried by anyone. Users can withdraw and deposit from this collection and get information about the contained Rewards.Īdmin: This is a resource type that can be used by admins to perform various acitions in the smart contract like starting a new season, creating a new reward, and getting a reference to an existing reward. This is the collectible object that the users store in their accounts.Ĭollection: Similar to the NFTCollection resource from the NFT example, this resource is a repository for a user's Rewards. It stores its unique ID and other metadata. NFT: A resource type that is the NFT that represents the Reward a user owns. RewardData: A struct that contains constant information about rewards like the name, the series, the id, and such. Reward: A struct type that holds most of the metadata for the Rewards. The other types that are defined in Chainmonsters are as follows: the place in the edition that this NFT was minted Kickstarter NFTs are Pre-Season and equal 0 the game-season this reward belongs to the ID of the Reward that the NFT comes from Multiple NFTs can be minted from the same reward and each receives a serial number that indicates where in the edition it was minted.Įach Reward is a resource object with roughly the following structure: Additional Pre-Season rewards (25+ NFTs!) are being distributed over time to our Closed Alpha players! Those NFTs will be minted early December once our campaign is over. On the blockchain, each reward is represented by an NFT. In our Kickstarter campaign ( ) users can select several different tiers and receive multiple exclusive rewards in return. We are starting out with our Kickstarter and Pre-Season rewards. The NFTs are grouped into seasons which usually have some overarching theme, exclusive items and rewards. Contract OverviewĮach Chainmonsters NFT represents a Chainmon, item or cosmetic from within the game. Transactions/scripts/ : This contains all the read-only Cadence scripts that are used to read information from the smart contract or from a resource in account storage. Transactions/ : This directory contains all the state-changing transactions that are associated with the Chainmonsters smart contracts. Transactions contain the transactions that various admins and users can use to perform actions in the smart contract like creating rewards and seasons, minting NFTs, and transfering them.Ĭontracts/ : Where the Chainmonsters related smart contracts live. Scripts contain read-only transactions to get information about the state of someones Collection or about the state of the Chainmonsters contract. The directories here are organized into contracts, scripts, and transactions.Ĭontracts contain the source code for the Chainmonsters contracts that are deployed to Flow. This first iteration is based on the Flow Non-Fungible Token standard on Flow Blockchain (October 2020) What is ChainmonstersĬhainmonsters is a massive multiplayer online RPG inspired by monster catching games and our favorite SNES videogames! Realtime multiplayer, cross-platform play across Steam, mobile and consoles, and our player-driven economy truly bring digital assets to life! Directory Structure This repository contains the smart contracts and transactions that implement the core functionality of Chainmonsters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |