Integration Guide

This is your guide to integrate with Supercool. In this guide, we'll cover the steps you need to take to sell NFTs via credit card.

Getting started

To get started, you must have a smart contract. The only special requirement for your smart contract is that it's mint function must have a parameter that specifies the wallet receiving the NFT. For example:

// This works:
function mint(address mintTo) public payable;

// This DOES NOT work:
function mint() public payable;

This is necessary so that Supercool can deliver the NFT to the correct wallet.

If you haven't deployed your contract yet, we recommend thirdweb for any Ethereum or Polygon smart contracts.

This integration guide has five steps:

  1. Registering your smart contract with Supercool
  2. Installing the Supercool Checkout Javascript package
  3. Using Supercool Checkout in Test Mode
  4. KYB'ing your project with Supercool
  5. Using Supercool Checkout in Production