UNPKG

@ledgerhq/hw-app-hedera

Version:
54 lines (31 loc) 1.63 kB
[GitHub](https://github.com/LedgerHQ/ledger-live/), [Ledger Devs Discord](https://developers.ledger.com/discord-pro), [Developer Portal](https://developers.ledger.com/) ## @ledgerhq/hw-app-hedera Ledger Hardware Wallet Hedera JavaScript bindings. *** ## Are you adding Ledger support to your software wallet? You may be using this package to communicate with the Hedera Nano App. For a smooth and quick integration: * See the developers’ documentation on the [Developer Portal](https://developers.ledger.com/docs/transport/overview/) and * Go on [Discord](https://developers.ledger.com/discord-pro/) to chat with developer support and the developer community. *** ## API <!-- Generated by documentation.js. Update this documentation by updating the source code. --> #### Table of Contents * [Hedera](#hedera) * [Parameters](#parameters) * [getPublicKey](#getpublickey) * [Parameters](#parameters-1) ### Hedera Hedera BOLOS API #### Parameters * `transport` **Transport**&#x20; * `scrambleKey` (optional, default `"BOIL"`) #### getPublicKey Get a Hedera public key for a given BIP-32 path. Note that this does not return an address, nor is an account address derivable from a public key on the Hedera network. ##### Parameters * `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP-32 format Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** the public key