Last active
February 12, 2024 14:09
-
-
Save dmulvi/e071451dee4b9e2ff5398de5c131c78d to your computer and use it in GitHub Desktop.
Example of Crossmint embedded NFT checkout code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { CrossmintPaymentElement } from "@crossmint/client-sdk-react-ui"; | |
<CrossmintPaymentElement | |
projectId="YOUR_PROJECT_ID" | |
collectionId="YOUR_COLLECTION_ID" | |
environment="staging" | |
mintConfig={{ | |
type: "erc-721", | |
totalPrice: "0.001", | |
quantity: "1", | |
}} | |
/>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment