Skip to content

auxo-zk/auxo-libs

Repository files navigation

Auxo Libs

Auxo Logo

An On-chain Funding Platform with privacy-preserving features powered by ZKP.

NPM Version Package License NPM Downloads Coverage Status

Description

This library provides shared resources for our packages, such as custom provable data structures, utility and helper functions...

Features

  1. Bit255: Custom provable data structure for storing a 255-bit string.

  2. CustomScalar: Custom provable data structure for storing Scalar as Field[], using only 2 Field instead of 256 Field.

  3. IpfsHash: Custom provable data structure for storing CID (v1) of files stored on IPFS.

  4. DynamicArray: Custom provable data structure for dynamic-length arrays with different provable type: Bool, Bit255, Field, Group, PublicKey, Scalar.

  5. Utils: Services can request to use generated keys for their use cases.

  • Benchmark
  • Mina account's config
  • Network interaction
  • zkApp's helpers

How to build

npm run build

How to run tests

npm run test
npm run testw # watch mode

How to run coverage

npm run coverage

License

Apache-2.0