# @vechain/connex-driver

> Connex framework driver implementation

Latest version **2.3.2** (published 2026-03-23) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @vechain/connex-driver
pnpm add @vechain/connex-driver
yarn add @vechain/connex-driver
bun add @vechain/connex-driver
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.3.2 |
| Published | 2026-03-23 |
| First published | 2020-04-16 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 174.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 84 |
| Author | qianbin |
| Maintainers | tony.li, agilulfo, samuelebello, lucabandini, vechain-ci, victor-vechain, doublemme |
| Keywords | Connex, Driver, VeChain |

## Links

- npm: https://www.npmjs.com/package/@vechain/connex-driver
- Repository: https://github.com/vechain/connex
- Homepage: https://github.com/vechain/connex/tree/master/packages/driver/#readme
- Issues: https://github.com/vechain/connex/issues
- npm.io page: https://npm.io/package/@vechain/connex-driver

## Dependencies (7)

- [ws](https://npm.io/package/ws.md) ^7.1.0
- [axios](https://npm.io/package/axios.md) ^1.13.6
- [lru-cache](https://npm.io/package/lru-cache.md) ^5.1.1
- [thor-devkit](https://npm.io/package/thor-devkit.md) ^2.2.0
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^7.2.1
- [isomorphic-ws](https://npm.io/package/isomorphic-ws.md) ^4.0.1
- [@vechain/connex-types](https://npm.io/package/@vechain/connex-types.md) ^2.2.1

## Recent versions

- 2.3.2 (latest) — 2026-03-23
- 2.0.0-beta.42 (beta) — 2021-01-20
- 2.3.1 — 2026-03-23
- 2.3.0 — 2026-03-23
- 2.2.1 — 2025-05-23
- 2.2.0 — 2025-05-16
- 2.1.0 — 2023-09-14
- 2.0.12 — 2022-12-15
- 2.0.10 — 2022-05-05
- 2.0.8 — 2021-12-24
- 2.0.7 — 2021-11-26
- 2.0.6 — 2021-11-26
- 1.2.2 — 2021-11-09
- 2.0.5 — 2021-07-15
- 2.0.4 — 2021-06-30
- … 27 more at https://npm.io/package/@vechain/connex-driver/versions

## README

# Connex Driver

[![npm version](https://badge.fury.io/js/%40vechain%2Fconnex-driver.svg)](https://badge.fury.io/js/%40vechain%2Fconnex-driver)

This library implement Connex.Driver, which drives Connex Framework.

## ⚠️ 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](https://github.com/vechain/vechain-sdk-js) that will continue to receive updates, support, and new features.

For any further questions or migration guidance, please reach out using our [support portal](https://support.vechain.org/support/home).

## Installation

```bash
# install driver along with framework
npm i @vechain/connex-framework @vechain/connex-driver
```

## Usage

The [REPL playground](https://github.com/vechain/connex/tree/master/packages/repl) is a good start.


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

const wallet = new SimpleWallet()
// add account by importing private key
wallet.import('<private key>')

const driver = await Driver.connect(new SimpleNet('http://localhost:8669/'), wallet)
const connex = new Framework(driver)
// here get connex object ready to use
...

// config tx parameters, e.g. expiration, gasPriceCoef
driver.txParams.expiration = 18
driver.txParams.gasPriceCoef = 128
driver.txParams.maxPriorityFeePerGas = 100 // 100 Wei for tipping the miner
driver.txParams.txType = Transaction.Type.DynamicFee // txType to use

// watch committed tx
driver.onTxCommit = txObj => {
    // 
}
```

## License

This package is licensed under the
[GNU Lesser General Public License v3.0](https://www.gnu.org/licenses/lgpl-3.0.html), also included
in *LICENSE* file in the repository.

---
_Source: https://npm.io/package/@vechain/connex-driver · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
