Crate near_ledger[][src]

Expand description

NEAR <-> Ledger transport

Provides a set of commands that can be executed to communicate with NEAR App installed on Ledger device:

  • Read PublicKey from Ledger device by HD Path
  • Sign a Transaction

Enums

NEARLedgerError

Functions

get_public_key

Gets PublicKey from the Ledger on the given hd_path

get_version

Get the version of NEAR App installed on Ledger

sign_transaction

Sign the transaction. Transaction should be borsh serialized Vec<u8>

Type Definitions

BorshSerializedUnsignedTransaction

Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with

NEARLedgerAppVersion

Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with

SignatureBytes

Alias of Vec<u8>. The goal is naming to help understand what the bytes to deal with