This is a SvelteKit Warpcast V2 frames project, it can be used to create your own Warpcast V2 frames using SvelteKit in SPA or prerender mode, potentially being able to serve millions of request with 0$ costs on providers like Cloudflare or Netlify.
It mainly uses SPA & prerender mode to serve frames, but if you need server calls you can add those very easily. The main advantage of using this template over mainly React and Next templates out there is that is guranteed to consume fewer resources for you as a dev, it has far fewer dependencies and is way more lightweight, the only drawback is that you need to know SvelteKit/Svelte to easily use it.
- modern stack: SvelteKit 2.xx, Svelte 5.XX, TypeScript, TailwindCSS 4.xx, Vite 6.xx, Skeleton, Bun
- loading farcaster frames SDK in global memory accessible by any frame
- config folder to setup your frames configuration(you can generate account association data with clear wallet or use other tools/scripts)
- function to generate header meta for frame page
- allowing the website to be viewed only in frame context
- global available wagmi wallet config to call wallet functions
isWalletReadysubscription to know when the wallet is ready
It has no special requirements, but is recomanded to know how to use SvelteKit, TypeScript, TailwindCSS, Bun, Skeleton, Vite and Bun.
merkl-fame-demo.mp4
demo_sign_message.mp4
not_allowing_outside_of_frame_context.mp4
Deployed at: https://frames.flashsoft.eu
Links that work in cast as a v2 frame:
- https://frames.flashsoft.eu/ (index)
- https://frames.flashsoft.eu/merkl-rewards (merkl rewards frame)
- https://frames.flashsoft.eu/sign-demo (Do message sign demo)
- https://frames.flashsoft.eu/composer-demo (Trigger composer demo)