@zethub/bridge
Getting started

Installation

Install the SDK.

Install

pnpm add @zethub/bridge
npm install @zethub/bridge
yarn add @zethub/bridge
bun add @zethub/bridge

Peer dependencies

The SDK depends on viem and @stellar/stellar-sdk internally. Both are declared as regular dependencies, so nothing extra is required. If you already have them in your app they will be deduped by your package manager.

There are no wallet library peer dependencies. The SDK never signs anything. Bring viem, wagmi, ethers, Freighter, Lobstr, Stellar Wallets Kit, or whatever else you like.

Runtime targets

The SDK is built for modern browsers and Node 20 or newer. It ships both ESM and CommonJS builds. TypeScript types are included.

On this page