Skip to content

Commit

Permalink
chain: add fhenix helium testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedfool committed Sep 17, 2024
1 parent 611426b commit 877f7f6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Chain } from "@rainbow-me/rainbowkit";

export const fhenixHeliumTestnet: Chain = {
id: 8008135,
name: "fhenixHeliumTestnet",
iconUrl: "/fhenix.svg",
nativeCurrency: {
decimals: 18,
name: "tFHE",
symbol: "tFHE",
},
rpcUrls: {
public: { http: ["https://api.helium.fhenix.zone"] },
default: { http: [`https://api.helium.fhenix.zone`] },
},
blockExplorers: {
etherscan: { name: "Fhenix Helium Testnet scan", url: "https://explorer.helium.fhenix.zone/" },
default: { name: "Fhenix Helium Testnet scan", url: "https://explorer.helium.fhenix.zone/" },
},
testnet: true,
};
2 changes: 2 additions & 0 deletions packages/react-app-revamp/config/wagmi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ import { zora } from "./custom-chains/zora";
import { kakarotTestnet } from "./custom-chains/kakarotTestnet";
import { syscoin } from "./custom-chains/syscoin";
import { syscoinTestnet } from "./custom-chains/syscoinTestnet";
import { fhenixHeliumTestnet } from "./custom-chains/fhenixHeliumTestnet";

declare module "wagmi";

Expand Down Expand Up @@ -256,6 +257,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
storyTestnet,
soneiumTestnet,
laminaTestnet,
fhenixHeliumTestnet,
mainnet,
];

Expand Down
2 changes: 2 additions & 0 deletions packages/react-app-revamp/config/wagmi/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ import { zircuit } from "./custom-chains/zircuit";
import { zkFair } from "./custom-chains/zkFair";
import { zkFairTestnet } from "./custom-chains/zkFairTestnet";
import { zora } from "./custom-chains/zora";
import { fhenixHeliumTestnet } from "./custom-chains/fhenixHeliumTestnet";

type Transports = Record<Chain["id"], Transport>;

Expand Down Expand Up @@ -234,6 +235,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
storyTestnet,
soneiumTestnet,
laminaTestnet,
fhenixHeliumTestnet,
mainnet,
];

Expand Down

0 comments on commit 877f7f6

Please sign in to comment.