UNPKG

@ledgerhq/hw-app-celo

Version:
15 lines 503 B
import Eth from "@ledgerhq/hw-app-eth"; import { rlpEncodedTx } from "@celo/wallet-base"; /** * 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 { async signTransaction(path, rawTxHex) { return super.signTransaction(path, rawTxHex); } async rlpEncodedTxForLedger(txParams) { return rlpEncodedTx(txParams); } } //# sourceMappingURL=Celo.js.map