-
Notifications
You must be signed in to change notification settings - Fork 10
/
doc.go
44 lines (39 loc) · 1.74 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
Package account contains code for managing account keypairs, generating a HD
wallet as well as saving them securely to disk.
HD wallet functionality per AEX-10
(https://github.com/aeternity/AEXs/blob/master/AEXS/aex-10.md) is implemented in
this fashion:
+----------------------------+
| BIP39 Mnemonic |
+-------------+--------------+
|
+-------------+--------------+
| Binary Seed |
+-------------+--------------+
|
+-------------+--------------+
| BIP32 Master Key |
+----X-----------------------+
XXX
XXX
+-----X---+ +---------+ +----------+
| | | | | |
| | | | | |
| | | | | |
+---------XX +---------+ +----------+
XXX
+---------+ +--XX-----+
| | | |
| | | |
| | | |
+---------+ +-------XX+
X +---------------------+
+----XX+----+ | |
| | | |
| Child Key +-------------------> aeternity Account |
| | | |
+-----------+ | |
+---------------------+
*/
package account