-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add chain switch #30
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
…nt for improved select functionality
…styling and functionality
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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 adds chain switching functionality to the application, enabling users to select and switch between different blockchain networks through a UI component. The implementation includes support for Arbitrum networks and the iExec Sidechain (Bellecour).
- Refactored Wagmi configuration to support multiple networks with dynamic transports
- Added chain selection UI component with dropdown interface
- Implemented user store for managing chain state and switching logic
Reviewed Changes
Copilot reviewed 25 out of 27 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
src/utils/wagmiNetworks.ts | Defines supported networks including Bellecour, Arbitrum, and Arbitrum Sepolia |
src/utils/wagmiConfig.ts | Refactored Wagmi configuration to support multiple networks with dynamic transports |
src/utils/chain.utils.ts | Utility functions for chain management and lookup |
src/stores/useUser.store.ts | Pinia store for managing user's selected chain state |
src/hooks/useChainSwitch.ts | Custom hook for handling chain switching logic |
src/components/ui/select/* | UI components for select dropdown functionality |
src/components/ChainSelector.vue | Main chain selector component with dropdown interface |
package.json | Added dependencies for UI components and state management |
.vitepress/config.mts | Added alias configuration and chain selector to navigation |
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.
Some changes to do before merging
No description provided.