Ledger Hardware Wallet Support
Connect your Ledger Nano X/S with a usb cable.
Enter your PIN code.
Open the Dfinity app on the Ledger device.
Connect and get the Principal:
Connect
Principal Id
Actions:
Show
Show the Principal on the device.
Send message (Proto)
Replica URL
Canister ID
Method
Proto Schema
syntax = "proto3"; message TimeStamp { uint64 timestamp_nanos = 1; } message Memo { uint64 memo = 1; } message ICPTs { uint64 e8s = 1; } message Payment { ICPTs receiver_gets = 1; } message Subaccount { bytes sub_account = 1; // always 32 bytes } message AccountIdentifier { bytes hash = 1; // always 32 bytes, starts with CRC32 } message BlockHeight { uint64 height = 1; } // Get the length of the chain with a certification message TipOfChainRequest { } message TipOfChainResponse { Certification certification = 1; BlockHeight chain_length = 2; } // How many ICPTs are there not in the minting account message TotalSupplyRequest { } message TotalSupplyResponse { ICPTs total_supply = 1; } // Get the balance of an account message AccountBalanceRequest { AccountIdentifier account = 1; } message AccountBalanceResponse { ICPTs balance = 1; } message SendRequest { Memo memo = 1; Payment payment = 2; ICPTs max_fee = 3; Subaccount from_subaccount = 4; AccountIdentifier to = 5; BlockHeight created_at = 6; TimeStamp created_at_time = 7; } message SendResponse { BlockHeight resulting_height = 1; }
Proto Argument (in JSON, using camelCase)
{ "memo": { "memo": 0 }, "payment": { "receiverGets": { "e8s": 1000000000000 } }, "maxFee": { "e8s": 137 }, "fromSubaccount": { "subAccount": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, "to": { "hash": [ 63, 192, 30, 55, 155, 49, 178, 255, 133, 46, 202, 117, 7, 89, 119, 227, 157, 10, 167, 171, 191, 44, 27, 190, 168, 104, 237, 139, 75, 108, 121, 255 ] } }
Response (in JSON)
Send