1.0.0 • Published 1 year ago
@hooded-hub/abstract-name-service-snap v1.0.0
Abstract Name Service (ANS) MetaMask Snap
This snap enables MetaMask users to resolve .abs domain names to Ethereum addresses. The Abstract Name Service (ANS) is a decentralized domain name system built on the Abstract blockchain that allows users to register and manage domains with user-friendly names.
Features
- Resolve
.absdomain names to Ethereum addresses - View domain records associated with ANS domains
- Seamless integration with MetaMask Flask
Usage
This snap provides the following JSON-RPC methods:
get_domain_info: Retrieves address and record information for a domain without showing a dialogresolve_domain: Resolves a domain name and displays the results in a confirmation dialog
Testing
The snap includes tests to verify domain resolution functionality. To run tests:
yarn testDevelopment
Built with:
- TypeScript
- MetaMask Snaps SDK
- Ethers.js for blockchain interactions
For more information, visit https://github.com/0xShroomy/ans-snap