uport-connect
uport-connect copied to clipboard
Error EthrDIDResolver requires a provider configuration for at least one network
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?
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