Skip to content

Commit

Permalink
Update ethereum docs, about generate message file
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Sep 27, 2023
1 parent a455af0 commit f1caadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ethereum.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ In Ethereum, the `Address` is a 20-byte fixed-length array. When used in program

Ethereum's message is calculated using sha3: `Ethereum Signed Message:\n` + 'message' hash. While ckb-auth's message is a fixed length of 32 bytes, so here, `ethkey` supports the input of messages in both textual form and through a file (by using the `--msgfile` parameter). In this context, Ethereum's message is directly utilized as a data parameter hash, necessitating the use of the `--msgfile` to input a file.

You can use the command provided by `ckb-auth-cli` to convert the message to file:
You can use the command provided by `ckb-auth-cli ethereum generate` to convert the message to file:
```shell
message=0011223344556677889900112233445500112233445566778899001122334455
message_file=
Expand Down

0 comments on commit f1caadc

Please sign in to comment.