Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run on local dev network? #86

Open
s7v7nislands opened this issue Dec 22, 2022 · 2 comments
Open

How to run on local dev network? #86

s7v7nislands opened this issue Dec 22, 2022 · 2 comments

Comments

@s7v7nislands
Copy link

after using test-node.bash in nitro repo, create a local test env

ArbSdkError: Unrecognized network 412346. at getNetwork (/Users/user/source/git/arbitrum-tutorials/node_modules/@arbitrum/sdk/dist/lib/dataEntities/networks.js:236:15) at processTicksAndRejections (node:internal/process/task_queues:96:5) at main (/Users/user/source/git/arbitrum-tutorials/packages/eth-deposit/scripts/exec.js:36:21) { inner: undefined }

it seems the arbitrum-sdk only support hardcode network?

@s7v7nislands
Copy link
Author

I find the solution: addCustomNetwork. use the localNetwork.json from after run test-node.bash. should we add this tip to the readme?

@DZGoldman
Copy link
Contributor

DZGoldman commented Dec 22, 2022

should we add this tip to the readme?

Yes, that's be great! ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants