Zondax / ledger-icp

Apache License 2.0
16 stars 9 forks source link

Send ICP and Stake Neuron in Candid #207

Closed lmuntaner closed 1 year ago

lmuntaner commented 1 year ago

Two more transactions we'd like to support for Candid: "Send ICP" and "Stake Neuron".

The vectors are the same for both. The difference is a byte passed when signing; therefore, not part of the test vectors.

The last three test vectors are "Stake Neuron" while the first seven are "Send ICP".

send-icp-stake-neuron.json.txt

Same rendering functionality and logic as for proto transactions (if any of the below are different, reach out):

The stake neuron vectors have hardcoded bytes to be able to reproduce the to account. Code is here.

Thanks!

:link: zboto Link