This guide demonstrates using thirdweb Engine to sell NFTs with credit card.
- Buyers pays with credit card.
- Upon payment, your backend calls Engine.
- Engine mints an NFT to the buyer's wallet.
The buyer receives the NFT without requiring wallet signatures or gas funds.
- Create a
.env.local
file from the template:cp .env.example .env.local
- Provide details of your project.
ENGINE_URL=https://... THIRDWEB_CLIENT_ID=0123... THIRDWEB_SECRET_KEY=AaBb... BACKEND_WALLET_ADDRESS=0x... NFT_CONTRACT_ADDRESS=0x...
- Start the server with favorite package manager.
bun dev
- Support: Join the Discord
- Twitter: @thirdweb