Skip to content
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

Add custom chains #129

Merged
merged 33 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
bbc88d1
Able to add a custom chain, and store it in localStorage
portdeveloper Jul 1, 2024
253c920
Add custom chain form to [network]
portdeveloper Jul 2, 2024
19fbbf5
Add logic to prevent duplicate chains in global state
portdeveloper Jul 2, 2024
58c240e
Add functionality to load stored ABI from local storage + adding it t…
portdeveloper Jul 2, 2024
a9347d3
Add functionality to load stored ABI from local storage automatically…
portdeveloper Jul 2, 2024
f53ccf4
Reset form after submission
portdeveloper Jul 2, 2024
54a3baf
Add groupedOptions state, use testnet instead of isTestnet everywhere
portdeveloper Jul 2, 2024
cab7260
Able to remove an added chain from the dropdown
portdeveloper Jul 2, 2024
57382e8
Extract localStorage logic to a function
portdeveloper Jul 3, 2024
df884ac
Refactor NetworksDropdown, split it into components
portdeveloper Jul 3, 2024
45da868
Move functions out of NetworksDropdown to utils
portdeveloper Jul 3, 2024
c106bd3
Fix error related to imports
portdeveloper Jul 3, 2024
f527d5a
Code cleanup
portdeveloper Jul 3, 2024
a84ba79
Correct function names + one error in submit custom logic
portdeveloper Jul 3, 2024
60430ce
Improve chain deletion logic
portdeveloper Jul 3, 2024
1b5056a
Improve localStorage related functions
portdeveloper Jul 3, 2024
3b075f3
Fix type errors
portdeveloper Jul 4, 2024
9a85d28
Import wagmiConfig from zustand store in useTransactor
portdeveloper Jul 8, 2024
9d47e99
Remove unnecessary type assertions
portdeveloper Jul 8, 2024
1e8664e
Extract OtherChainsModal to its own component
portdeveloper Jul 8, 2024
2315268
Extract AddCustomChainModal to its own component
portdeveloper Jul 8, 2024
4b6ce71
Refactor how newSelectedNetwork is found in useTargetNetwork.ts
portdeveloper Jul 8, 2024
00a306e
Add chains from localStorage to zustand store when _app.tsx mounts
portdeveloper Jul 8, 2024
4321872
Move wagmi config initial declaration out of zustand store
portdeveloper Jul 8, 2024
3dee7a8
Stop storing ABI in localStorage
portdeveloper Jul 8, 2024
77c2d36
Fix type errors
portdeveloper Jul 8, 2024
e4fa82b
Add missing dep to useEffect in [network]
portdeveloper Jul 8, 2024
0a4d512
Add the missing ()
portdeveloper Jul 9, 2024
4d60f42
Use type instead of interface
portdeveloper Jul 9, 2024
00f9645
Merge branch 'main' into feat/add-custom-chains
Pabl0cks Jul 11, 2024
3afdf6d
Spread chain when creating new chain in createWagmiClient
portdeveloper Jul 13, 2024
1c930bd
fix todo types
technophile-04 Jul 15, 2024
1fbd6a3
disable blockexplorer link on Address component if not found
technophile-04 Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
334 changes: 0 additions & 334 deletions packages/nextjs/components/NetworksDropdown.tsx

This file was deleted.

Loading
Loading