Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/leapwallet/name-matcha
- Owner: leapwallet
- License: mit
- Created: 2023-03-09T10:05:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T07:02:58.000Z (3 months ago)
- Last Synced: 2024-10-31T10:37:39.639Z (16 days ago)
- Language: TypeScript
- Homepage: https://leapwallet.github.io/name-matcha/
- Size: 1.92 MB
- Stars: 7
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: license
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).