@quantnetwork/overledger-dlt-substrate
v2.4.1
Published
Quant Network Overledger Substrate software development kit (SDK) for the JavaScript (JS) programming language.
Downloads
3
Keywords
Readme
@quantnetwork/overledger-dlt-substrate
Overledger SDK module for interaction with the Substrate distributed ledger technology.
Installation
Install using npm:
npm install @quantnetwork/overledger-dlt-substrate
Or, if you prefer using yarn:
yarn add @quantnetwork/overledger-dlt-substrate
API Reference
Modules
Classes
overledger-dlt-substrate
overledger-dlt-substrate.default
Development package for Substrate.
overledger-dlt-substrate.log
Substrate
new Substrate(sdk, options)
| Param | Type | Description | | --- | --- | --- | | sdk | any | the sdk instance | | options | Object | any additional options to instantiate this dlt |
substrate.createAccount()
Create a Substrate account
Returns: Account - the new Substrate account
substrate.setAccount(accountInfo)
| Param | Type | Description | | --- | --- | --- | | accountInfo | Account | The standardised account information |
Set an account for signing transactions for a specific DLT