Providing Liquidity Using Router Contract
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 UIOf 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.
caution
The router address is the Router Contract address, not the router signer EOA address!
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 TokensWe 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
.
#
Monitoring LiquidityYou can find your router on https://connextscan.io and monitor the liquidity and all transactions!