2.4.1 • Published 1 year ago

@quantnetwork/overledger-types v2.4.1

Weekly downloads
8
License
Apache-2.0
Repository
github
Last release
1 year ago

@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

NameTypeDescription
privateKeystringThe private key of the account, used for signing transactions.
addressstringThe address of the account, used for receiving messages
publicKeystringThe public key of the account. The address parameter will be a representation of this public key.
passwordstringFor some accounts, they may be protected by a password, or a password is used instead of a private key
providerstringIf 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

NameTypeDescription
dltstringThe distributed ledger technology.
privateKeystringThe private key of an account for the respecitve dlt.

Options for loading a DLT in the SDK.

NetworkOptions

Overledger network options.

ProviderOptions

Properties

NameTypeDescription
networkNetworkOptionsThe network, either testnet, mainnet or custom.
timeoutnumberRequest timeout period specified in milliseconds.

Overledger network provider options.

SDKOptions

Properties

NameTypeDescription
dltsArray.<DLTOptions>The dlts to be loaded.
providerProviderOptionsThe network provider options.

Overledger SDK options.