@quantnetwork/overledger-dlt-abstract
TypeScript icon, indicating that this package has built-in type declarations

2.4.1 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @quantnetwork/overledger-dlt-abstract

Weekly Downloads

0

Version

2.4.1

License

Apache-2.0

Unpacked Size

16.1 kB

Total Files

13

Last publish

Collaborators

  • alexchiriac
  • gverdian
  • luker501
  • jvaralves