Tweed's Interactive Modal Integration
Integration guidelines for NFT Checkout feature
Specify whether you want to be paid out in fiat or in crypto in the NFT_INFO
object.
You must fill out either priceInCrypto
or priceInCents
for each Token.
You can only be paid out in crypto or in fiat for each Token, not a combination of both for each Token. You can, however, have a mixture of Tokens paid out in crypto and Tokens paid out in fiat. See Payout Setup for more details.
Smart Contract Prerequisites
We don't have any limitations on how your contract looks or how many arguments your mint
function uses.
There are only two prerequisites:
Our claimer needs to have a minter role in the contract.
In case you want to get settled in native crypto currency, the mint function needs to be payable.
The abi
parameter should contain the name of the function and its arguments declerations,
similar to the following example:
safeMint(sendTo address, tokenId uint256, tokenUri string)
.
The arguments needs to get populated into thecustomMintParams
object like so:
Tezos integration consideration
In the
abi
parameter of theNFT_INFO
only the function name is needed without the list of paramsThe
customMintParams
parameter will hold the list of arguments the function in theabi
gets and translate them to their michelson representationFor ex:
Last updated