JSPM

  • Created
  • Published
  • Downloads 1689
  • Score
    100M100P100Q122479F
  • License LGPL-3.0

A library implements VeChain Connex interface

Package Exports

  • @vechain/connex-framework
  • @vechain/connex-framework/dist/driver-interface
  • @vechain/connex-framework/dist/driver-interface.js
  • @vechain/connex-framework/dist/index.js
  • @vechain/connex-framework/dist/rules
  • @vechain/connex-framework/dist/rules.js
  • @vechain/connex-framework/esm/index.js
  • @vechain/connex-framework/package.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vechain/connex-framework) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Connex Framework

npm version

Connex Framework is a library implements Connex interface.

⚠️ Repository Notice: End-of-Life (EOL)

This repository now has reached its end-of-life (EOL). We have transitioned to brand new and comprehensive VeChain SDK that will continue to receive updates, support, and new features.

For any further questions or migration guidance, please reach out using our support portal.

Installation

It always works along with the package @vechain/connex-driver.

npm i @vechain/connex-framework @vechain/connex-driver

Usage

To create a Framework instance:

import { Framework } from '@vechain/connex-framework'
import { Driver, SimpleNet } from '@vechain/connex-driver'

const net = new SimpleNet('http://localhost:8669/')
const driver = await Driver.connect(net)

// now we get the ready-to-use Connex instance object
const connex = new Framework(driver)

License

This package is licensed under the GNU Lesser General Public License v3.0, also included in LICENSE file in the repository.