@ledgerhq/hw-app-vet v0.1.7
GitHub, Ledger Devs Discord, Developer Portal
@ledgerhq/hw-app-vet
Ledger Hardware Wallet ETH JavaScript bindings.
Are you adding Ledger support to your software wallet?
You may be using this package to communicate with the VeChain 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
Vet
VeChain API
Parameters
transport
TransportscrambleKey
(optional, default"V3T"
)
Examples
import Vet from "@ledgerhq/hw-app-vet";
const vet = new Vet(transport)
getAddress
get VeChain address for a given BIP 32 path.
Parameters
path
string a path in BIP 32 formatdisplay
boolean?chainCode
boolean?statusCodes
Array\ (optional, default[StatusCodes.OK]
)
Examples
vet.getAddress("m/44'/818'/0'/0").then(o => o.address)
Returns Promise<{publicKey: string, address: string, chainCode: string?}> an object with a publicKey and address
signTransaction
You can sign a transaction and retrieve v, r, s given the raw transaction and the BIP 32 path of the account to sign.
Parameters
3 days ago
15 days ago
15 days ago
21 days ago
22 days ago
21 days ago
23 days ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago