Update documentation
This commit is contained in:
parent
3617bb2eee
commit
050f482fe5
|
@ -1,11 +1,15 @@
|
|||
Ethereum application : Common Technical Specifications
|
||||
=======================================================
|
||||
Ledger Firmware Team <hello@ledger.fr>
|
||||
Application version 1.0 - 28th of May 2016
|
||||
Application version 1.1 - 11th of October 2016
|
||||
|
||||
== 1.0
|
||||
- Initial release
|
||||
|
||||
== 1.1
|
||||
- Add GET APP CONFIGURATION
|
||||
- Add an option to return the chain code in GET ETH PUBLIC ADDRESS
|
||||
|
||||
== About
|
||||
|
||||
This application describes the APDU messages interface to communicate with the Ethereum application.
|
||||
|
@ -38,7 +42,9 @@ The address can be optionally checked on the device before being returned.
|
|||
| E0 | 02 | 00 : return address
|
||||
|
||||
01 : display address and confirm before returning
|
||||
| 00 | variable | variable
|
||||
| 00 : do not return the chain code
|
||||
|
||||
01 : return the chain code | variable | variable
|
||||
|==============================================================================================================================
|
||||
|
||||
'Input data'
|
||||
|
@ -61,6 +67,7 @@ The address can be optionally checked on the device before being returned.
|
|||
| Uncompressed Public Key | var
|
||||
| Ethereum address length | 1
|
||||
| Ethereum address | var
|
||||
| Chain code if requested | 32
|
||||
|==============================================================================================================================
|
||||
|
||||
|
||||
|
@ -121,6 +128,41 @@ The input data is the RLP encoded transaction (as per https://github.com/ethereu
|
|||
| s | 32
|
||||
|======================================================================================================
|
||||
|
||||
=== GET APP CONFIGURATION
|
||||
|
||||
==== Description
|
||||
|
||||
This command returns specific application configuration
|
||||
|
||||
==== Coding
|
||||
|
||||
'Command'
|
||||
|
||||
[width="80%"]
|
||||
|==============================================================================================================================
|
||||
| *CLA* | *INS* | *P1* | *P2* | *Lc* | *Le*
|
||||
| E0 | 06 | 00 | 00 | 00 | 04
|
||||
|==============================================================================================================================
|
||||
|
||||
'Input data'
|
||||
|
||||
None
|
||||
|
||||
'Output data'
|
||||
|
||||
[width="80%"]
|
||||
|==============================================================================================================================
|
||||
| *Description* | *Length*
|
||||
| Flags
|
||||
|
||||
0x01 : arbitrary data signature enabled by user
|
||||
|
||||
| 01
|
||||
| Application major version | 01
|
||||
| Application minor version | 01
|
||||
| Application patch version | 01
|
||||
|==============================================================================================================================
|
||||
|
||||
|
||||
== Transport protocol
|
||||
|
||||
|
|
Loading…
Reference in New Issue