Page cover

❓Custom exchange

Read this guide to learn more about using a custom exchange option for generating your ERC-20 token or using tools.

You can use custom DEXes on 20lab.apparrow-up-right if you want to use exchanges that aren't listed in our default options. If you want to use a DEX that we haven't added yet, you can do this by selecting the "Custom exchange" option and providing valid RouterV2 smart contract address. Follow these steps to make sure you can continue once you choose your DEX:

1. Find the RouterV2 Smart Contract Address

You'll need to find the RouterV2 address and enter it below the "Custom Exchange" drop down menu. Here's how to find it:

  • Go to your DEX's documentation or website

  • Look for a section called "deployed contract addresses" or "smart contracts"

  • Find the RouterV2 address, copy it, and paste it into the correct field

2. Check if Your DEX Has the Right Functions

Don't worry - 20lab automatically checks if your custom exchange has all the functions it needs before creating your ERC-20 token or using tools. Most DEXes that are Uniswap forks will work fine, , unless they've intentionally removed or changed the original functions.

Your custom exchange needs to have these specific functions for your token to be correctly integrated. You need different sets of functions depending on whether you are creating a new ERC-20 token or using ERC-20 tools.

When generating new ERC-20 token

RouterV2 smart contract

Factory smart contract

When using ERC-20 tools

RouterV2 smart contract

circle-exclamation

Last updated