@unstoppabledomains/resolution
Advanced tools
Changelog
7.0.0
bip44-constants
, @ensdomains/address-encoder
, and content-hash
package dependenciesChangelog
6.0.3
Changelog
6.0.0
uns
configuration you have to specify
parameters for L1 and L2 locations (Ethereum and Polygon mainnets).uns: {locations: {L1: ..., L2...}}
.
Resolution#infura
Resolution#fromResolutionProvider
Resolution#fromEthereumEip1193Provider
Resolution#fromWeb3Version0Provider
Resolution#fromWeb3Version1Provider
Resolution#fromEthersProvider
Resolution#location
method is replaced by Resolution#locations
.Resolution#locations
method which will help to determine domains
location (blockhain, networkId) and useful metadata like owner, resolver,
registry addresses, provider url if possible.
Changelog
5.0.1
elliptic
package dependency in order to enable twitter verification
support by defaultChangelog
5.0.0
new Resolution({sourceConfig: {uns: {...uns config}}})
Resolution#fromEip1193Provider
was renamed to
Resolution#fromEthereumEip1193Provider
{uns: {... uns config}}
in
parameters instead of cns
.
Resolution#autoNetwork
Resolution#infura
Resolution#fromEthereumEip1193Provider
(former
Resolution#fromEip1193Provider
)Resolution#fromWeb3Version0Provider
Resolution#fromWeb3Version1Provider
Resolution#fromEthersProvider
Resolution#isSupportedDomain
method is now asynchronousEip1993Factories()
-> Eip1193Factories()
. Old name is
still available under the alias Eip1993Factories
Resolution#registryAddress -> Retrieves address of registry contract used for domain
Resolution#unhash -> Retrieves the domain name from tokenId by parsing registry smart contract event logs
Resolution#reverse -> This method is only for ens at the moment. Reverse the ens address to a ens registered domain name
Resolution#tokenURI -> Retrieves the tokenURI from the registry smart contract
Resolution#tokenURIMetadata -> etrieves the data from the endpoint provided by tokenURI from the registry smart contract
Resolution#fromZilliqaProvider -> Creates a resolution instance with configured provider from Zilliqa provider
Resolution#fromResolutionProvider -> Creates a resolution from Resolution compatitable provider
Resolution#fromEthereumEip1193Provider -> Creates a resolution from EIP-1193 compatitable provider