circomlibjs/src
Micah Zoltu fc0c01e400 Removes many dependencies and bundles to ES Module.
* NodeJS has built-in testing tools now, so no need to include Mocha/Chai which bring in a lot of transitive dependencies.
* Removes ethers, as it was only being used for a few utility functions (which are now in `utils.js` and `keccak256`, whiche is better sourced from @noble/hashes.
* Adds @noble/hashes for `keccak256`.
* Removes hardhat, since it was brought in only to test one thing, and it is huge.
* Switches to esbuild for simple ESM targeted bundling with inlnined NodeJS dependencies.
* Pinned all JS dependencies to fixed versions.
* Adds a Dockerfile for generating reproducible builds.
* Commented out two tests that had a dependency on Hardhat.
2024-12-06 13:17:31 +08:00
..
babyjub.js Poseidon in wasm 2021-11-23 13:22:47 +01:00
eddsa.js publis buildPoseidonWasm 2022-07-15 21:38:09 +02:00
evmasm.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
mimc7_gencontract.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
mimc7_print_iv.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
mimc7_printconstants.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
mimc7_printcontract.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
mimc7.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
mimcsponge_gencontract.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
mimcsponge_printconstants.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
mimcsponge_printcontract.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
mimcsponge.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
pedersen_hash.js Poseidon in wasm 2021-11-23 13:22:47 +01:00
pedersen_printbases.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
poseidon_constants_opt.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
poseidon_constants_opt.json Transfer from circomlib 2021-10-06 11:28:14 +02:00
poseidon_constants.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
poseidon_constants.json Transfer from circomlib 2021-10-06 11:28:14 +02:00
poseidon_gencontract.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00
poseidon_opt.js build 2022-06-19 09:55:10 +02:00
poseidon_printcontract.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
poseidon_printmatrix.js Transfer from circomlib 2021-10-06 11:28:14 +02:00
poseidon_reference.js build 2022-06-19 09:55:10 +02:00
poseidon_wasm.js publis buildPoseidonWasm 2022-07-15 21:38:09 +02:00
smt_hashes_mimc.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
smt_hashes_poseidon.js publis buildPoseidonWasm 2022-07-15 21:38:09 +02:00
smt_memdb.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
smt.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
testblake.js Adapt to ffjavascript asyncronous 2021-10-30 13:57:29 +02:00
utils.js Removes many dependencies and bundles to ES Module. 2024-12-06 13:17:31 +08:00