FAQ

Where can I find the the supported chains, assets, domainIDs, and Connext contracts?

An updated list can be found in Deployments.

What are token "flavors"?

How do I find the canonical details of a token?

The canonical domainId and tokenId of a token can be found by calling the getTokenId function of TokenRegistry.

Example:

  • The token of interest is TestERC20 (0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1) on Goerli. We want to figure out its canonical domainId and tokenId.

  • Find the Connext contract address on Goerli from here, click its link to open up the Diamond Inspector on Louper.

  • Find the TokenFacet and click the "Read" button.

  • Select the getTokenId method and input the TestERC20 address to obtain its canonical details.

  • Alternatively, you can call getTokenId using a tool like Foundry's cast to read from the contract.

    Returns:

What if I just want to test the destination-side target function?

If there’s no token transfer involved then just set transactingAssetId: address(0) and amount: 0.

Do I need to do anything with the AMB contracts?

No, you do not need to deploy or even interact with AMB contracts directly.

Last updated