@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.
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.Promise<{ transport: Transport, app: SeiApp }>
getAddresses
Retrieves both EVM and Cosmos addresses from the Ledger device for a given derivation path.| Parameter | Type | Description |
|---|---|---|
app | SeiApp | Ledger Sei app instance |
path | string | HD derivation path (e.g. "m/44'/60'/0'/0/0") |
Promise<{ evmAddress: string, nativeAddress: string }>
SeiLedgerOfflineAminoSigner
A signer class compatible with CosmJS that enables offline Amino signing via Ledger.| Parameter | Type | Description |
|---|---|---|
app | SeiApp | Ledger Sei app instance |
path | string | HD derivation path |
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