question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error creating NxtpSdkConfig

See original GitHub issue

Describe the bug Using @connext/nxtp-sdk@0.2.0-beta.17. When create NxtpSdkConfig, ran into error: No domainId was found for the following chains: 0, 3, 10, 25, 56, 69, 97, 100, 122, 128, 137, 250, 288, 1285, 2221, 9001, 43113, 43114, 42161, 42170, 421611, 192837465, 1666600000; Continuing without indexing these chains. No Connext contract address for domain 3331.

To Reproduce Steps to reproduce the behavior:

  1. Create NXTPConfig:
const nxtpConfig: NxtpSdkConfig = {
      logLevel: "info",
      signerAddress,
      chains: {
            "1111": {
		"assets": [
		     {
			"name": "TEST",
			"symbol": "TEST",
			"address": "0x3FFc03F05D1869f493c7dbf913E636C6280e0ff9"
		     },
		     {
			"name": "madWETH",
			"symbol": "TWETH",
			"address": "0xF25927315D101aC04C631878570152658defa7Db"
		     }
		],
	        "providers": ["https://rinkeby.infura.io/v3/d2560cac8f5645fba802260cf1f8c777", "https://rpc.ankr.com/eth_rinkeby"]
	    },
	    "3331": {
		"assets": [
		     {
			"name": "TEST",
			"symbol": "TEST",
			"address": "0x26FE8a8f86511d678d031a022E48FfF41c6a3e3b"
		      }
		 ],
		"providers": ["https://goerli.infura.io/v3/d2560cac8f5645fba802260cf1f8c777"]
	     }
       },
       network: 'testnet',
       environment: 'production'
   };
  1. const {nxtpSdkBase} = await create(nxtpConfig);

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
just-a-nodecommented, Aug 24, 2022

Nice digging - we did update domains in preparation for a major upgrade and we don’t expect things to work on current testnet since everything is going to be redeployed very soon. See https://blog.connext.network/amarok-amb-update-77f142c22db3 for more details.

Please join us in our discord as we’ll announce when new testnet is ready (the docs you were following will also be updated at that time).

0reactions
HenryHengZJcommented, Aug 24, 2022

Was following the SDK Quickstart, when execute yarn xtransfer error was thrown No Connext contract address for domain 3331. Tracing back to source code, looks like its using this json in function getChainData(). From the json file, Goerli has domainId of "1735353714" instead of "3331" which was specified in Nomad. Replacing that fixes the issue. I can see xCall transaction created from the log. However the transaction failed, example tx on Rinkeby. But this is a separate issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

connext/nxtp: Connext is a modular stack for trust- ...
Setup Environment, by initiating the build: yarn && yarn build:all. Here yarn : Install deps, create symlinks, hoist packages. & yarn build ...
Read more >
Installation & Setup
Learn more about installing and setting up Connext to make your dApp interoperable and to send cross-chain requests.
Read more >
Connext NXTP — Noncustodial Xchain Transfer Protocol
Executive Summary This report presents the results of our engagement with Connext to review their NXTP protocol for crosschain transfers.
Read more >
Quickstart | Connext Documentation
An Ethereum development environment like Foundry, Hardhat, Truffle, etc. This guide will be using Hardhat. Follow these instructions to install Hardhat. Create ......
Read more >
connext/nxtp-sdk
@connext/nxtp-sdk. TypeScript icon, indicating that this package has built-in type declarations · Keywords.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found