Home

Awesome

Eigen Secret

Eigen Secret is a zk-zkRollup providing confidential transaction and selective exposure for users with low gas cost.

Building on Private State Model and zkSnark.

The circuits is written by Circom 2, proved by eigen zkit.

Task

npx hardhat --help

Gas Reporter

npx hardhat test

ETH Price: 1899.33 usd/eth

GasPrice: 20Gwei

Contract Method gas consumption

ContractMethodMinMaxAvgusd(avg)
RollupapproveToken--630832.40
Rollupdeposit--2260168.59
RollupprocessDeposits--208672979.27
RollupregisterToken--494431.88
Rollupupdate33346735096333944312.89
Rollupwithdraw--98381537.37
TestTokenapprove4622346235462291.76
TestTokentransfer2667851378501421.90
TokenRegistrysetRollupNC--460531.75

Contract deployment gas consumption

DeploymentsMinMaxAvgusd(avg)
PoseidonFacade--35457913.47
Rollup--4390248166.77
SMT35830135831335830713.61
SpongePoseidon--27168210.32
TestToken--73544827.94
TokenRegistry--31049511.79

SDK

The SDK tutorial is generated by typedoc.

Licence

Not determined, any suggestions are welcome.