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

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

Christian Montoya ๐ŸฆŠ pfp
Christian Montoya ๐ŸฆŠ
@m0nt0y4
Because the point is not to make mini app independent views. The point is to make embedded apps that integrate deeply into the wallet UX while also being totally confined.
1 reply
0 recast
1 reaction

Matthew Fox ๐ŸŒ pfp
Matthew Fox ๐ŸŒ
@matthewfox
Yeah sweet Actually pretty neat, didnt realize how much stuff you could do! But definitely never 1-1 mini app compatible @samuellhuber.eth :)
1 reply
0 recast
1 reaction

Samuel pfp
Samuel
@samuellhuber.eth
yeah you can likely catch that it's coming from MM Snaps and then route to a purpose built page (expo allows that) then there build with the views and components you already have but needs more work then pure build once make responsive for sure and more then just warpcast iFrame? then make the button use window . post vs cast intent url
0 reply
0 recast
0 reaction