@quantnetwork/overledger-dlt-abstract
Overledger SDK abstract class for dlt functions.
Installation
Install using npm:
npm install @quantnetwork/overledger-dlt-abstract
Or, if you prefer using yarn:
yarn add @quantnetwork/overledger-dlt-abstract
API Reference
overledger-dlt-abstract
overledger-dlt-abstract.AbstractDLT
new AbstractDLT(sdk)
Param | Type |
---|---|
sdk | any |
abstractDLT.createAccount()
Create an account for a specific DLT
Abstract method to be implemented in each DLT
abstractDLT.setAccount(AccountInfo)
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
abstractDLT.getEcho()
overledger-dlt-abstract.default
Abstract class for DLT modules. All DLT packages need to extend this class.