sonic_resolver
v2.0.0
Published
This plugin includes the npm package to install as snap on MetaMask to resolve Sonic Name Service
Readme
sns-resolution-snap
This repo includes the npm package to install as a snap on MetaMask to resolve SNS - Sonic Name Service.
Overview
The Sonic Name Service (SNS) is a naming system for the Sonic chain (ID: 146) that allows users to register human-readable names (e.g., name.s) that resolve to Ethereum addresses. SNS is implemented as an ERC721 NFT, with each name represented by a unique tokenId.
This MetaMask Snap enables name resolution for SNS names directly within MetaMask, allowing users to:
- Type
.sdomains directly into MetaMask's address field - Have the addresses automatically resolved to the correct Ethereum address
- Use SNS names for sending transactions and interacting with dApps
Features
- Resolves
.sdomain names to Ethereum addresses - Performs reverse lookup to get SNS names from addresses
- Works on the Sonic chain (ID: 146)
- Seamlessly integrates with MetaMask's interface
- Provides additional RPC methods for dApps to interact with
Contract Addresses
- Resolver:
0x105E9Bfb2f06F4809B0c323Fb8299d813793742e - Registrar:
0x0D9ECE9d71F038444BDB4317a058774867af39eB - Registry:
0x0A6e0e2a41CD0a4BfB119b2e8183791E21600a7E
Installation
You can install the Snap from:
https://snaps.metamask.io/snap/npm/sonic-resolver/Development
yarn installBuild
yarn buildServe
To run the Snap locally for testing:
yarn serve