You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
Hello i can't resolve from my address, my ens domain.
I am using React.
This is my code:
import ENS from '@ensdomains/ensjs'
async getENS(address){
var Web3 = require('web3');
var provider= new Web3.providers.HttpProvider("https://mainnet.infura.io/v3/key");
var ens = new ENS({provider, ensAddress: '0x314159265dd8dbb310642f98f50c066173c1259b' });
console.log(await ens.getName(address));
}
The result is: {name: null}
What's the problem?
The text was updated successfully, but these errors were encountered:
Hello i can't resolve from my address, my ens domain.
I am using React.
This is my code:
The result is:
{name: null}
What's the problem?
The text was updated successfully, but these errors were encountered: