ERC-20 Pricing
thirdweb supports selling NFTs that accept the USDC token for enterprise customers only.
👉 Read our guide on How to Price your NFTs in USDC.
Integration
For thirdweb contracts
- Navigate to the thirdweb dashboard for your contract
- Set the claim condition to price the NFT in USDC.
![](https://files.readme.io/f1bd58f-image.png)
For custom contracts
-
Add the following snippet to your contract (modify as needed):
-
Configure your checkout to accept USDC payment:
- Shareable Checkout Links: When creating the checkout set the Price per NFT currency to USDC.
- One-Time Checkout Links: When creating a One-Time Checkout Link set
mintMethod
with"payment": { "value": "50 * $QUANTITY", currency: "USDC" }
. - Checkout Elements: When creating a Client Secret set
mintMethod
with"payment": { "value": "50 * $QUANTITY", currency: "USDC" }
.
Accepting the correct USDC token
Make sure your contract requests the correct USDC token address from thirdweb. These are the supported USDC token addresses.
- USDC on Mumbai: 0x0fa8781a83e46826621b3bc094ea2a0212e71b23
- USDC on Polygon: 0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
- USDC on Goerli: 0x07865c6E87B9F70255377e024ace6630C1Eaa37F
- USDC on Ethereum: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
- USDC on Optimism: 0x7f5c764cbc14f9669b88837ca1490cca17c31607
FAQ
Do you support other ERC-20 tokens?
thirdweb supports popular ERC-20 (or ERC20) tokens like USDC and WETH. If your NFT is priced in a different token, contact us.