34
34
35
35
### constructor
36
36
37
- ⊕ ** new EthereumHDKey** (\_ hdkey? : _ ` any ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
37
+ ⊕ ** new EthereumHDKey** (\_ hdkey: _ ` any ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
38
38
39
- _ Defined in [ hdkey.ts:21] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97 /src/hdkey.ts#L21 ) _
39
+ _ Defined in [ hdkey.ts:21] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d /src/hdkey.ts#L21 ) _
40
40
41
41
** Parameters:**
42
42
@@ -56,7 +56,7 @@ _Defined in [hdkey.ts:21](https://github.com/ethereumjs/ethereumjs-wallet/blob/c
56
56
57
57
** ● \_ hdkey** : _ ` any ` _
58
58
59
- _ Defined in [ hdkey.ts:23] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97 /src/hdkey.ts#L23 ) _
59
+ _ Defined in [ hdkey.ts:23] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d /src/hdkey.ts#L23 ) _
60
60
61
61
---
62
62
@@ -68,9 +68,7 @@ _Defined in [hdkey.ts:23](https://github.com/ethereumjs/ethereumjs-wallet/blob/c
68
68
69
69
▸ ** deriveChild** (index: _ ` number ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
70
70
71
- _ Defined in [ hdkey.ts:52] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L52 ) _
72
-
73
- Derive a node based on a child index
71
+ _ Defined in [ hdkey.ts:52] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L52 ) _
74
72
75
73
** Parameters:**
76
74
@@ -88,9 +86,7 @@ Derive a node based on a child index
88
86
89
87
▸ ** derivePath** (path: _ ` string ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
90
88
91
- _ Defined in [ hdkey.ts:45] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L45 ) _
92
-
93
- Derives a node based on a path (e.g. m/44'/0'/0/1)
89
+ _ Defined in [ hdkey.ts:45] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L45 ) _
94
90
95
91
** Parameters:**
96
92
@@ -108,9 +104,7 @@ Derives a node based on a path (e.g. m/44'/0'/0/1)
108
104
109
105
▸ ** getWallet** (): [ Wallet] ( wallet.md )
110
106
111
- _ Defined in [ hdkey.ts:59] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L59 ) _
112
-
113
- Return a ` Wallet ` instance as seen above
107
+ _ Defined in [ hdkey.ts:59] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L59 ) _
114
108
115
109
** Returns:** [ Wallet] ( wallet.md )
116
110
@@ -122,9 +116,7 @@ Return a `Wallet` instance as seen above
122
116
123
117
▸ ** privateExtendedKey** (): ` Buffer `
124
118
125
- _ Defined in [ hdkey.ts:28] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L28 ) _
126
-
127
- Returns a BIP32 extended private key (xprv)
119
+ _ Defined in [ hdkey.ts:28] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L28 ) _
128
120
129
121
** Returns:** ` Buffer `
130
122
@@ -136,9 +128,7 @@ Returns a BIP32 extended private key (xprv)
136
128
137
129
▸ ** publicExtendedKey** (): ` Buffer `
138
130
139
- _ Defined in [ hdkey.ts:38] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L38 ) _
140
-
141
- Return a BIP32 extended public key (xpub)
131
+ _ Defined in [ hdkey.ts:38] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L38 ) _
142
132
143
133
** Returns:** ` Buffer `
144
134
@@ -150,9 +140,7 @@ Return a BIP32 extended public key (xpub)
150
140
151
141
▸ ** fromExtendedKey** (base58Key: _ ` string ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
152
142
153
- _ Defined in [ hdkey.ts:19] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L19 ) _
154
-
155
- Create an instance based on a BIP32 extended private or public key.
143
+ _ Defined in [ hdkey.ts:19] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L19 ) _
156
144
157
145
** Parameters:**
158
146
@@ -170,11 +158,7 @@ Create an instance based on a BIP32 extended private or public key.
170
158
171
159
▸ ** fromMasterSeed** (seedBuffer: _ ` Buffer ` _ ): [ EthereumHDKey] ( ethereumhdkey.md )
172
160
173
- _ Defined in [ hdkey.ts:12] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/c748f97/src/hdkey.ts#L12 ) _
174
-
175
- Creates an instance based on a seed.
176
-
177
- For the seed we suggest to use [ bip39] ( https://npmjs.org/package/bip39 ) to create one from a BIP39 mnemonic.
161
+ _ Defined in [ hdkey.ts:12] ( https://github.com/ethereumjs/ethereumjs-wallet/blob/13fb20d/src/hdkey.ts#L12 ) _
178
162
179
163
** Parameters:**
180
164
0 commit comments