Knowledge Base
Last updated
Last updated
Freename resolution snap is using the official Snap SDK to develop an add-on that can be installed on Metamask and provides resolution to a domain name using the Freename resolver API. The development is done on the repository , while the release version is managed on .
The dev repo is providing additional functionality to ease the development process. It exposes a simple webpage on localhost:8000 which can be used to connect to the local snap.
It is based on the and using a very limited set of functionality. Namely endowment:network-access
(to allow the extension to communicate with the resolver API) & endowment:name-lookup
(to define under which networks on Metamask, should domains be resolved).
Clone the repo
Install required packages (yarn)
Run locally yarn start
Under the packages folder there are two sub-folders. site holds the supporting webpage, snap holds the snap code itself
You can access the site on localhost:8000 the code itself is very simple and self explanatory