比较-隐私交易Nightfall和Zeto和Zether和ZAMA
以下是 Nightfall_3、Zeto 、 Zether 和 ZAMA 的详细比较,从隐私算法到交易花费、时长、限制等多个维度进行分析:
Attribute | Nightfall_3 | Zeto | Zether | kinexys by JPMorgan | ZAMA |
---|---|---|---|---|
Privacy Algorithm | ZK-SNARKS, Groth16 by Circom | ZK-SNARKS, Groth16 by Circom | Bullet-Proof with ElGamal encryption and homomorphic addition | Kinexys used Zama’s open-source fhEVM-native solution to keep balances and transaction amounts encrypted, ensuring confidentiality while maintaining composability through FHE. |
Anonymity | Extremely high, anonymity achieved with hashes and ZKPs. | Extremely high, Stealth Addresses. | Medium, the identity of transactors hidden among the anonymity set. | Extremely high, Stealth Addresses. |
Transaction Model | UTXO | UTXO | Account Balance State | Account Balance State |
Non-repudiation | Not currently supported, transaction submitters can deny. | Supported, when using the circuit requiring encrypted secrets for the authority. | Not currently supported, auditing balance requires a special viewing key that involves additional cryptography. | Supported, FHE ‘s KMS operator would need to provision the auditor with the FHE decryption key to review all transactions. The stealth address service could also specify addresses that are allowed to decrypt transactions. |
Public Chain Support | Supported on EVM based blockchains. Ethereum, Optimistic Layer 2, Linea, Polygon, etc. | Supported on EVM based blockchains. Ethereum, Optimistic Layer 2, Polygon, etc. | Supported on EVM based blockchains. Ethereum, Optimistic Layer 2, Polygon, etc. ZK Rollup deployment has failed. | Supported on EVM based blockchains. |
Transaction Cost | Low, ZK verification happens off-chain. | High, ZK SNARKS verification on-chain with varied cost depending on the usage of encryption and non-traceability. | High, bulletproof verification on-chain is more costly than ZK SNARKS based proofs. | High. |
Transaction Delay | 1~2 blocks time | 1~2 blocks time | 1~2 blocks time | 1~2 blocks time |
Standard Tokens Support | Both fungible and non-fungible tokens with ERC20 and ERC721 tokens anchoring. | Only fungible tokens with ERC20 tokens anchoring. | Only fungible tokens with ERC20 tokens anchoring. | Only fungible tokens with ERC20 tokens anchoring. |
Double-spending Prevention | Nullifier (offchain) mechanism prevents double spending. | UTXO or nullifier (offchain) based double spend prevention depending on the specific implementation. | ElGamal encryption (onchain) homomorphic computation combined with zero-knowledge proofs prevent double spending. | FHE (onchain) prevent double spending. ElGamal encryption (offchain). |
Programmability | Limited programmability due to the optimistic transaction design with off-chain ZKP verification. | Full programmability across multiple UTXOs. Supported by Paladin for programmable privacy. | Full programmability due to on-chain verifications. | Full with ZAMA framework. |
Limitations | The optimistic transaction model means a confirmation window of multiple days to transaction finality. | Fragmented UTXOs require new transactions to transfer multiple UTXOs. No fee custom implementations. | Only one spending transaction per account can occur within one epoch (approximately two block times). Limited self-custody wallet support. | ZAMA(FHE) + Stealth Addresses |
Scalability | Low. Relies on a centralized sequencer/block proposer. | High, peer-to-peer transactions. Solutions based on UTXOs. | Low. Limited by the one spending transaction per account per epoch design. | High. Offchain service - ZAMA(FHE) + Stealth Addresses |
Community Support | Questionable, abandoned by Polygon for a ZK-based Layer 2. Only supports code from EY. GPL-3.0 license. | Hosted in LFDT Labs (formerly Hyperledger Labs). Active, supported by Kaleido. | Weak, supported by Consensys but no updates in the last two years. Apache License 2.0 View license. | BSD-3-Clause-Clear license. To commercially use Zama’s technology you need to be granted Zama’s patent license. |
Reference link |