2.4.1 • Published 1 year ago
@quantnetwork/overledger-types v2.4.1
@quantnetwork/overledger-types
Package including all the types used by the Overledger SDK.
Installation
Install using npm:
npm install @quantnetwork/overledger-types
Or, if you prefer using yarn:
yarn add @quantnetwork/overledger-types
Reference
Modules
Typedefs
overledger-types
overledger-types.DltNameOptions
Account
Properties
Name | Type | Description |
---|---|---|
privateKey | string | The private key of the account, used for signing transactions. |
address | string | The address of the account, used for receiving messages |
publicKey | string | The public key of the account. The address parameter will be a representation of this public key. |
password | string | For some accounts, they may be protected by a password, or a password is used instead of a private key |
provider | string | If the account is stored or managed not by the user, then this person is the provider |
An Overledger Account instance for a single DLT.
DLTOptions
Properties
Name | Type | Description |
---|---|---|
dlt | string | The distributed ledger technology. |
privateKey | string | The private key of an account for the respecitve dlt. |
Options for loading a DLT in the SDK.
NetworkOptions
Overledger network options.
ProviderOptions
Properties
Name | Type | Description |
---|---|---|
network | NetworkOptions | The network, either testnet, mainnet or custom. |
timeout | number | Request timeout period specified in milliseconds. |
Overledger network provider options.
SDKOptions
Properties
Name | Type | Description |
---|---|---|
dlts | Array.<DLTOptions> | The dlts to be loaded. |
provider | ProviderOptions | The network provider options. |
Overledger SDK options.
2.4.1
1 year ago
2.4.0
1 year ago
2.3.0
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.1.1
3 years ago
2.1.0
3 years ago
2.0.0
3 years ago
1.0.0-beta.5
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.3
4 years ago
1.0.0-beta.2
4 years ago
1.0.0-beta.1
5 years ago