This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

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

1.0.0-beta.4 • Public • Published

@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

overledger-dlt-corda

Typedefs

CordaParam : Object

A description of an Corda smart contract function parameter.

overledger-dlt-corda

overledger-dlt-corda.CordaTypeOptions

overledger-dlt-corda.default

Development package for Corda.

overledger-dlt-corda~Corda

new Corda(sdk)

Param Type Description
sdk any the sdk instance

corda.name

Name of the DLT

corda.symbol

Symbol of the DLT

corda.createAccount()

Create an Corda account

Returns: Account - the new Corda account

corda.setAccount(accountInfo)

Param Type Description
accountInfo Account The standardised account information

Set an account for this specific DLT

corda.buildTransaction()

Takes the Overledger definition of a transaction and converts it into a specific Corda transaction

corda.buildWorkflow(thisTransaction)

Param Type Description
thisTransaction WorkflowCorda details on the information to include in this workflow for the Corda distributed ledger node

Takes the Overledger definition of a Corda workflow and converts it into a specific Corda Workflow

Returns: Workflow - the Corda transaction

corda.create_UUID()

Creates a new UUID

corda._transactionValidation()

validates an OVL transactionRequest according to Corda specific rules

corda.getTransactionQueryInfo()

Get the information required to query for a particular transaction hash

corda.workflowValidation(thisWorkflow)

Param Type Description
thisWorkflow WorkflowCorda The workflow details

validates an OVL Corda workflow according to Corda specific rules

corda._sign(thisTransaction)

Param Type Description
thisTransaction TransactionRequest an instantiated overledger definition of an Corda transaction

Takes in an overledger definition of a transaction for Corda, converts it into a form that the Corda distributed ledger will understand, and then signs the transaction

corda._smartContractQueryValidation()

validates an OVL smart contract query according to Corda specific rules

corda._buildSmartContractQuery()

Allows a user to build a smart contract query for the Corda distributed ledger

CordaParam

Properties

Name Type Description
type object information on the selectedType from the valid options. If an integer or byte type was chosen then further information is required on the exact number of bytes being used. If an integer is used, then selectedIntegerLength is required. If a byte is used then selectedBytesLength is required
value object information on the parameter's value
name string the parameter's name

A description of an Corda smart contract function parameter.

Readme

Keywords

none

Package Sidebar

Install

npm i @quantnetwork/overledger-dlt-corda

Weekly Downloads

0

Version

1.0.0-beta.4

License

Apache-2.0

Unpacked Size

70.6 kB

Total Files

43

Last publish

Collaborators

  • alexchiriac
  • gverdian
  • jvaralves
  • luker501