A library for interacting with blockchain domain names.
Supported domain zones:
You can use Resolution in a <script>
tag from a
CDN, or as the Resolution
You should be able to install the library as global dependacy and use the command line tool resolution
Before you have started to use the library please configure it with -C flag. In order to use the ens or cns resolution you will need to provide either an INFURA project ID or a custom node url via -C.
resolution -C infura:12312313....
You can find all of the options for resolution cli within -h, --help flag.
Example:
resolution -iers -c eth,btc,DODGE,unknown -d brad.zil
When resolution hits an error it returns the error code instead of throwing. So if you see something like RECORD_NOT_FOUND you know exactly that record was not found for this query.
Generated using TypeDoc