unstoppabledomains / resolution

A library to resolve blockchain domain names.
MIT License
222 stars 66 forks source link

Service Provider Error when trying to resolve a verified cardano address added to an unstoppable domain #258

Closed banklesss closed 10 months ago

banklesss commented 10 months ago

@unstoppabledomains/resolution version: 6.0.3

Steps To Reproduce

  1. Look up a domain with a verified cardano address, using the method addr with ADA as a ticker.

Current Behaviour

It throws the following error:

name-resolver/node_modules/@unstoppabledomains/resolution/build/errors/resolutionError.js:85
        _this = _super.call(this, message) || this;
                       ^

ResolutionError: < Request to https://polygon-mainnet.infura.io/v3/c4bb906ed6904c42b19c95825fe55f39 failed with response status 401 >
    at new ResolutionError (name-resolver/node_modules/@unstoppabledomains/resolution/build/errors/resolutionError.js:85:24)
    at FetchProvider.<anonymous> (name-resolver/node_modules/@unstoppabledomains/resolution/build/FetchProvider.js:98:35)
    at step (name-resolver/node_modules/@unstoppabledomains/resolution/build/FetchProvider.js:33:23)
    at Object.next (name-resolver/node_modules/@unstoppabledomains/resolution/build/FetchProvider.js:14:53)
    at fulfilled (name-resolver/node_modules/@unstoppabledomains/resolution/build/FetchProvider.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ServiceProviderError',
  domain: undefined,
  method: undefined,
  currencyTicker: undefined
}

Expected Behaviour

The verified cardano address added to a unstoppable domain is sucessfully resolved.