Skip to content

Lesson 5 - deploy.js #368

Answered by 0xronin
0xronin asked this question in Q&A
Jun 16, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

With Moralis, using it's Dapp URL in .env file and Private Key of my metamask wallet (it has Rinkeby test ETH)
I am getting the no network error

reason: 'could not detect network',
code: 'NETWORK_ERROR',
event: 'noNetwork'

Did not make any changes in deploy.js, do I have to make any extra changes?

This code is working fine on Ganache.

UPDATE:
It worked using the Moralis Node Provider!
Earlier I was using the Dapp URL but then found Node URL from

Dapp Details > Chains > Eth Rinkeby Settings > Nodes > Rinkeby Url

And it worked.

Thank You @PatrickAlphaC

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@PatrickAlphaC
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by 0xronin
Comment options

You must be logged in to vote
2 replies
@0xronin
Comment options

@adospinoiu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants