Brain key string.
Sequence number to derive private key from it. If selected 0, primary private key is generated.
KeyPrivate object.
Generates El Gamal key for content exchange from given private key WIF string
WIF formatted private key of account for which generating El Gamal key
El Gamal private key string.
Generates El Gamal public key from given El Gamal private key
El Gamal private key string.
ElGamal public key string.
Formats amount to format with decimal numbers. Note: Most of amount values are already formatted for this precision format.
Amount of asset in DCore network format.
Asset object to format amount to.
Formatted number in format with decimal numbers.
Formats amount to DCT precision. Value is devided by asset's precision factor Note: Most of amount values are already formatted for this precision format.
Amount to be formatted.
DCore formatted amount.
Format amount value for DCore, to format without decimal numbers.
Amount with decimal numbers to format.
Asset object for formatting.
Formatted number.
Format DCT price amount from blockchain format to real and readable formatted string.
Example: Amount price from blockchain is 1, formatted price 0.00000001 DCT
Amount of DCT asset.
Formatted amount in string format.
Generate random brain key and El Gamal keys from brain key.
Calculate El Gamal keys pair from WIF private key
WIF formatted private key of account for which generating El Gamal keys
ElGamalKeys object.
Generate private and public key from given brain key.
Brain key to generate keys from.
[privateKey: KeyPrivate, publicKey: KeyPublic] Keys.
Generate random
Get brainkey info with brain key, private key and public key. https://docs.decent.ch/developer/group___wallet_a_p_i___account.html#ga1cca4c087c272e07681b2c6d203b7d74
Brain keys string.
BrainKeyInfo object.
Calculate public key from given private key.
Private key to get public key for.
KeyPublic object.
Normalize brain key for further usage in Utils's methods
Brain key generated from Utils.suggestBrainKey or from wallet CLI
Normalized brain key
Create KeyPrivate object from WIF format of private key.
Private key in WIF(hex) (Wallet Import Format) format.
KeyPrivate object.
Create KeyPublic object from string format of public key.
Public key string.
KeyPublic object.
RIPEMD 160 hash
Buffer to calculate hash from.
RIPEMD160 hash.
Brain key string.
Powered by DECENT
Calculate derived private key apart from primary(with sequence number 0). NOTE: May be used as additional keys when creating account - owner, memo key