Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hermeznetwork/commonjs

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hermeznetwork/commonjs

hermez network common js implementation

  • 0.3.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
18
Maintainers
6
Weekly downloads
 
Created
Source

Commonjs

Javascript library implementing common utilities for hermez network

Main CI npm license

Usage

const hermezCommons = require("@hermeznetwork/commonjs");

You will find the following modules inside the package:

  • float16: custom float 16 bits to encode large integers
  • HermezAccount: class to create ethereum/babyjubjub keys
  • txUtils: transaction utils
  • stateUtils: account state utils
  • utils: global utils
  • feeTable: utils to
  • SMTTmpDb: sparse merkle tree temporary database
  • Constants: hermez network global constants
  • RollupDB: class to create rollup database
  • BatchBuilder: 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.

Keywords

FAQs

Package last updated on 09 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc