This project resolves lens handles using airstack through a metamask snap.
This project resolves lens handles using airstack through a metamask snap. A key aspect of this project is its ability to map a user-friendly Lens handle to a specific Ethereum address.
It sets up a separate server to use as the resolver of the address while the metamask snap fetches from the locally running server.
The main functionality lies in the resolveLensHandle function, which queries data using the @airstack/node library to fetch details associated with a given Lens handle. The fetched data contains social information, domain names, primary domains, and addresses associated with the Lens handle. A key aspect of this project is its ability to map a user-friendly Lens handle to a specific Ethereum address.