Skip to main content

Providing Liquidity

Router operators must provide liquidity to the network in order to operate. This is done by calling the addLiquidityFor method on the TransactionManager contract.

Using the UI#

Of course, you can always directly interact with the contracts to provide liquidity using Etherscan or other similar tools. To make things easier, we have provided the NXTP Test UI which allows you to view and add liquidity for your router. Navigate to the "Router" tab for convenient liquidity management functionality.

info

Testnets are freely open to routers to add liquidity. However, mainnet routers and assets are still permissioned temporarily. Please contact the Connext team to get your router and assets whitelisted!

Add liquidity for both sides of the swap, based on your configured swap pools. Make sure to also add sufficient gas.

note

You do not need to use the router's private key to do this. The addLiquidityFor method will pull funds from your connected wallet and assign them to the specified router.

Test Tokens#

We have deployed test tokens to all testnet chains that can be used to easily test routers. These tokens are mintable. The token addresses are listed in this file as TestERC20.