Construct a Wallet
object from an extended key.
The wallet public key.
Whether the wallet is read-only or not.
The default wallet derivaton path.
Get a bitxor private key string with the extended key property.
No derivation is done in this step. Derivation must be done either before
calling this method or using the getChildAccount
method.
main account private key.
Get a bitxor public key string with the extended key property.
No derivation is done in this step. Derivation must be done either before
calling this method or using the getChildPublicAccount
method.
the account public key.
Get a bitxor private key string with the derived child account.
In case no derivation path is provided, the default wallet path
will be used, see Wallet.DEFAULT_WALLET_PATH
.
Child derivation path, default to Wallet.DEFAULT_WALLET_PATH
.
the private key
Get a bitxor public key with the derived child account.
In case no derivation path is provided, the default wallet path
will be used, see Wallet.DEFAULT_WALLET_PATH
.
Child derivation path, default to Wallet.DEFAULT_WALLET_PATH
.
string the child public key.
Return whether the current wallet is read-only, or not.
In case of an initialization with an extended public key, the wallet is set to be read-only.
Generated using TypeDoc
Class
Wallet
describes a hierarchical deterministic Wallet that produces BitxorCore-ED25519-compatible accounts.This class provides with a bridge between BIP32-ED25519 compatible key pairs and bitxor ready private and public keys.
Usage of hierarchical deterministic wallets
https://github.com/nemtech/NIP/issues/12
0.3.0