sammybauch.eth pfp
sammybauch.eth
@sammy
new miniapp from me, megapool - join or create pools to win the /megapot jackpot together - contribute ETH or USDC - ETH swapped for USDC via @aerodrome - winning pool uses @splits to distribute propotionally - no fees (i get 10% of ticket cost as referrer) https://megapool-frontend.vercel.app
27 replies
54 recasts
214 reactions

sammybauch.eth pfp
sammybauch.eth
@sammy
pool here for tomorrow's drawing! ( we aren't gonna win dont go crazy) https://megapool-frontend.vercel.app/pools/0xcbd6B2C57bb9eF142a3582114B23c507614B8B7C
2 replies
0 recast
10 reactions

sammybauch.eth pfp
sammybauch.eth
@sammy
tbh the minapp / minikit docs and devx are not great! linking to pages other than index, handling actions for miniapp context vs otherwise (is a miniapp on desktop in the miniapp context?), caching of the manifest
2 replies
1 recast
7 reactions

Soheybuildson.base pfp
Soheybuildson.base
@sohey
Hey @sammy, thanks for the feedback! Just to make sure I address your concerns: * linking to pages beyond index (just an FYI Minikit uses Next.js-style routing https://nextjs.org/docs/app), * handling actions inside vs. outside the miniapp context (you can use useIsMiniApp() from Farcaster SDK to determine where the app is being loaded https://miniapps.farcaster.xyz/docs/sdk/is-in-mini-app), * Image resolution for Minikit we ship with the correct image sizes as required. But we do have some documentation here about what is required in the Manifest https://docs.base.org/wallet-app/mini-apps#metadata Are there any other pain points that are specific to Minikit documentation that we could do better?
1 reply
0 recast
2 reactions

sammybauch.eth pfp
sammybauch.eth
@sammy
the one thing I think is specifically a mini kit issue is the image sizes. i replicated those exactly and the infeed image was wrong aspect ratio, at least without specifying aspect ratio in the metadata The isMiniApp hook is fine, but not clear to me if a desktop miniapp will be true there And yeah the routing stuff is i think just farcaster caching, my pages pass all the miniapp debug stuff but only the index renders the app. Subpages link out to browser 🤷‍♀️
1 reply
0 recast
1 reaction

Soheybuildson.base pfp
Soheybuildson.base
@sohey
Okay thats great to know, thank you sammy. If you feel comfortable feel free to dm how you are linking to the internal pages and i can take a look if you like
1 reply
0 recast
0 reaction

sammybauch.eth pfp
sammybauch.eth
@sammy
sure i mean the routing is fine and this url passes all of the Farcaster dev tools for debugging miniapps but it just renders as a link https://megapool-frontend.vercel.app/pools/0x385dD7544D667c66Ca9EeD74589658F6E1be36ce
1 reply
0 recast
0 reaction

Soheybuildson.base pfp
Soheybuildson.base
@sohey
Ah okay! I understand you would like every route in your app to render as a mini embed, is that correct?
0 reply
0 recast
0 reaction