@idriss-crypto/snap
v0.1.2
Published
Use your favorite name services in MetaMask
Downloads
615
Readme
Web3 Address Book Snap
This snap can be used to resolve several naming services in the sending input field of your MetaMask wallet.
It supports resolution of
- IDriss
- Farcaster names
- Lens handles
- Unstoppable Domains
- ENS domains on networks other than Ethereum Mainnet
Supported formats:
- IDriss: Registered Twitter handles
@<name>
- Facraster:
<name>.fc
, or<name>.farcaster
- Lens:
<name>.lens
- UD: any registered UD
- ENS: Any registered ENS, given it does not resolve to a contract address
Testing
The snap comes with some basic tests, to demonstrate a happy and failing path for each resolution service.
To test the snap, run yarn test
in this directory. This will use
@metamask/snaps-jest
to run the tests in src/index.test.ts
.