uport-project / ethr-did

Create ethr DIDs
Apache License 2.0
259 stars 53 forks source link

rpcUrl is not sufficient in configuration #64

Closed mirceanis closed 3 years ago

mirceanis commented 3 years ago

As identified in decentralized-identity/ethr-did-resolver#127

const conf = { 
        ...keyPair, 
        registry,
        chainNameOrId,
        rpcUrl: 'http://localhost:9545',
};
const ethrDid = new EthrDID(conf);

throws: Error: either a contract instance or a provider or rpcUrl is required to initialize...

uport-automation-bot commented 3 years ago

:tada: This issue has been resolved in version 2.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: