Add support for cross-chain payments with just one extra line of code
Cross-chain payments allows clients to purchase your listed NFT with either Solana or Ethereum. The NFT could be listed on Polygon and using Crossmint, you’re able to accept Solana as a valid form of payment. Defining the type of accepted form of payment is a single field you must set in the button code. Yes, it’s as simple as that.
The process to set up cross-chain payments is the same as fiat. Simply duplicate the payment button and add
paymentMethod="XX" at the end of the SDK.
The paymentMethods supported right now are
SOL. For illustration,
ETH will enable buyers to purchase NFTs of any supported chain paying with Ethereum.
<CrossmintPayButton ... clientId="_YOUR_CLIENT_ID_" paymentMethod="ETH" />
<crossmint-pay-button ... clientId="_YOUR_CLIENT_ID_" paymentMethod="ETH" />
If you have a chain you would like to use to accept payments to or pay using a different chain that isn’t listed on this page, reach out to us and we’ll try our best to accommodate your needs or provide alternative solutions.
Updated about 1 month ago