Fiat NFT checkout with thirdweb Engine

This guide demonstrates using thirdweb Engine to sell NFTs with credit card.

  1. Buyers pays with credit card.
  2. Upon payment, your backend calls Engine.
  3. Engine mints an NFT to the buyer's wallet.

The buyer receives the NFT without requiring wallet signatures or gas funds.

Instructions

Read the full guide.

  1. Create a .env.local file from the template:
    cp .env.example .env.local
  2. Provide details of your project.
    ENGINE_URL=https://...
    THIRDWEB_CLIENT_ID=0123...
    THIRDWEB_SECRET_KEY=AaBb...
    BACKEND_WALLET_ADDRESS=0x...
    NFT_CONTRACT_ADDRESS=0x...
  3. Start the server with favorite package manager.
    bun dev

Get in touch