Ledger Hardware Wallet NEAR JavaScript bindings.
You may be using this package to communicate with the NEAR 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.
NEAR API
-
transport
Transport
import Near from "@ledgerhq/hw-app-near";
const near = new Near(transport)
near.getAddress("44'/397'/0'/0'/0'", true).then(o => o.address)
Returns Promise<{publicKey: string, address: string}> an object with a publicKey and address
-
transaction
Uint8Array -
path
string
Returns Promise<(Buffer | undefined)> a signature to be broadcasted to the chain