HdKey.fromExtendedKey
Creates a HD Key from an extended private key.
Imports
Named
import { HdKey } from 'ox'
Examples
import { HdKey } from 'ox'
const hdKey = HdKey.fromExtendedKey('...')
console.log(hdKey.privateKey)
'0x...'
Definition
function fromExtendedKey(
extendedKey: string,
): HdKey
Source: src/HdKey.ts
Parameters
extendedKey
- Type:
string
The extended private key.
Return Type
The HD Key.
HdKey.HdKey