Package Exports
- @unstoppabledomains/resolution
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@unstoppabledomains/resolution) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Resolution
A library for interacting with blockchain domain names.
Supported domain zones:
- .crypto
- .zil
- .eth
- .kred
- .xyz
- .luxe
You can use Resolution in a <script> tag from a
CDN, or as the Resolution
CLI
Once you have cloned the repo use yarn build to install all of the dependacies and cli tool. It will create a symlink into /usr/local/bin/resolution and set up the permissions to run the file as executable.
Before you have started to use the CLI 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....
or
resolution -C url:https://...You can find all of the options for resolution cli within -h, --help flag.
Example:
resolution -mc eth,btc,DODGE,unknown -d brad.zilNote
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.