File tree Expand file tree Collapse file tree 4 files changed +273
-273
lines changed
Expand file tree Collapse file tree 4 files changed +273
-273
lines changed Original file line number Diff line number Diff line change 11import { useEffect } from "react" ;
2- import { useChainId , useSwitchChain } from "wagmi" ;
32import { horizenTestnet } from "@polypay/shared" ;
3+ import { useChainId , useSwitchChain } from "wagmi" ;
44
55export const useEnforceNetwork = ( ) => {
66 const chainId = useChainId ( ) ;
Original file line number Diff line number Diff line change 1- import { defineChain } from ' viem' ;
1+ import { defineChain } from " viem" ;
22
33export const horizenTestnet = defineChain ( {
44 id : 2651420 ,
5- name : ' Horizen Testnet' ,
5+ name : " Horizen Testnet" ,
66 nativeCurrency : {
7- name : ' Ethereum' ,
8- symbol : ' ETH' ,
7+ name : " Ethereum" ,
8+ symbol : " ETH" ,
99 decimals : 18 ,
1010 } ,
1111 rpcUrls : {
1212 default : {
13- http : [ ' https://horizen-testnet.rpc.caldera.xyz/http' ] ,
14- webSocket : [ ' wss://horizen-testnet.rpc.caldera.xyz/ws' ] ,
13+ http : [ " https://horizen-testnet.rpc.caldera.xyz/http" ] ,
14+ webSocket : [ " wss://horizen-testnet.rpc.caldera.xyz/ws" ] ,
1515 } ,
1616 } ,
1717 blockExplorers : {
1818 default : {
19- name : ' Horizen Explorer' ,
20- url : ' https://horizen-testnet.explorer.caldera.xyz' ,
19+ name : " Horizen Explorer" ,
20+ url : " https://horizen-testnet.explorer.caldera.xyz" ,
2121 } ,
2222 } ,
2323 testnet : true ,
Original file line number Diff line number Diff line change 1- export * from ' ./horizenTestnet' ;
1+ export * from " ./horizenTestnet" ;
You can’t perform that action at this time.
0 commit comments