@blooo/hw-app-concordium
Version:
Ledger Hardware Wallet Concordium Application API
23 lines (15 loc) • 564 B
Markdown
Get the public key for a specific BIP32 path.
* `path` **string** - A BIP32 path.
* `display` **boolean** - Flag to show display.
* `signedKey` **boolean** - Flag to sign key.
* `publicKey` **string** - The public key.
* `signedPublicKey` **string** - Only if signedKey is true. The signed public key.
```javascript
const { publicKey } = await ccd.getPublicKey("44/919/0/0/0/0", true, false);
// Or
const { publicKey, signedPublicKey } = await ccd.getPublicKey("44/919/0/0/0/0", true, true);
```