Skip to content

Commit 2d1bf23

Browse files
authored
Merge pull request #8 from Conflux-Chain/updateDoc
Fix doc error
2 parents 093b6cf + 97e0cd2 commit 2d1bf23

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

docs/APDU.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Notice the chain ID (`0x00000405 ~ 1029`, aka mainnet) at the end.
170170

171171
| CLA | INS | P1 | P2 | Lc | Le |
172172
| ---- | ---- | --------------------------------------- | ---- | -------- | -------- |
173-
| `e0` | `03` | `00`: first data block | `08` more | variable | variable |
173+
| `e0` | `03` | `00`: first data block | `80` more | variable | variable |
174174
| | | `01`-`03`: subsequent data block index | `00` last | | |
175175

176176
##### Request payload
@@ -200,11 +200,11 @@ Subsequent data blocks:
200200

201201
#### Examples
202202

203-
**Command**: `e003000815058000002c800001f7800000000000000000000000`
203+
**Command**: `e003008015058000002c800001f7800000000000000000000000`
204204

205205
| CLA | INS | P1 | P2 | Lc | Le |
206206
| ------ | ------ | ------ | ------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
207-
| `0xe0` | `0x03` | `0x00` | `0x08` | `0x15` | `0x05 0x8000002c 0x800001f7 0x80000000 0x00000000 0x00000000` |
207+
| `0xe0` | `0x03` | `0x00` | `0x80` | `0x15` | `0x05 0x8000002c 0x800001f7 0x80000000 0x00000000 0x00000000` |
208208

209209
`44'/503'/0'/0/0` is encoded as `0x05 0x8000002c 0x800001f7 0x80000000 0x00000000 0x00000000`.
210210

@@ -231,23 +231,3 @@ Subsequent data blocks:
231231
```
232232
233233
**Response**: `00 f9071161c2dbc19dabf54d14d42944cecacf61943a9898f4f64c8aa6d23a58b6 64ea364f092d23d7a94388f2f43cf54a86fe644d221e822210fde413d406ebb6 9000`
234-
235-
---
236-
237-
The same transaction sent in two chunks:
238-
239-
**Command**: `e00300002b058000002c800001f7800000000000000000000000eb1284561f61b9831e84809410109fc8df283027b628`
240-
241-
| CLA | INS | P1 | P2 | Lc | Le |
242-
| ------ | ------ | ------ | ------ | ------ | ------------------------------------------------------------------------------------------------------------ |
243-
| `0xe0` | `0x03` | `0x00` | `0x00` | `0x2b` | `0x05 0x8000002c 0x800001f7 0x80000000 0x00000000 0x00000000 0xeb1284561f61b9831e84809410109fc8df283027b628` |
244-
245-
**Response**: `9000`
246-
247-
**Command**: `e0038000165cc889f5aa624eac1f55843b9aca0081800182040580`
248-
249-
| CLA | INS | P1 | P2 | Lc | Le |
250-
| ------ | ------ | ------ | ------ | ------ | ------------------------------------------------ |
251-
| `0xe0` | `0x03` | `0x80` | `0x00` | `0x16` | `0x5cc889f5aa624eac1f55843b9aca0081800182040580` |
252-
253-
**Response**: `00 f9071161c2dbc19dabf54d14d42944cecacf61943a9898f4f64c8aa6d23a58b6 64ea364f092d23d7a94388f2f43cf54a86fe644d221e822210fde413d406ebb6 9000`

0 commit comments

Comments
 (0)