JSPM

  • Created
  • Published
  • Downloads 1580
  • Score
    100M100P100Q127377F
  • License LGPL-3.0

A library implements VeChain Connex interface

Package Exports

  • @vechain/connex-framework
  • @vechain/connex-framework/dist/driver-interface

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.

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 = Driver.connect(net)

// now we get the ready-to-use Connex instance object
const framework = 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.