UNPKG

@ledgerhq/hw-app-celo

Version:
16 lines 588 B
import Eth from "@ledgerhq/hw-app-eth"; import { LegacyEncodedTx } from "@celo/wallet-base"; import type { CeloTx, RLPEncodedTx } from "@celo/connect"; /** * Heavily inspiried by celo-web-wallet * https://github.com/celo-tools/celo-web-wallet/blob/master/src/features/ledger/CeloLedgerApp.ts */ export default class Celo extends Eth { signTransaction(path: string, rawTxHex: string): Promise<{ s: string; v: string; r: string; }>; rlpEncodedTxForLedger(txParams: CeloTx): Promise<RLPEncodedTx | LegacyEncodedTx>; } //# sourceMappingURL=Celo.d.ts.map