@ledgerhq/hw-app-polkadot
TypeScript icon, indicating that this package has built-in type declarations

6.32.0 • Public • Published

GitHub, Ledger Devs Discord, Developer Portal

@ledgerhq/hw-app-polkadot

Ledger Hardware Wallet Polkadot JavaScript bindings.


Are you adding Ledger support to your software wallet?

You may be using this package to communicate with the Polkadot Nano App.

For a smooth and quick integration:

  • See the developers’ documentation on the Developer Portal and
  • Go on Discord to chat with developer support and the developer community.

API

Table of Contents

Polkadot

Polkadot API

Parameters

  • transport Transport

Examples

import Polkadot from "@ledgerhq/hw-app-polkadot";
const polkadot = new Polkadot(transport)

getAddress

Parameters
  • path string
  • ss58prefix number (optional, default 0)
  • showAddrInDevice boolean if true, user must valid if the address is correct on the device (optional, default false)

Returns Promise<{pubKey: string, address: string, return_code: number}>

sign

Sign a payload

Parameters

Returns string signed payload to be broadcasted

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.32.0142latest
6.28.3-start-exchange.03start-exchange
6.9.1-taproot.02taproot
6.32.0-nightly.02nightly
6.32.0-next.02next
6.31.2-hotfix.02hotfix
6.29.0-windows-certificate.02windows-certificate
6.28.4-wc-test.02wc-test
6.28.4-new-wc.02new-wc
6.28.4-new-wc-test.02new-wc-test
6.28.2-custom-exchange.02custom-exchange
6.27.9-protect.12protect
6.27.7-ts-llm.02ts-llm
6.27.3-arm-builds.02arm-builds
6.27.20-tag-word.02tag-word
6.27.2-yolo.02yolo
6.27.16-notarizer.02notarizer
6.27.13-recover-staging.02recover-staging
6.27.13-recover-simu.02recover-simu
6.27.13-recover-beta.02recover-beta
6.27.12-ios-builds-improvement.02ios-builds-improvement
6.27.1-fts.62FTS
6.25.1-alpha.32canary
6.24.2-monorepo.42monorepo
6.2.0-bsc.52bsc
6.0.1-typescript.02typescript
6.0.0-typescript.32v6.0.0-typescript.3
6.0.0-rc.02rc
5.48.1-uglify.02uglifyfi

Version History

VersionDownloads (Last 7 Days)Published
6.32.0142
6.32.0-next.02
6.32.0-nightly.02
6.31.42
6.31.4-next.02
6.31.32
6.31.3-nightly.32
6.31.3-next.02
6.31.3-nightly.22
6.31.3-nightly.12
6.31.3-nightly.02
6.31.22
6.31.2-hotfix.02
6.31.12
6.31.1-nightly.02
6.31.1-next.02
6.30.12
6.30.1-hotfix.02
6.31.02
6.30.1-nightly.12
6.31.0-next.12
6.30.1-nightly.02
6.30.02
6.30.0-hotfix.02
6.30.0-next.02
6.29.06
6.29.0-nightly.42
6.29.0-next.02
6.29.0-nightly.32
6.29.0-nightly.22
6.29.0-windows-certificate.02
6.29.0-nightly.12
6.29.0-nightly.02
6.28.65
6.28.6-next.02
6.28.6-nightly.02
6.28.52
6.28.5-nightly.12
6.28.5-nightly.02
6.28.5-next.02
6.28.4-new-wc.02
6.28.4-new-wc-test.02
6.28.469
6.28.4-wc-test.02
6.28.4-next.02
6.28.4-nightly.02
6.28.3-start-exchange.03
6.28.33
6.28.3-next.02
6.28.22
6.28.2-nightly.12
6.28.2-next.02
6.28.2-custom-exchange.02
6.28.2-nightly.02
6.28.12
6.28.1-next.02
6.28.1-nightly.02
6.28.02
6.28.0-nightly.32
6.28.0-nightly.22
6.28.0-next.02
6.27.21-nightly.12
6.27.21-nightly.02
6.27.209
6.27.20-nightly.32
6.27.20-next.02
6.27.20-nightly.22
6.27.20-tag-word.02
6.27.20-nightly.12
6.27.20-nightly.02
6.27.1911
6.27.19-next.02
6.27.182
6.27.18-nightly.22
6.27.18-nightly.12
6.27.18-next.02
6.27.18-nightly.02
6.27.173
6.27.17-nightly.02
6.27.17-next.02
6.27.162
6.27.16-notarizer.02
6.27.16-next.02
6.27.16-nightly.02
6.27.152
6.27.15-nightly.02
6.27.15-next.02
6.27.142
6.27.14-next.02
6.27.14-nightly.02
6.27.132
6.27.13-recover-beta.02
6.27.13-recover-simu.02
6.27.13-nightly.22
6.27.13-recover-staging.02
6.27.13-nightly.12
6.27.13-next.02
6.27.13-nightly.02
6.27.12-ios-builds-improvement.02
6.27.12-nightly.02
6.27.12-next.02
6.27.122
6.27.112
6.27.11-next.02
6.27.102
6.27.10-next.02
6.27.10-nightly.22
6.27.10-nightly.12
6.27.10-nightly.02
6.27.92
6.27.9-protect.12
6.27.9-nightly.22
6.27.9-protect.02
6.27.9-nightly.12
6.27.9-next.02
6.27.9-nightly.02
6.27.82
6.27.8-next.02
6.27.8-nightly.02
6.27.72
6.27.7-next.02
6.27.7-nightly.32
6.27.7-nightly.22
6.27.7-nightly.12
6.27.7-ts-llm.02
6.27.7-nightly.02
6.27.62
6.27.52
6.27.6-next.02
6.27.5-nightly.22
6.27.5-next.02
6.27.5-nightly.12
6.27.5-nightly.02
6.27.42
6.27.4-nightly.02
6.27.4-next.02
6.27.32
6.27.3-arm-builds.02
6.27.3-next.02
6.27.3-nightly.02
6.27.22
6.27.2-next.02
6.27.2-yolo.02
6.27.2-nightly.12
6.27.2-nightly.02
6.27.116
6.27.1-fts.62
6.24.2-monorepo.42
6.24.2-monorepo.32
6.24.2-monorepo.12
6.24.2-monorepo.02
6.25.1-alpha.32
6.24.136
6.20.02
6.19.02
6.11.22
6.11.02
6.10.02
6.9.1-taproot.02
6.7.02
6.3.02
6.2.02
6.2.0-bsc.52
6.2.0-bsc.42
6.2.0-bsc.32
6.2.0-bsc.22
6.2.0-bsc.12
6.2.0-bsc.02
6.1.02
6.0.22
6.0.12
6.0.02
6.0.0-rc.02
6.0.1-typescript.02
6.0.0-typescript.32
6.0.0-typescript.12
6.0.0-alpha.52
6.0.0-typescript.02
5.48.1-alpha.252
5.51.12
5.51.02
5.50.02
5.49.02
5.48.1-uglify.02
5.48.1-uglifyjs.12
5.48.02
5.46.02
5.45.02

Package Sidebar

Install

npm i @ledgerhq/hw-app-polkadot

Weekly Downloads

657

Version

6.32.0

License

Apache-2.0

Unpacked Size

54.4 kB

Total Files

18

Last publish

Collaborators

  • ledger-releaser
  • thomas.coudray
  • ldg-github-ci
  • aboissiere
  • vbouzon
  • gbrahm-ledger
  • sergii-shkolin
  • phenry-ledger