-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f44cc5
commit bc7fcfe
Showing
2 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,44 +62,42 @@ export const onNameLookup: OnNameLookupHandler = async (request: { | |
}; | ||
|
||
export const onInstall: OnInstallHandler = async () => { | ||
console.log('onInstall called'); | ||
await snap.request({ | ||
method: 'snap_dialog', | ||
params: { | ||
type: 'alert', | ||
content: ( | ||
<Box> | ||
<Heading>Installation successful 🎉</Heading> | ||
<Heading>You're all set! ✅</Heading> | ||
<Text> | ||
MetaMask can now send to a number of social handles and domans. | ||
Now you can use your favorite identifiers in the send flow | ||
</Text> | ||
<Divider /> | ||
<Row label="IDriss"> | ||
<Text>username.x</Text> | ||
<Row label="Twitter"> | ||
<Text>[name].x / [name].twitter</Text> | ||
</Row> | ||
<Row label=""> | ||
<Text>username.twitter</Text> | ||
<Row label="Email"> | ||
<Text>[email protected]</Text> | ||
</Row> | ||
<Row label="Phone"> | ||
<Text>+11234567890</Text> | ||
</Row> | ||
<Divider /> | ||
<Row label="Farcaster"> | ||
<Text>username.fc</Text> | ||
</Row> | ||
<Row label=""> | ||
<Text>username.farcaster</Text> | ||
<Text>[name].fc / [name].farcaster</Text> | ||
</Row> | ||
<Divider /> | ||
<Row label="Lens"> | ||
<Text>username.lens</Text> | ||
<Text>[name].lens</Text> | ||
</Row> | ||
<Divider /> | ||
<Row label="Unstoppable Domains"> | ||
<Text>Valid UDs</Text> | ||
<Text>[name].[domain]</Text> | ||
</Row> | ||
<Divider /> | ||
<Row label="ENS"> | ||
<Text> | ||
Valid ENS, given it does not resolve to a contract address on | ||
Mainnet | ||
</Text> | ||
<Text>[name].eth</Text> | ||
</Row> | ||
</Box> | ||
), | ||
|