-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6d3069
commit 5a86b55
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
packages/grid_client/docs/architecture/decisions/support_hex_based_seed.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 3. support_hex_based_seed.md | ||
|
||
Date: 2023-11-16 | ||
|
||
## Status | ||
|
||
Done | ||
|
||
## Context | ||
|
||
Add support for hex based seed (Aka. hexSeed). Basically it's an algorithm derive a hexSeed from regular mnemonic which can be used while interacting with chain without exposing user's mnemonic. | ||
|
||
Note: Threefold Connector App is using hex based seed so now users can copy their hexSeed and use it directly in our clients | ||
|
||
## Decision | ||
|
||
Currently, We added a `toHexSeed` helper to convert any passed mnemonic into hexSeed and if the user passed hexSeed it stays as it is. | ||
|
||
Example: | ||
mnemonic: "word position fox tonight initial genuine liquid jewel almost craft broom maximum" | ||
hexSeed: "0xd8c3909af2227220a5ad15cc5fe1aeb8bd620b50b96d910220c2062c18b28232" | ||
|
||
## Consequences | ||
|
||
There is no specific consequences related. |