Skip to main content
The @sei-js/ledger package provides TypeScript helper functions for the SEI Ledger hardware wallet app. It enables address derivation and offline Amino signing for Cosmos-side transactions on Sei.
For EVM-side transaction signing with Ethers.js, see the Ledger Setup (EVM) guide instead.

Installation

Hardware Requirements

  • Ledger Nano S Plus, Nano X, or compatible device
  • SEI app installed on the Ledger device (via Ledger Live Manager)
  • USB or Bluetooth connection to your computer

Core Functions

createTransportAndApp

Creates a transport connection and app instance for communicating with the Ledger device.
Returns: Promise<{ transport: Transport, app: SeiApp }>

getAddresses

Retrieves both EVM and Cosmos addresses from the Ledger device for a given derivation path.
Parameters: Returns: Promise<{ evmAddress: string, nativeAddress: string }>

SeiLedgerOfflineAminoSigner

A signer class compatible with CosmJS that enables offline Amino signing via Ledger.
Constructor Parameters:

getAccounts

Retrieves account information from the Ledger device.

signAmino

Signs a transaction document using the Ledger device. The device will prompt for physical confirmation.

Complete Example: Delegating Tokens

Security

  • Ensure your Ledger device is genuine and purchased from official sources
  • Always verify transaction details on the Ledger screen before confirming
  • Keep your Ledger firmware and the SEI app updated
  • Store your recovery phrase securely and never share it