Technologie
Libnexa-TS 4.0.0 adopts JavaScript’s native large integers
Nexa introduces a new version of its wallet library. The migration guide identifies a format change for keys stored in JSON.

The same amounts, a different type for keys
The Nexa project introduced Libnexa-TS 4.0.0 on November 22, 2026. The open-source library lets JavaScript and TypeScript applications create addresses, work with transactions, and sign messages for the Nexa network. Version 4 applies to the library and the software that chooses to use it. The announcement describes an API migration and announces no change to the network’s validation rules.
The main change is in the low-level APIs. Methods that took or returned a `BN` object now use `bigint`, JavaScript’s native type for large integers. Transaction amounts already used this type in version 3. The guide therefore says an application that only uses high-level functions for addresses, transactions, hierarchical keys, or message signing will probably need few code changes.
Older JSON keys require migration
An application that stores key objects themselves should examine its backup format. In the JSON written by version 4, `scalar` replaces `bn`, and the library’s reader expects the new name. The guide directs developers to rename the field in stored older objects before reading them back. It says the interfaces for creating a key from a WIF string or its hexadecimal representation stay the same.
Applications that work directly with signatures and curve points have more paths to check. The `r` and `s` components of a signature are now `bigint` values. The guide also says point construction rejects coordinates that are off the curve. Those changes make tests that load a version 3 backup and verify an old signature after migration particularly useful.
Performance gains measured in Node.js
Libnexa-TS uses Noble Curves for elliptic curve operations. For hashing, the library uses the native cryptography module when available and falls back to Noble’s hash functions. In its Node.js measurements, Nexa reports roughly four times faster hierarchical key derivation, roughly twelve times faster public key parsing, and a 1.7 to 1.9 times speedup for Schnorr signing and verification. The figures cover those individual operations.
The announcement lists Node.js 22.18 or later for the quick start and says the library supports modern browsers. For a wallet maintainer, the figures point to specific operations to measure in their own environment. Backup formats, test inputs, and the proportion of time actually spent on those operations will determine what changes for their application.
