Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions apps/fallback/src/lib/wagmi-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
celo,
corn,
etherlink,
flame,
fraxtal,
hemi,
ink,
Expand Down Expand Up @@ -72,13 +71,13 @@ const chains = [
customChains.hyperevm,
optimism,
customChains.monad,
customChains.stable,
// fallback support (alphabetical)
abstract,
bsc,
celo,
corn,
etherlink,
flame,
fraxtal,
hemi,
ink,
Expand Down Expand Up @@ -199,7 +198,6 @@ const transports: Record<(typeof chains)[number]["id"], Transport> = {
]),
[customChains.monad.id]: createFallbackTransport([...createPonderHttp(customChains.monad.id)]),
[hemi.id]: createFallbackTransport([{ url: "https://rpc.hemi.network/rpc", batch: false }]),
[flame.id]: createFallbackTransport(flame.rpcUrls.default.http.map((url) => ({ url, batch: false }))),
[lisk.id]: createFallbackTransport([
{ url: "https://lisk.gateway.tenderly.co", batch: { batchSize: 10 } },
...lisk.rpcUrls.default.http.map((url) => ({ url, batch: false })),
Expand All @@ -218,6 +216,10 @@ const transports: Record<(typeof chains)[number]["id"], Transport> = {
...createPonderHttp(customChains.tac.id),
...customChains.tac.rpcUrls.default.http.map((url) => ({ url, batch: false })),
]),
[customChains.stable.id]: createFallbackTransport([
...createPonderHttp(customChains.stable.id),
...customChains.stable.rpcUrls.default.http.map((url) => ({ url, batch: false })),
]),
// [customChains.basecamp.id]: createFallbackTransport(
// customChains.basecamp.rpcUrls.default.http.map((url) => ({ url, batch: false })),
// ),
Expand Down
3 changes: 3 additions & 0 deletions packages/uikit/src/assets/chains/stable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions packages/uikit/src/components/chain-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import ScrollSvg from "@/assets/chains/scroll.svg?react";
import SeiSvg from "@/assets/chains/sei.svg?react";
import SoneiumSvg from "@/assets/chains/soneium.svg?react";
import SonicSvg from "@/assets/chains/sonic.svg?react";
import StableSvg from "@/assets/chains/stable.svg?react";
import TacSvg from "@/assets/chains/tac.svg?react";
import UnichainSvg from "@/assets/chains/unichain.svg?react";
import WorldchainSvg from "@/assets/chains/worldchain.svg?react";
Expand Down Expand Up @@ -114,6 +115,8 @@ export function ChainIcon({ id }: { id: number | undefined }): JSX.Element {
return <SoneiumSvg />;
case sonic.id:
return <SonicSvg />;
case customChains.stable.id:
return <StableSvg />;
case customChains.tac.id:
return <TacSvg />;
case unichain.id:
Expand Down
1 change: 1 addition & 0 deletions packages/uikit/src/lib/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export { basecamp } from "./camp";
export { hyperevm } from "./hyperevm";
export { katana } from "./katana";
export { monad } from "./monad";
export { stable } from "./stable";
export { tac } from "./tac";
29 changes: 29 additions & 0 deletions packages/uikit/src/lib/chains/stable.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { defineChain } from "viem";

export const stable = defineChain({
id: 988,
name: "Stable Mainnet",
network: "stable",
nativeCurrency: {
symbol: "gUSDT",
name: "gasUSDT",
decimals: 18,
},
rpcUrls: {
default: {
http: ["https://rpc.stable.xyz"],
},
},
blockExplorers: {
default: {
name: "Stable Explorer",
url: "https://explorer.stable.xyz/",
},
},
contracts: {
multicall3: {
address: "0xcA11bde05977b3631167028862bE2a173976CA11",
blockCreated: 2423647,
},
},
});
5 changes: 5 additions & 0 deletions packages/uikit/src/lib/deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ export const DEPLOYMENTS: Deployments = {
Morpho: { address: "0xD5D960E8C380B724a48AC59E2DfF1b2CB4a1eAee", fromBlock: 31907457n },
MetaMorphoV1_1Factory: { address: "0x33f20973275B2F574488b18929cd7DCBf1AbF275", fromBlock: 32320327n },
},
[customChains.stable.id]: {
Morpho: { address: "0xa40103088A899514E3fe474cD3cc5bf811b1102e", fromBlock: 1504506n },
MetaMorphoV1_1Factory: { address: "0xb4ae5673c48621189E2bEfBA96F31912032DD1AE", fromBlock: 1504774n },
},
};

export const CORE_DEPLOYMENTS = new Set<keyof Deployments>([
Expand All @@ -177,6 +181,7 @@ export const CORE_DEPLOYMENTS = new Set<keyof Deployments>([
customChains.hyperevm.id,
optimism.id,
customChains.monad.id,
customChains.stable.id,
]);

export function getContractDeploymentInfo(chainId: number, name: OptionalContracts): DeploymentDetails | undefined;
Expand Down
Loading