After providing details about your contract, you will then determine the logistics of how you want your NFT collection to be minted.
Select which is your preferred way to mint the collection, through API or through a storefront experience.
HyperMint offers multiple ways of buying tokens both on-chain and off-chain:
Allow users to purchase via Storefront
Mint to Wallet On Request
- Mint To Wallet - Sending a token directly to the user using the HyperMint API.
This method allows a user to connect their wallet to the contract through a browser and call the
buyfunction. This sends funds directly from their wallet to the contract in exchange for the requested token.
The SDK exposes two functions:
buyAuthorisedwhich allow users to buy tokens from the contract. The main difference between these two functions is that
buyAuthorisedallows users to buy during the access list time window. For more details and information on setting up your access list window, visit Minting Time Window.
This method does not directly accept funds from the user. Instead, when you call the HyperMint API, the token is delivered to the user directly.
- Awarding tokens from activity with your product (e.g. game tokens)
- Where you have another means of receiving funds
- As an airdrop
This method allows an end user to buy a token using their credit card or other fiat method. The end user is presented with the MoonPay widget either as an embedded widget or in a new window where they can see the name, image and price of the token to purchase. The end user enters their wallet address for NFT delivery.
Upon completing the flow, the token is delivered to the end wallet. In the background, this implementation is handled by HyperMint using Mint To Wallet.
MoonPay NFT Checkout
The following pricing options for NFTs are achievable on HyperMint: