Skip to content

Commit

Permalink
chain: add lamina (#2353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean McCaffery authored Sep 11, 2024
1 parent 907bc14 commit ab788bd
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/react-app-revamp/config/wagmi/custom-chains/lamina.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Chain } from "@rainbow-me/rainbowkit";

export const lamina: Chain = {
id: 10849,
name: "lamina",
iconUrl: "/lamina.png",
nativeCurrency: {
decimals: 18,
name: "L1",
symbol: "L1",
},
rpcUrls: {
public: { http: ["https://subnets.avax.network/lamina1/mainnet/rpc"] },
default: { http: ["https://subnets.avax.network/lamina1/mainnet/rpc"] },
},
blockExplorers: {
etherscan: { name: "Lamina Mainnet Scan", url: "https://explorer.lamina1.com/" },
default: { name: "Lamina Mainnet Scan", url: "https://explorer.lamina1.com/" },
},
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Chain } from "@rainbow-me/rainbowkit";

export const laminaTestnet: Chain = {
id: 764984,
name: "laminaTestnet",
iconUrl: "/lamina.png",
nativeCurrency: {
decimals: 18,
name: "L1T",
symbol: "L1T",
},
rpcUrls: {
public: { http: ["https://subnets.avax.network/lamina1tes/testnet/rpc"] },
default: { http: ["https://subnets.avax.network/lamina1tes/testnet/rpc"] },
},
blockExplorers: {
etherscan: { name: "Lamina Testnet Scan", url: "https://subnets-test.avax.network/lamina1tes/" },
default: { name: "Lamina Testnet Scan", url: "https://subnets-test.avax.network/lamina1tes/" },
},
testnet: true,
};
4 changes: 4 additions & 0 deletions packages/react-app-revamp/config/wagmi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ import { inEvm } from "./custom-chains/inEvm";
import { inEvmTestnet } from "./custom-chains/inEvmTestnet";
import { kaiaTestnet } from "./custom-chains/kaiaTestnet";
import { kroma } from "./custom-chains/kroma";
import { lamina } from "./custom-chains/lamina";
import { laminaTestnet } from "./custom-chains/laminaTestnet";
import { linea } from "./custom-chains/linea";
import { lineaTestnet } from "./custom-chains/lineaTestnet";
import { litTestnet } from "./custom-chains/litTestnet";
Expand Down Expand Up @@ -200,6 +202,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
rollux,
syscoin,
zircuit,
lamina,
polygonTestnet,
sepolia,
polygonZkTestnet,
Expand Down Expand Up @@ -252,6 +255,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
syscoinTestnet,
storyTestnet,
soneiumTestnet,
laminaTestnet,
mainnet,
];

Expand Down
4 changes: 4 additions & 0 deletions packages/react-app-revamp/config/wagmi/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ import { inEvmTestnet } from "./custom-chains/inEvmTestnet";
import { kaiaTestnet } from "./custom-chains/kaiaTestnet";
import { kakarotTestnet } from "./custom-chains/kakarotTestnet";
import { kroma } from "./custom-chains/kroma";
import { lamina } from "./custom-chains/lamina";
import { laminaTestnet } from "./custom-chains/laminaTestnet";
import { linea } from "./custom-chains/linea";
import { lineaTestnet } from "./custom-chains/lineaTestnet";
import { litTestnet } from "./custom-chains/litTestnet";
Expand Down Expand Up @@ -178,6 +180,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
rollux,
syscoin,
zircuit,
lamina,
polygonTestnet,
sepolia,
polygonZkTestnet,
Expand Down Expand Up @@ -230,6 +233,7 @@ export const chains: readonly [Chain, ...Chain[]] = [
syscoinTestnet,
storyTestnet,
soneiumTestnet,
laminaTestnet,
mainnet,
];

Expand Down
Binary file added packages/react-app-revamp/public/lamina.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab788bd

Please sign in to comment.