1.0.0 • Published 1 year ago

@hooded-hub/abstract-name-service-snap v1.0.0

Weekly downloads
-
License
(MIT-0 OR Apache-...
Repository
github
Last release
1 year ago

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 .abs domain 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 dialog
  • resolve_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 test

Development

Built with:

  • TypeScript
  • MetaMask Snaps SDK
  • Ethers.js for blockchain interactions

For more information, visit https://github.com/0xShroomy/ans-snap