Wondering what’s next for npm?Check out our public roadmap! »

    @vechain/connex-framework
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.2 • Public • Published

    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 = 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.

    Install

    npm i @vechain/connex-framework

    DownloadsWeekly Downloads

    74

    Version

    2.0.2

    License

    LGPL-3.0

    Unpacked Size

    166 kB

    Total Files

    42

    Last publish

    Collaborators

    • avatar
    • avatar