EdinyangaOttoho / name-matcha

Resolve names to wallet addresses

Home Page:https://leapwallet.github.io/name-matcha/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🍵 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
  4. ArchId

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

About

Resolve names to wallet addresses

https://leapwallet.github.io/name-matcha/

License:MIT License


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%