Inframe transaction confirmations
Contact
Feel free to DC paulcowgill and/or jomessin on Farcaster for help.
Intro / Problem
- Many Farcaster Frames 🔲 allow users to click a button that results in an onchain transaction ⛓️.
- When using those frames, you might wonder, “Did the onchain tx happen yet?” 🤔
- This document outlines how to add a feature to your frame to include a confirmation of the onchain transaction within the frame itself. 🧾
Opportunity
- You don’t need to build the tech for showing transaction confirmations from scratch. 🏎️
- Frames are composable. 🔌
- Once Upon already has a frame for viewing an onchain transaction. 🔍
- Remixing your frame with the parts you need from Once Upon’s transaction frame just takes a few minutes. 🔀
- Your users will appreciate your frame more if they know they can trust what happened 🔰
Solution
There are 3 ways to integrate Once Upon’s transaction frame in your frame.
-
✨ recommended ✨ show your own success view, then show the Once Upon tx confirmation
-
one-click show Once Upon tx conf., difference with 1 is they hit their own api in the middle since it's all "one-click"
-
retain full control of buttons on the Once Upon tx conf. view
Supported chains