After providing details about your contract, you will then determine the logistics of how you want your NFT collection to be minted.
Determining whether a user can buy NFTs on network or not will determine the UI settings that are enabled for your specific NFT collection as shown on the panel statuses below.
To help determine the best path for your collection, let's walk through the different options.
HyperMint offers multiple ways of buying tokens both on-chain and off-chain:
Allow Buying on Network
Do NOT Allow Buying on Network
- 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