/name-matcha

Resolve names to wallet addresses

Primary LanguageTypeScriptMIT LicenseMIT

🍵 name-matcha

Name Matcha (Matcha - 抹茶; Meaning - 'ground and powdered green tea'; Emoji - 🍵) - a pun on name-matcher.

A developer-friendly javascript library that provides a standardized way to easily resolve Cosmos ecosystem name services to wallet addresses (and vice-versa) using just one line of code.

Installation

npm install @leapwallet/name-matcha

Usage

Here's how you can quickly get started with resolving names -

import nameMatcha, { services } from '@leapwallet/name-matcha';

const address = await nameMatcha.resolve('alice.stars', service.stargazeNames);

To know more about the library, check out the Docs.

Name Service Support

We support the following name services -

  1. ICNS
  2. Stargaze Names
  3. IBC Domains

We also allow you to add your own name service for custom use-cases. You can look at the docs for the same here.