@mutopad/connex-framework
Version:
A library implements VeChain Connex interface
36 lines (22 loc) • 987 B
Markdown
[](https://badge.fury.io/js/%40vechain%2Fconnex-framework)
Connex Framework is a library implements Connex interface.
It always works along with the package [@mutopad/connex-driver](https://github.com/mohsin-laeeque/mutopad-connex/tree/master/packages/driver).
```sh
npm i @mutopad/connex-framework @mutopad/connex-driver
```
To create a Framework instance:
```typescript
import { Framework } from '@mutopad/connex-framework'
import { Driver, SimpleNet } from '@mutopad/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)
```
This package is licensed under the
[](https://www.gnu.org/licenses/lgpl-3.0.html), also included
in *LICENSE* file in the repository.