Full-stack blockchain backend for games including wallets, payments, tokenization, and more.
Create invisible wallets for users upon sign-up with your auth or ours
Builk create wallets for existing users via API
Web2 UX - gasless transactions, no prompts
Deploy smart contracts in 40+ chains
Mint, update and burn tokens at scale
Compatible with all main marketplaces
Allow users to buy NFTs and coins with fiat and tokens from any chain
Headless APIs and embedded widgets that feel native to your game
Global coverage and full chargeback protection
Allow users to top up their wallets with cards, Apple or Google Pay
Headless APIs and embedded widgets that feel native to the game
Spin out a new wallet for a user.
Retrieve all the gaming assets of a user, across chains, indexed for millisecond performance.
Send tokens into other wallets, sponsoring gas fees, without requiring transaction approval prompts.
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
USER_EMAIL=<fill_me> | |
CHAIN=<fill_me> | |
curl --request POST \ | |
--url "https://staging.crossmint.com/api/v1-alpha1/wallets" \ | |
--header "Content-Type: application/json" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
--header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--data '{"email": "'$USER_EMAIL'", "chain": "'$CHAIN'"}' |
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
WALLET=<fill_me> | |
CHAIN=<fill_me> | |
curl --request GET \ | |
--url "https://staging.crossmint.com/api/v1-alpha1/wallets/$CHAIN:$WALLET/nfts?page=1&perPage=20" \ | |
--header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
--header "accept: application/json" |
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
CHAIN=<fill_me> | |
TOKEN_ID=<fill_me> | |
FROM_ADDRESS=<fill_me> | |
TO_ADDRESS=<fill_me> | |
TOKEN_MINT_ADDRESS=<fill_me> | |
curl --request POST \ | |
--url "https://staging.crossmint.com/api/v1-alpha1/transfer" \ | |
--header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
--header "Accept: application/json" \ | |
--header "Content-Type: application/json" \ | |
--data ' | |
{ | |
"chain": "'$CHAIN'", | |
"tokenId": "'$TOKEN_ID'", | |
"fromAddress": "'$FROM_ADDRESS'", | |
"toAddress": "'$TO_ADDRESS'", | |
"tokenMintAddress": "'$TOKEN_MINT_ADDRESS'" | |
} | |
' |
Create and manage pre-audited smart contracts with a simple API call.
Create and send in-game assets to any wallet or email address, creating wallets on-the-fly, and sponsoring gas fees for users.
Update the metadata of an NFT with a simple API call.
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
CHAIN=<fill_me> | |
curl --request POST \ | |
--url "https://staging.crossmint.com/api/2022-06-09/collections/" \ | |
--header "Content-Type: application/json" \ | |
--header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
--data ' | |
{ | |
"chain":"$CHAIN", | |
"metadata": { | |
"name": "EtherQuest", | |
"imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png", | |
"description": "A fantasy MMO realm powered by its own dedicated smart contract" | |
} | |
} | |
' |
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
USER_EMAIL=<fill_me> | |
curl --header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
-X POST \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"metadata": { | |
"name": "Shadow Rogue 001", | |
"image": "https://www.crossmint.com/assets/crossmint/logo.png", | |
"description": "A unique character NFT minted using Crossmint Minting API" | |
}, | |
"recipient": "email:'"$USER_EMAIL"':polygon" | |
}' \ | |
"https://staging.crossmint.com/api/2022-06-09/collections/default-polygon/nfts" |
CLIENT_SECRET=<fill_me> | |
PROJECT_ID=<fill_me> | |
COLLECTION_ID=<fill_me> | |
NFT_ID=<fill_me> | |
curl --header "X-CLIENT-SECRET: $CLIENT_SECRET" \ | |
--header "X-PROJECT-ID: $PROJECT_ID" \ | |
--request PATCH \ | |
--header "Content-Type: application/json" \ | |
--data ' | |
{ | |
"metadata": { | |
"name": "Shadow Rogue 001", | |
"image": "https://www.crossmint.com/assets/crossmint/logo.png", | |
"description": "My unique character NFT edited via the mint API!", | |
"attributes": [ | |
{ | |
"display_type": "boost_number", | |
"trait_type": "Speed", | |
"value": "10" | |
} | |
] | |
} | |
}' \ | |
"https://staging.crossmint.com/api/2022-06-09/collections/$COLLECTION_ID/nfts/$NFT_ID" |
Build an in-game checkout with your own style and branding.
Insert a Crossmint button into the game which triggers a pop-up where users can purchase.
Launch a website in seconds, and start selling instantly, in fiat and crypto.
<!-- Add this import line at the top --> | |
<script setup> | |
import { CrossmintPaymentElement } from "@crossmint/client-sdk-vue-ui"; | |
</script> | |
<template> | |
<CrossmintPaymentElement | |
clientId="<YOUR_CLIENT_ID>" | |
environment="<ENVIRONMENT>" | |
:recipient="{ email: '<USERS_EMAIL_ADDRESS>', wallet: '<USERS_WALLET_ADDRESS>' }" | |
currency="<CURRENCY>" | |
locale="<LANGUAGE>" | |
:ui-config="{ | |
colors: { | |
background: '#000814', | |
backgroundSecondary: '#001D3D', | |
backgroundTertiary: '#EEEEEE', | |
textPrimary: '#FFFFFF', | |
textSecondary: '#EEEEEE', | |
accent: '#FFC300', | |
danger: '#FFC300', | |
textLink: '#FFC300' | |
}, | |
fontSizeBase: '0.91rem', | |
spacingUnit: '0.274rem', | |
borderRadius: '4px', | |
fontWeightPrimary: '400', | |
fontWeightSecondary: '500' | |
}" | |
:mint-config="{ | |
type: 'erc-721', | |
quantity: <NUMBER_OF_NFTS>, | |
totalPrice: <PRICE_IN_NATIVE_TOKEN>, | |
// your custom minting arguments... | |
}" | |
@event="onEvent" | |
/> | |
</template> |
// Add this import line at the top | |
import { CrossmintPayButton } from "@crossmint/client-sdk-react-ui"; | |
// Add this component next to your minting button | |
<CrossmintPayButton | |
clientId="<YOUR_CLIENT_ID>" | |
environment="<ENVIRONMENT>" | |
mintConfig={{ | |
type: "candy-machine", | |
quantity: 5, // The amount of NFTs you would like to mint per order. | |
}} | |
/> |
Start building with Crossmint today