Closed renexdev closed 6 years ago
Look at the sample code. These are not two ordered arguments, they are options in a hash:
const ens = new ENS({ provider, network: '3' })
// is the same as:
const ens = new ENS({ provider: provider, network: '3' })
Great, thanks!
Hi there, I'm trying to use ethjs-ens in a project with Web3 1.0. The following code:
gives me
error: The EthJsENS Constructor requires a provider.
Do you know any way to handdle this? Thanks in advance...