Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Error EthrDIDResolver requires a provider configuration for at least one network #298

Open
vinybnb opened this issue Apr 16, 2020 · 1 comment

Comments

@vinybnb
Copy link

vinybnb commented Apr 16, 2020

Here is my code:

const uport = new Connect('MyApp', {
      network: "mainnet",
      profileImage: {"/": "/ipfs/Qmej9WXC1wmxq9Zeb1TngtLJbVhFxrtzpEjwnkQoTThk5W"},
      bannerImage: {"/": "/ipfs/QmXuH4EfrLQt2fafeGs1GyHjq71CdKp9E3esiq5vYQvLUM"},
      description: "MyApp",
})

MyApp is registered on https://developer.uport.me/myapps/ and uPort mobile app.
Get Error:

EthrDIDResolver requires a provider configuration for at least one network
What's wrong with my code?

@gemcutterjp
Copy link

I also got the same error and something like below fixed my problem.

ethrConfig:{rpcUrl:'https://mainnet.infura.io/xxxxxxx'}

This is in the reference doc below.
https://github.com/uport-project/uport-connect/blob/develop/docs/reference/index.md

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

No branches or pull requests

2 participants