User

User

new User()

Source:

Instantiate a User object.

Methods

getAddressString() → {string}

Source:

Getter for public address.

Returns:

Public address of user in string format.

Type
string

getPrivateKeyString() → {string}

Source:

Getter for private key.

Returns:

Private key of user in string format.

Type
string

setAddress(address)

Source:

Setter for public address.

Parameters:
Name Type Description
address string

Public address of user.

setPrivateKey(privateKey)

Source:

Setter for private key.

Parameters:
Name Type Description
privateKey string

Private key of user.