Skip to content

feat: extract auth/wallet hooks and add RN MoneyGram Ramp example#58

Closed
avneesh0612 wants to merge 1 commit into
mainfrom
feat/extract-auth-hooks-and-rn-example
Closed

feat: extract auth/wallet hooks and add RN MoneyGram Ramp example#58
avneesh0612 wants to merge 1 commit into
mainfrom
feat/extract-auth-hooks-and-rn-example

Conversation

@avneesh0612
Copy link
Copy Markdown
Contributor

Summary

  • Extract useAuth and useEvmWalletAccount/useSolanaWalletAccount into reusable custom hooks across all NextJS examples
  • Refactor providers.tsx in each example to use the new hooks instead of inline useState + useEffect state management
  • Add new examples/rn-moneygram-ramp React Native (Expo) example app

Projects modified

Project Changes
nextjs-bridge-mayan providers.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
nextjs-defi-lending-morpho providers.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
nextjs-moneygram-ramp header.tsx + ramp-app.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
nextjs-stablecoin-yield-aave providers.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
nextjs-stablecoin-yield-kamino providers.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
nextjs-stablecoin-yield-pods providers.tsx refactored + new hooks/use-auth.ts, hooks/use-wallet-accounts.ts
rn-moneygram-ramp New React Native (Expo) example

Test plan

  • Verify each NextJS example builds and auth flow works correctly
  • Verify wallet account state updates correctly after login/logout
  • Test RN example on iOS simulator

🤖 Generated with Claude Code

…xample

  - Extract useAuth and useEvmWalletAccount/useSolanaWalletAccount into
    reusable custom hooks across all NextJS examples (bridge-mayan,
    defi-lending-morpho, moneygram-ramp, stablecoin-yield-aave/kamino/pods)
  - Refactor providers.tsx in each example to consume the new hooks instead
    of inline useState + useEffect state management
  - Add new examples/rn-moneygram-ramp React Native (Expo) example app

  Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

[FIREHOG-BYPASS] false positive
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kamino Ready Ready Preview, Comment May 21, 2026 6:25pm
predictions-market-demo Ready Ready Preview, Comment May 21, 2026 6:25pm

Request Review

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

Deployment failed with the following error:

There is no GitHub account connected to this Vercel account.

@avneesh0612
Copy link
Copy Markdown
Contributor Author

Superseded by #56 (RN MoneyGram Ramp) and #59 (auth hooks extraction) — split into two focused PRs.

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.

1 participant