Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tx as a Frame action option #208

Merged
merged 2 commits into from
Mar 4, 2024
Merged

feat: add tx as a Frame action option #208

merged 2 commits into from
Mar 4, 2024

Conversation

Zizzamia
Copy link
Contributor

@Zizzamia Zizzamia commented Mar 4, 2024

What changed? Why?
Added tx as a Frame action option, enabling support for Frame Transactions.

Spec: https://warpcast.notion.site/Frame-Transactions-Public-Draft-v2-9d9f9f4f527249519a41bd8d16165f73

Notes to reviewers

How has it been tested?

@@ -77,7 +77,7 @@ export function convertToFrame(json: any) {
*/
export type FrameButtonMetadata =
| {
action: 'link' | 'mint';
action: 'link' | 'mint' | 'tx';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny nitpick: can we have txn instead of tx (Texas?)

Copy link
Contributor Author

@Zizzamia Zizzamia Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great point!

OnchainKit will follow the Frame spec https://warpcast.notion.site/Frame-Transactions-Public-Draft-v2-9d9f9f4f527249519a41bd8d16165f73

if they change it to txn, we will do too.

Feel free to ask there if they will consider txn vs tx.

@Zizzamia Zizzamia merged commit 75dc428 into main Mar 4, 2024
9 checks passed
@Zizzamia Zizzamia deleted the zizzamia/tx-3-4 branch March 4, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants