Cross Chain Payments

Accepting SOL or ETH

With Crossmint, you can accept Ethereum and Solana as payment for your NFT sales across all chains. For example, you accept ETH in your Solana drop, Solana on your Polygon drop, etc.

How it works

You can choose to accept one or more payment methods from: credit cards, SOL, or ETH. Your customers will be able to pay in any of those methods. You will always receive instant settlements in whichever currency your smart contract is configured with.

420420

The Crossmint button will change to display the currency you'll accept.
Accept ETH on your Solana and Polygon sales

Furthermore, your customers don't need to have a wallet for the blockchain your NFT project is on before buying. When they purchase using Crossmint, a custodial wallet is created automatically and associated with their email address. Later on, once they set up a wallet such as Phantom or MetaMask, they can transfer their NFTs out instantaneously and with zero fees.

Crossmint does the currency conversion automatically, handles minting across chains, handles custodial account creation and NFT exports, and even refunds if the NFT was sold out during transaction. All it takes is 5 lines of code on your front-end.

Integration Guide

We wrote an article that guides you through the process step-by-step. The same guide is applicable for mints with different currencies or chains.

Quick Start Steps

1) Integrate the CrossmintPayButton

Following one of our guides to integrate the CrossmintPayButton into your site or web application:

2) Add the Crossmint Button to your site

This code snippet will allow you to switch the payment method from Credit Cards (the default payment method with Crossmint) to your preferred cryptocurrency.

For example adding paymentMethod="ETH" will produce button that allows purchasing in ETH

<CrossmintPayButton
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="ETH"
/>
<crossmint-pay-button
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="ETH"
/>

3. (optional) Accept multiple crypto currencies

If you wish to support multiple currencies in the same app, you can add one button for each.

For example, to accept ETH, SOL, and fiat currencies:

<CrossmintPayButton
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="ETH"
/>
<CrossmintPayButton
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="SOL"
/>
<CrossmintPayButton
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="fiat"
/>
<crossmint-pay-button
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="ETH"
/>
<crossmint-pay-button
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="SOL"
/>
<crossmint-pay-button
  ...
  clientId="_YOUR_CLIENT_ID_"
  paymentMethod="fiat"
/>