@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / chains / SOMNIA_BRIDGE

Variable: SOMNIA_BRIDGE

const SOMNIA_BRIDGE: BridgeDetails

Defined in: packages/sdk/src/chains/bridge/registry.ts:288

The Somnia token bridge: one Hyperlane lane, Somnia Testnet ↔ Hideki2 Testnet, carrying five token routes.

Hideki2 is the 2026-09-17 regenesis of Hideki. ChainId.hidekiTestnet (50383) resolves to it. Hideki 1 still runs on its own lane. This SDK does not ship that lane.

Both chains use chain id 50383. Both use Hyperlane domain 50383. No id therefore tells the two lanes apart. Their Somnia-side core contracts differ, and that difference is the only way to identify a lane.

⚠️ status: "dev-test". A single validator, a threshold-1 ISM and EOA owners — one key is the entire bridge. Do not put real funds behind it.

Delivery gas is paid by the relayer, unmetered (BridgeDetails.relayerPaysDestinationGas): a sender attaches nothing for it, and a drained relayer means transfers are accepted on the origin but not delivered until it is refunded — escrowed, not lost.

Example (Inspecting the registry)

ts
import { SOMNIA_BRIDGE } from "@somnia-chain/markets-sdk/chains";

SOMNIA_BRIDGE.tokens;   // ["STT", "USDso", "WBTC", "WETH", "HBTT"]
SOMNIA_BRIDGE.chainIds; // [50312, 50383]
SOMNIA_BRIDGE.id;       // "somniatestnet-hideki2testnet"