@hermeznetwork/commonjs
v0.3.3
Published
hermez network common js implementation
Downloads
42
Readme
Commonjs
Javascript library implementing common utilities for hermez network
Usage
const hermezCommons = require("@hermeznetwork/commonjs");
You will find the following modules inside the package:
float16
: custom float 16 bits to encode large integersHermezAccount
: class to create ethereum/babyjubjub keystxUtils
: transaction utilsstateUtils
: account state utilsutils
: global utilsfeeTable
: utils toSMTTmpDb
: sparse merkle tree temporary databaseConstants
: hermez network global constantsRollupDB
: class to create rollup databaseBatchBuilder
: class to create batch-builder
Test
npm run eslint & npm run test
WARNING All code here is in WIP
License
commonjs
is part of the iden3 project copyright 2020 HermezDAO and published with AGPL-3 license. Please check the LICENSE file for more details.