The nervos.js
library is a collection of packages which contains specific functionality for the Nervos Appchain ecosystem.
- The
nervos-chain
is for interacting withAppchain
and has been published at @nervos/chain - The
nervos-signer
is for signing transaction forAppchain
and has been published at @nervos/signer
@nervos/chain
strictly abides by Semver, and is compatible with CITA by MAJOR
and MINOR
version, e.g. @nervos/[email protected]
will work perfectly with [email protected]
Changelog since @nervos/[email protected]
- [fix]: utils.hexToBytes, and error of original [email protected];
- [fix]: setProvider, enable
nervos.setProvider
function; - [update]: UMD Object, update UMD Object to
window.Nervos
; - [fix]: Chain Manage, fix chainManage Contract address;
- [update]: Return From, parameter
from
will be included to return when sendTransaction has no private key; - [update]: Lower Address, lower
to
address in transaction when sendTransaction; - [update]: Format Address, remove
0x
into
address; - [feature]: PrivateKey Validator, add
nervos.utils.isPrivateKey(privateKey)
to check private key format;