Content pfp
Content
@
https://warpcast.com/~/channel/miniapps
0 reply
0 recast
0 reaction

Jay Brower (jaymothy.eth) pfp
Jay Brower (jaymothy.eth)
@jayb
miniapp playbook: 1. make your app dynamically connect if it's a frame. ``` useEffect(() => { sdk.actions.ready(); (async () => { const ctx = await sdk.context; if (ctx) { console.log(`Running as FC MiniApp`); setIsInMiniapp(true); connect({ connector: farcasterFrame(), chainId: baseSepolia.id }) } else { console.log(`Running as Webapp`); setIsInMiniapp(false); } })() }, []); ``` 2. Write your /.well-known/farcaster.json 3.. Buy a $0.99 domain from namecheap, point it at Github Pages for your repo. 3. Deploy, Hit up the debug tool (https://warpcast.com/~/developers/mini-apps/preview) until everything is green. 4. Claim your app with the attestation tool (https://warpcast.com/~/developers/mini-apps/manifest) 5. Market your app :)
0 reply
0 recast
0 reaction