Custom ERC-20

Learn how to add and accept your own custom ERC-20 token as a form of payment for your NFTs.

Before starting your sale in your collection, you must install the ERC-20 app to your collection and add the custom token to your contract.

Step 1: Install the ERC-20 App

Make sure you have installed the ERC-20 app to your collection before proceeding to the next step. To install:

Apps you can install with your Diamond Contract in NiftyKit

Step 2: Verify Token Existence

Ensure that your custom ERC-20 token exists on the Ethereum network where your NFT collection is deployed.

Step 3: Access your Contract via louper.devarrow-up-right

Go to louper.devarrow-up-right, the platform where you can configure the Smart Contract of your NFT Collection. Access our contract by searching your contract address

Searching Your Contract in louper.dev

Step 4: Add the Custom ERC-20 Token

Within louper.dev, you need to:

  • Navigate to the "Write" function, find the option named "erc20SetActiveToken."

  • Enter the tokenAddress of your custom ERC-20 token into this field. This specifies which token will be accepted as payment for NFTs in your collection.

  • "Execute" to confirm the transaction.

circle-info

Make sure the wallet connected is the collection owner and the token exists on the network

Adding custom ERC-20 token in your contract via louper

Step 5: Refresh the Collection Dashboard

Custom Token added to your collection dashboard

Step 6: Verify Custom Token

Click edit and check your custom ERC-20 token is now listed.

Step 7: Adjust Sale Settings

You can activate the sale of your NFTs via the [Prepare Drop Button]. You will still have the option to use either the base token (e.g., ETH) or an app token (e.g., apeCoin) according to your preferences

triangle-exclamation
Starting your Pre-sale or Public Sale
Choosing your Custom ERC-20 Token to accept as payment for your NFT Sales

Note on USD Conversion

Please note that custom tokens may not display a USD conversion in the user interface for the Drop Sale (start sale) dialog or the Mint Checkout dialog.

The default will be to show the Tokens Total + Mint Fee ($USD Total)

Last updated