Function: privateKeyFromPhrase()
function privateKeyFromPhrase(mnemonic): 0x${string}
Generate the private key from the mnemonic phrase.
Parameters
Parameter | Type | Description |
---|---|---|
|
| The mnemonic phrase to generate the private key from. |
Returns
0x${string}
The private key.
Defined
@nilfoundation/niljs/src/signers/mnemonic.ts:12