- overledger-bundle
- overledger-core
- overledger-dlt-abstract
- overledger-dlt-bitcoin
- overledger-dlt-ethereum
- overledger-dlt-substrate
- overledger-dlt-xrp-ledger
- overledger-oauth-provider
- overledger-provider
- overledger-types
- Account :
Object
An Overledger Account instance for a single DLT.
- DLTOptions :
Object
Options for loading a DLT in the SDK.
- NetworkOptions :
string
Overledger network options.
- ProviderOptions :
Object
Overledger network provider options.
- SDKOptions :
Object
Overledger SDK options.
Main Overledger SDK bundle. Includes all the packages for all supported DLTs.
Core Overledger SDK class. Individual dlt packages must be installed manually.
**
Param | Type |
---|---|
sdk | any |
Create an account for a specific DLT
Abstract method to be implemented in each DLT
Param | Type | Description |
---|---|---|
AccountInfo | Account |
The standardised Account Object |
Set an account for signing transactions for a specific DLT
Abstract method to be implemented in each DLT
Abstract class for DLT modules. All DLT packages need to extend this class.
Development package for Bitcoin blockchain.
Development package for Ethereum.
Development package for Substrate.
Development package for Ripple (XRP Ledger).
Oauth provider package.
Constant for the testnet URL.
Constant for the mainnet URL (placeholder).
Network provider package.
Param | Type | Description |
---|---|---|
options | SDKOptions |
The DLT Options and Provider Options |
Create the Overledger SDK
The object storing the DLTs loaded by the Overledger SDK
Param | Type | Description |
---|---|---|
options | SDKOptions |
The DLT Options and Provider Options |
Validate the provided Overledger SDK Options
Param | Type | Description |
---|---|---|
config | DLTOptions |
DLT name and an optional Private Key to use as the main account |
Load the DLT in the Overledger SDK
Returns: AbstractDLT
- The loaded DLT class
Param |
---|
echoRequest |
Calls echoecho endpoint, just used to see if things connect
refresh access token
get new set of tokens using username, password, clientId and clientSecret
Param |
---|
unsignedData |
Signing a prepared object
Param | Type | Description |
---|---|---|
sdk | any |
the sdk instance |
options | Object |
any additional options to instantiate this dlt |
Name of the DLT
Symbol of the DLT
Create a Bitcoin account
Returns: Account
- the new Bitcoin account
Param | Type | Description |
---|---|---|
accountInfo | Account |
The standardised account information |
Set an account for signing transactions for a specific DLT
Param | Type | Description |
---|---|---|
sdk | any |
the sdk instance |
Name of the DLT
Symbol of the DLT
Create an Ethereum account
Returns: Account
- the new Ethereum account
Param | Type | Description |
---|---|---|
accountInfo | Account |
The standardised account information |
Set an account for signing transactions for a specific DLT
Param | Type | Description |
---|---|---|
sdk | any |
the sdk instance |
options | Object |
any additional options to instantiate this dlt |
Create a Substrate account
Returns: Account
- the new Substrate account
Param | Type | Description |
---|---|---|
accountInfo | Account |
The standardised account information |
Set an account for signing transactions for a specific DLT
Param | Type |
---|---|
sdk | any |
Name of the DLT
Symbol of the DLT
Create an XRP account
Returns: Account
- (privateKey, address)
Param | Type | Description |
---|---|---|
accountInfo | Account |
The standardised account information |
Set an account for signing for a specific DLT
ripple seed validation
Param | Type | Description |
---|---|---|
ProviderOptions | ProviderOptions |
Overledger network provider options |
Param |
---|
path |
accessToken |
contentType |
acceptString |
Creating a request, making this as flexible as possible with the possible values in the headers being passed in the method signature
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.
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.
Overledger network options.
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.
Properties
Name | Type | Description |
---|---|---|
dlts | Array.<DLTOptions> |
The dlts to be loaded. |
[provider] | ProviderOptions |
The network provider options. |
Overledger SDK options.