Skip to content
Ruwaifa Tahir

Projects

Self name resolution: MetaMask Snap, SDK and API

A MetaMask Snap, TypeScript SDK and API that resolve .self names to addresses.

Role
Sole developer of the Snap, SDK and API
Client
Self Crypto (now Sonar)
Period
Oct 2024 to Dec 2024
Status
Archived
Stack
TypeScript, MetaMask Snaps SDK, Next.js (edge runtime), viem, ethers v5, tsup, Jest, Changesets, Vercel

I built three tools that turn a Self name into an address outside Self's own dashboard.

What I built

A MetaMask Snap: type alice.self into MetaMask's send field and get Alice's address for that network. It's in MetaMask's directory of verified Snaps, though the listed version no longer resolves names.

The SELF Name Resolution page in the MetaMask Snaps directory

A TypeScript SDK, @selfcrypto/sdk, that resolves a name to its owner, its address on another chain or its full profile (docs), and the small API the Snap calls. The source is public: selfcrypto/self-snap and selfcrypto/sdk.