Merged
Conversation
Next.js app demonstrating ERC-4626 vault deposits, withdrawals, and position tracking using Privy embedded wallets and server wallets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> GIT_VALID_PII_OVERRIDE Committed-By-Agent: claude
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Adopt the canonical Privy design language from privy-next-starter: - Replace CSS gradient landing with BG.svg hero, transparent header, pill badge, and ABC Favorit typography - Add fixed 60px auth-aware header with Privy logo and "Yield Demo" badge - Switch to local Inter + ABC Favorit fonts via next/font/local - Replace custom button/card CSS classes with design skill equivalents (button-primary, button-outline, button) - Add FullScreenLoader, Header, and CustomToast shared UI components - Update dashboard with light purple background, logout button, and ToastContainer - Swap lucide-react for @heroicons/react; add react-toastify Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Add real-time transaction tracking with in-memory store seeded by deposit/withdraw responses and updated via Privy webhook events. Frontend polls every 5s to reflect status changes (pending -> confirmed/failed). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Remove unused files (PrivyLogo, custom-toast, utils, boilerplate SVGs), unused dependencies (class-variance-authority, clsx, tailwind-merge), dead code (useWallets, embeddedWallet, button-outline CSS, DOM query hack), and update README to reflect actual project structure. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
rodrigo-privy
approved these changes
Feb 24, 2026
Display all fields from the Privy Yield API directly instead of derived calculations. Align both cards with the app's design system (consistent font sizes, border-t separators, Inter font throughout). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Add User/App nav links to header, fix Docs link font and URL, change card backgrounds from gray to white, and support walletId prop for position and transaction components. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Add app-facing dashboard page with wallet address resolution API route, AppWalletCard for displaying the fee recipient wallet balance, and AppWithdrawForm for withdrawing earned fees from the vault. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
Move logout button from dashboard pages and WalletCard into the header left side. Add font-family inherit rule for interactive elements and increase top padding on dashboard content. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Committed-By-Agent: claude
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
privy-next-yield-demo, a Next.js app demonstrating Privy Yield — users authenticate, receive an embedded wallet, deposit USDC into a Morpho vault on Base mainnet, and withdraw with earned yieldWhat's included
/api/depositand/api/withdrawserver routes/api/webhook) with in-memory storeTest plan
npm install && npm run devinexamples/privy-next-yield-demonpm run buildandnpm run lint— both pass clean🤖 Generated with Claude Code