Account
An account key pair (public and secret keys).
Constructor Summary
Public Constructor | ||
public |
constructor(secretKey: Buffer) Create a new Account object |
Member Summary
Public Members | ||
public get |
The public key for this account |
|
public get |
secretKey: Buffer The unencrypted secret key for this account |
Public Constructors
public constructor(secretKey: Buffer) source
Create a new Account object
If the secretKey parameter is not provided a new key pair is randomly created for the account
Params:
Name | Type | Attribute | Description |
secretKey | Buffer |
|
Secret key for the account |