Home Reference Source

References

chain/src

summary
public
public
public
public
public

F emitter(): *

public

F get(state: *): *

public

F set(state: *): *

public
public
public

V ChainTypes: {}

public

V chainValidation: {"is_account_name": *, "is_object_id": *, "is_empty": *, "is_account_name_error": *, "is_cheap_name": *, "is_empty_user_input": *, "required": *, "is_valid_symbol_error": *}

public

V NumberUtils: string: {"toImpliedDecimal": *}

Convert 12.34 with a precision of 3 into 12340

public

V helper: {}

ecc/src

summary
public
public
public

Addresses are shortened non-reversable hashes of a public key.

public

C Aes

Provides symetric encrypt and decrypt via AES.

public
public

F normalize(brainKey: *): *

public

F calcPubKeyRecoveryParam(curve: *, e: *, signature: *, Q: *): *

Calculate pubkey extraction parameter.

public

F deterministicGenerateK(curve: *, hash: *, d: *, checkSig: *, nonce: *): *

public

F recoverPubKey(curve: *, e: *, signature: *, i: *): *

Recover a public key from a signature.

public

F sign(curve: *, hash: *, d: *, nonce: *): *

public

F verify(curve: *, hash: *, signature: *, Q: *): *

public

F verifyRaw(curve: *, e: *, signature: *, Q: *): *

public

F ECSignature(r: *, s: *)

public

F enforce(type: *, value: *)

public

F HmacSHA256(buffer: *, secret: *): *

public

F ripemd160(data: *): *

public

F sha256(data: *, encoding: *): string | Buffer

public

F sha512(data: *, encoding: *): string | Buffer

public

V key: {"aes_checksum": function, "aes_private": function, "random32ByteBuffer": function, "suggest_brain_key": *, "get_random_key": function, "get_brainPrivateKey": function, "normalize_brainKey": function, "browserEntropy": function, "addresses": function}

serializer/src

summary
public
public

Exception nesting.

public
public

F convert(type: *): *

public

F template(op: *)

Console print any transaction object with zero default values.

private

V _my: {"is_empty": *, "required": function, "require_long": function, "string": function, "number": function, "whole_number": function, "unsigned": function, "is_digits": *, "to_number": *, "to_long": function, "to_string": function, "require_test": function, "require_match": *, "require_object_id": *, "require_range": function, "require_object_type": *, "get_instance": *, "require_relative_type": *, "get_relative_instance": *, "require_protocol_type": *, "get_protocol_instance": *, "get_protocol_type": *, "get_protocol_type_name": function, "require_implementation_type": *, "get_implementation_instance": *, "no_overflow53": function, "no_overflow64": function}

Most validations are skipped and the value returned unchanged when an empty string, null, or undefined is encountered (except "required").

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

V operation: *

public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public
public

V Types: {}

Directories