File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,13 @@ export const NavMenusSection: React.FC = () => {
7979 handleSelectNetwork ( "base-sepolia" ) ;
8080 } ,
8181 } ,
82+ {
83+ label : "base" ,
84+ href : "" ,
85+ handleClick : ( ) => {
86+ handleSelectNetwork ( "base-main" ) ;
87+ } ,
88+ } ,
8289 ] }
8390 />
8491 { /* <NavItem
Original file line number Diff line number Diff line change 11import { Address } from "viem" ;
22
3- export type Network = "mainnet" | "sepolia" | "base-sepolia" ;
3+ export type Network = "mainnet" | "sepolia" | "base-sepolia" | "base-main" ;
44
55export const ApiDoc = process . env . NEXT_PUBLIC_API_DOC || "" ;
66
@@ -30,4 +30,10 @@ export const networkConfigs: Record<Network, NetworkConfig> = {
3030 explorer_l2 : "https://sepolia.basescan.org" ,
3131 network : "base-sepolia" ,
3232 } ,
33+ "base-main" : {
34+ origin : process . env . NEXT_PUBLIC_BASE_URL || "" ,
35+ explorer_l1 : "https://etherscan.io" ,
36+ explorer_l2 : "https://basescan.org" ,
37+ network : "base-main" ,
38+ } ,
3339} ;
You can’t perform that action at this time.
0 commit comments