uport-connect icon indicating copy to clipboard operation
uport-connect copied to clipboard

Error EthrDIDResolver requires a provider configuration for at least one network

Open vinybnb opened this issue 4 years ago • 1 comments

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?

vinybnb avatar Apr 16 '20 01:04 vinybnb

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

gemcutterjp avatar May 14 '20 01:05 gemcutterjp