Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Use hdpath as an address #138

@splix

Description

@splix

Allow user to specify a HD Path from a hardware wallet for a new transaction, for to and from parts.

emerald transaction \
   hw:m/44'/60'/0'/1 \
   0x0e7c045110b8dbf29765047380898919c5cb56f4 \
   10 \
   --nonce 1

Should ask user to sign transaction using HW Wallet:

Emerald Vault is requesting to sign following transaction:
----------------------------------------------------
FROM:     m/44'/60'/0'/1
          0x9cbe7c045110b8d8768915047bf2f456030899c5
TO:       0x0e7c045110b8dbf29765047380898919c5cb56f4
VALUE:    10.00 ETC 
          0x8AC7230489E80000 WEI
NONCE:    1
GAS:      21000
GASPRICE: 15200000000 WEI
DATA:     <none>
----------------------------------------------------
Please confirm the transaction on the device.

For

emerald transaction \
   0x0e7c045110b8dbf29765047380898919c5cb56f4 \
   hw:m/44'/60'/0'/1 \
   10 \
   --nonce 1

It should just sign prepare transaction to 0x9cbe7c045110b8d8768915047bf2f456030899c5 (which is m/44'/60'/0'/1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions