-
Notifications
You must be signed in to change notification settings - Fork 0
chore: basic Viem setup + EIP6963 setup #6
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the Wagmi/RainbowKit integration and replaces it with a basic Viem setup for direct EIP-6963 wallet connection. The changes implement a custom wallet connection UI with provider discovery, account management, and chain information display.
Key changes:
- Replaced Wagmi/RainbowKit with direct Viem wallet client implementation
- Added EIP-6963 provider discovery for wallet detection
- Implemented custom wallet connection UI with provider selection
Reviewed Changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Removed @rainbow-me/rainbowkit and wagmi dependencies; added porto and vite-plugin-mkcert |
| src/main.tsx | Stripped out Wagmi/RainbowKit providers, simplified to basic React rendering |
| src/App.tsx | Implemented custom wallet connection logic using Viem's createWalletClient and EIP-6963 provider discovery |
| src/types.ts | Added TypeScript types for EIP-6963 and EIP-1193 standards |
| src/styles/global.css | Removed Inter font-face declaration; added styles for button, select, and option elements |
| src/App.css | Replaced banner image styles with title and info display styles |
| vite.config.ts | Added mkcert plugin, custom banner injection plugin, and extensive build configuration |
| index.html | Simplified page title from "Foundry Browser Wallet" to "Foundry" |
| .nvmrc | Added Node.js version specification (v24.10.0) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…wser-wallet into zerosnacks/introduce-viem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 12 out of 14 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.