Documentation
Getting Started

Motivation

There are many ways to identify a wallet address in the cosmos universe. The most common way is to use the bech32 address format. However, this format is not very user-friendly. It is also not very easy to remember. This is why we need a way to identify a wallet address by a human-readable name.

For this purpose, the community has come up with quite a few name-services, a few popular ones are:

  1. ICNS (opens in a new tab)
  2. Stargaze Names (opens in a new tab)
  3. IBC Domains (opens in a new tab)
  4. ArchId (opens in a new tab)
  5. SpaceId (opens in a new tab)
  6. SNS (opens in a new tab)
  7. DegeNS (opens in a new tab)
  8. Bidds Decentralized Domains (opens in a new tab)

These services allow users to register a name for their wallet address. However, there is no standard way to resolve these names to wallet addresses. This is where Name Matcha comes in. It is a javascript library that allows you to resolve names to wallet addresses in a standard way.

Just a single line of code is all you need to resolve a name to a wallet address.

Installation

You can use your favourite package manager to install the library

yarn add @leapwallet/name-matcha