2.4.1 • Published 1 year ago

@quantnetwork/overledger-dlt-ethereum v2.4.1

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

@quantnetwork/overledger-dlt-ethereum

Overledger SDK module for interaction with the Ethereum distributed ledger technology.

Installation

Install using npm:

npm install @quantnetwork/overledger-dlt-ethereum

Or, if you prefer using yarn:

yarn add @quantnetwork/overledger-dlt-ethereum

API Reference

Modules

Classes

overledger-dlt-ethereum

overledger-dlt-ethereum.default

Development package for Ethereum.

overledger-dlt-ethereum.log

Ethereum

new Ethereum(sdk)

ParamTypeDescription
sdkanythe sdk instance

ethereum.name

Name of the DLT

ethereum.symbol

Symbol of the DLT

ethereum.createAccount()

Create an Ethereum account

Returns: Account - the new Ethereum account

ethereum.setAccount(accountInfo)

ParamTypeDescription
accountInfoAccountThe standardised account information

Set an account for signing transactions for a specific DLT