Skip to content

Conversation

@jadonamite
Copy link

This PR creates a new "Advanced Patterns" tutorial for OnchainKit users.

Key Features:

Transaction Batching: Demonstrates passing an array of calls (Approve + Deposit) to the component to leverage EIP-5792 atomic batches.

Custom Theming: Explains the CSS variable override strategy for creating brand-specific design systems (fonts, colors, border-radius).

State Synchronization: Implements the onSuccess callback pattern to trigger off-chain database updates immediately after transaction finality.

Why: Most existing docs cover basic "Send" buttons. This guide addresses the two most common production requests: "How do I make it look like my app?" and "How do I handle multi-step flows efficiently?"

This document outlines advanced patterns for using OnchainKit, including atomic batching of transactions, custom theming, and syncing on-chain events with off-chain databases.
@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants