Skip to content

Conversation

@kingsleydon
Copy link
Collaborator

Summary

  • Replace @reown/appkit with @rainbow-me/rainbowkit for wallet connection
  • Update wagmi hooks from deprecated useAccount to useConnection (wagmi v3)
  • Remove manual network switching UI (auto-switch to Ethereum mainnet)
  • Rename AppKitButton to WalletButton with custom disconnected state only
  • Add cookieStorage and initialState for proper SSR hydration

Test plan

  • Verify wallet connection works with MetaMask
  • Verify wallet connection works with WalletConnect
  • Verify auto-switch to Ethereum mainnet when connected to wrong network
  • Verify SSR hydration without flash/mismatch errors
  • Verify claim assets flow works correctly

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Dec 8, 2025

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

Project Deployment Preview Comments Updated (UTC)
app Ready Ready Preview Comment Dec 8, 2025 4:23am

- Replace @reown/appkit with @rainbow-me/rainbowkit
- Update wagmi hooks from deprecated useAccount to useConnection
- Remove network switching logic (force Ethereum mainnet)
- Rename AppKitButton to WalletButton with custom disconnected state
- Add cookieStorage and initialState for SSR hydration
- Remove unused use-auto-switch-chain hook

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@kingsleydon kingsleydon force-pushed the refactor/replace-appkit-with-rainbowkit branch from 32b99eb to 7ac9584 Compare December 8, 2025 04:21
@kingsleydon kingsleydon merged commit 62aa018 into main Dec 8, 2025
3 checks passed
@kingsleydon kingsleydon deleted the refactor/replace-appkit-with-rainbowkit branch December 8, 2025 04:24
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