Skip to content

Commit 079a088

Browse files
committed
format application
1 parent 7efcf6d commit 079a088

File tree

4 files changed

+273
-273
lines changed

4 files changed

+273
-273
lines changed

packages/nextjs/hooks/app/useEnforceNetwork.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useEffect } from "react";
2-
import { useChainId, useSwitchChain } from "wagmi";
32
import { horizenTestnet } from "@polypay/shared";
3+
import { useChainId, useSwitchChain } from "wagmi";
44

55
export const useEnforceNetwork = () => {
66
const chainId = useChainId();

packages/shared/src/chains/horizenTestnet.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
import { defineChain } from 'viem';
1+
import { defineChain } from "viem";
22

33
export 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,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './horizenTestnet';
1+
export * from "./horizenTestnet";

0 commit comments

Comments
 (0)