How to set up Crossmint if your collection is denominated in USDC
Chain | Network | USDC Token Address | USDXM Token Address |
---|
nonpayable
.totalPrice
attribute in the callData
of your lineItems
should be in units of USDC. If your intended price is 100 USD, then you will set totalPrice
to 100
e.g. totalPrice="100"
.msg.sender
instead of the address parameter. This allows Crossmint to pay from our fleet of treasury wallets and deliver the NFTs directly to the user’s wallet. See an example mint function below.totalPrice
attribute in the callData
of your lineItems
should be in units of USDC. If your intended price is 100 USD, then you will set totalPrice
to 100
e.g. totalPrice="100"
.Using a thirdweb contract?
USDC
. In staging. you must use Custom ERC-20
and specify one of the token address listed above. In mainnet, you should select the default USDC option.