Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Resolve names to wallet addresses
https://github.com/leapwallet/name-matcha

Last synced: 9 days ago
JSON representation

Resolve names to wallet addresses

Awesome Lists containing this project

README

        

# 🍡 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

```bash
npm install @leapwallet/name-matcha
```

## Usage

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

```js
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](https://leapwallet.github.io/name-matcha/).

## Name Service Support

We support the following name services -

1. [ICNS](https://www.icns.xyz)
2. [Stargaze Names](https://www.stargaze.zone/names)
3. [IBC Domains](https://ibc.domains)
4. [ArchId](https://archid.app)
5. [SpaceId](https://space.id)
6. [SNS](https://www.sns.id)
7. [DegeNS](https://www.degens.domains)
8. [Bidds Decentralized Domains](https://bidds.com)

We also allow you to add your own name service for custom use-cases. You can look at the docs for the same [here](https://leapwallet.github.io/name-matcha/docs/advanced#custom-name-services).