Content pfp
Content
@
0 reply
0 recast
0 reaction

Christian Montoya 🦊 pfp
Christian Montoya 🦊
@m0nt0y4
I put Minesweeper in MetaMask. No, really, I made a Snap that puts a fully interactive Minesweeper game INSIDE the MetaMask Extension. Here's how I did it and how you can build fun interactive experiences like this too 🧵
6 replies
6 recasts
21 reactions

Samuel pfp
Samuel
@samuellhuber.eth
wait does this mean metamask snaps can / will also be mini apps? @matthewfox @frederik
3 replies
0 recast
5 reactions

Frederik Bolding 🦊 pfp
Frederik Bolding 🦊
@frederik
Yes! We've built out a system that lets Snaps construct interactive user interfaces using JSX syntax. Leaning towards React where possible with some differences in input handling still. Here's a basic example: https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/jsx
3 replies
0 recast
0 reaction

Frederik Bolding 🦊 pfp
Frederik Bolding 🦊
@frederik
And if you ask @danfinlay we might put them on the home screen some day: https://warpcast.com/danfinlay/0x070a8561 Snaps can currently expose a home page which is about 3 clicks away from the regular MM dashboard.
0 reply
0 recast
3 reactions

Samuel pfp
Samuel
@samuellhuber.eth
soooooo I could also implement this with React Native right?
1 reply
0 recast
0 reaction

Matthew Fox 🌐 pfp
Matthew Fox 🌐
@matthewfox
Why not just use web view so its at parity?
1 reply
0 recast
0 reaction