Constructor
new Bip32(curveName, mnemonicLanguage)
Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
curveName | 
            
            string | 
                
                    ed25519
                
                 | 
            
            Elliptic curve to use.  | 
        
mnemonicLanguage | 
            
            string | 
                
                    english
                
                 | 
            
            Language of constructed mnemonics.  | 
        
Classes
Methods
fromMnemonic(mnemonic, password) → {Bip32Node}
- Description:
 Creates a BIP32 root node from a BIP39 mnemonic and password.
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
mnemonic | 
            
            string | BIP32 mnemonic.  | 
        
password | 
            
            string | BIP32 mnemonic password.  | 
        
Returns:
BIP32 root node.
- Type
 - Bip32Node
 
fromSeed(seed) → {Bip32Node}
Parameters:
| Name | Type | Description | 
|---|---|---|
seed | 
            
            Uint8Array | BIP32 seed.  | 
        
Returns:
BIP32 root node.
- Type
 - Bip32Node
 
random(seedLength) → {string}
Parameters:
| Name | Type | Default | Description | 
|---|---|---|---|
seedLength | 
            
            number | 
                
                    32
                
                 | 
            
            Length of random seed to use when generating mnemonic.  | 
        
Returns:
Random mnemonic created with the specified entropy.
- Type
 - string