Smart contracts promise automatic execution of agreements, but in most public blockchains, the participants’ inputs are visible to everyone. Hawk was one of the first to combine private transactions and smart contracts, but introduced a dedicated trusted “manager” who sees the parties’ inputs. The 2kHawk paper proposes replacing the manager with multi-party computation (MPC), but not naively—with zk-SNARKs inside the MPC—or, alternatively, moving the heavyweight proofs out of MPC and leaving only a lightweight multiplexer inside, selecting pre-prepared bit commitments. The zero-sum of inputs and outputs is proven using homomorphic Pedersen commitments and the Schnorr sigma protocol, while bit correctness is proven by separate BNIZK proofs outside the MPC. The paper discusses the mechanism, security model, limitations, and quantum stress test: the protocol relies on discrete logarithm security, and is therefore not post-quantum. The main research question is whether it is possible to preserve the practicality of 2kHawk by replacing DLP primitives with post-quantum ones, without bringing back heavy proofs inside MPC.
Keywords: Hawk, 2kHawk, private smart contracts, MPC, Pedersen commitments, Schnorr, zero-sum, post-quantum cryptography, Shor, NI-PSC.
Content
- Intrigue and the central question
- Object, boundaries and testable hypothesis
- Hawk and the Price of Trust
- The 2kHawk Idea: What Exactly Replaces a Manager
- Mechanism: freeze, compute, finalize
- What has been proven and what has not been proven
- An honest comparison with alternatives
- Quantum Horizon: Where the Protocol Breaks Down
- Answers to selected questions from the designer
- Limitations and typical errors of interpretation
- New contribution and next experiment
- Conclusion
- Sources
1. Intrigue: is it possible to remove the “trusted manager”?
Imagine a closed auction on a blockchain. A seller and several buyers want the highest bid to win, but they don’t want to reveal the amounts to the public or to each other. A smart contract must verify that the sum of the input balances equals the sum of the output balances, the winner receives the right to the outcome, and the losers don’t lose money. This creates a paradox: how can the blockchain verify financial correctness if it can’t see the amounts?
Hawk solves this with a trusted manager: it sees the inputs and executes the contract. But trust is a bottleneck: the manager could leak data or collude. A naive solution is to run the Hawk verification entirely within the MPC. However, then the MPC contains zk-SNARKs, and the cost becomes prohibitive. 2kHawk makes a surprising move: it removes zk-SNARKs from the MPC and proves zero-sum using simpler means.
The central question of the article is: is it possible to replace the Hawk trusted manager with MPC in a way that preserves the privacy of inputs/outputs, proves the equality of amounts to the blockchain, and does not make computation practically impossible?
2. Object, boundaries and testable hypothesis
The object of the study is an interactive private smart contract (I-PSC) protocol, in which participants execute the MPC function off-chain, and the blockchain verifies commitments and zero-sum proofs. This is not a quantum device or hardware platform; the quantum component here is a stress test of cryptographic assumptions .
Hypothesis: If we move the bit correctness and zero-sum proofs outside the MPC, and leave only the choice of bit commitments and the calculation of a single sigma proof inside the MPC, then we can obtain a practical private smart contract protocol without a trusted manager under static corruptions t < n.
Falsification criterion: The hypothesis would be falsified if (1) MPC still required a proof comparable in cost to zk-SNARKs; (2) the blockchain could not verify a zero sum; (3) the protocol revealed inputs/outputs to the public or other participants; (4) the security proof relied on an unsatisfiable or hidden assumption. In the 2kHawk paper, they provide definitions, construction, and a hybrid proof, but do not provide experimental benchmarks .
3. Hawk and the Price of Trust
Hawk [2] bridges private transactions and smart contracts. Its core element is the manager: a dedicated party that sees the participants’ inputs and must honestly execute the contract without disclosing the data. This provides privacy from the blockchain, but not from the manager. Arbitrum and similar off-chain solutions also utilize trust assumptions; in Arbitrum’s case, privacy is partial: inputs are hidden from the blockchain, but not necessarily from each other.
2kHawk has a stronger goal: strong input/output privacy —inputs and outputs are not visible to the public or other participants. To achieve this, the manager is replaced by an MPC protocol between the parties. However, Hawk’s creators noted early on that simply “running Hawk inside an MPC” is impractical: running zk-SNARKs inside an MPC chain is too expensive.
4. The 2kHawk Idea: What Exactly Replaces a Manager
2kHawk retains the Hawk architecture but changes the proof method. Instead of zk-SNARKs inside MPC:
- Input and output coins are Pedersen commitments
Com(val; r) = g^val · h^r; - The Pedersen homomorphism allows us to verify the zero sum: the product of the output obligations divided by the product of the input obligations is equal
h^(Σs_j − Σr_j)if and only ifΣval'_j − Σval_j = 0; - knowledge of the discrete logarithm to the base
his proved by the Schnorr sigma protocol [9], converted to NIZK via Fiat–Shamir [10]; - The output coin is split into bits. For each bit, the participant pre-submits two commitments—to 0 and to 1—in random order, each with a BNIZK proof that “this is a bit” [11];
- The MPC function simply selects the desired commitment from the output bit pair and computes a single Schnorr proof. It’s a lightweight multiplexer, not a heavyweight SNARK.
The key technique is that the bitwise NIZK and the “0 or 1” check are performed outside the MPC. Within the MPC, the choice remains among the already verified candidates. This simultaneously reduces the cost of the MPC and functions as a range proof: the output coin value is limited ℓ to bits, i.e., the range [0, 2^ℓ).
5. Mechanism: freeze, compute, finalize
5.1. Freeze: Freezing Inputs and Bit Commitments
Each participant sends an input coin and, for each bit, k ∈ {0,…,ℓ−1} two “commitment + BNIZK” pairs to the blockchain. The blockchain verifies both BNIZKs, combines the pairs into a set C^(k) , and stores a record. From this point on, the input coins are frozen and cannot be double-spent.
coin = Com($val; r) = g^$val · h^r
For each bit, a random order is chosen: c^(k,b_k) — commitment to b_k, c^(k,1−b_k) — to 1−b_k. The blockchain does not know which of the two is zero and which is one.
5.2. Compute: lightweight MPC function
Participants perform off-chain MPC. The function f̂ first evaluates the contract’s original function f, yielding output values $val'_j and a string out. Then, for each output and each bit, c_j^(k) = c_j^(k, $val'_j[k]) a pair is chosen. Randomness is calculated.
r = Σ_j ( Σ_k 2^k · s_j^(k, $val’_j[k]) − r_j )
and one Schnorr proof π of knowledge r over the radix h. There are no zk-SNARKs inside MPC; there is arithmetic, bit-selection, and one sigma proof.
5.3. Finalize: Blockchain Verification
Any participant can submit a finalization. The blockchain verifies that each selection c_j^(k) actually belongs to the corresponding pair C_j^(k), and restores
coin’_j = Π_k (c_j^(k))^(2^k), c = Π_j coin’_j / coin_j
and verifies the Schnorr proof π for (c, h). If the verification is successful, the contract is closed, and each participant can read their output amount from the selected bit commitments. The blockchain doesn’t see the amount, but it verifies that the balance is zero.
Example from the article: a closed auction. A seller and k buyers. The winner is determined by the highest bid. The seller receives their total plus the highest bid; the winner receives zero; the others keep their bids. The sum of the inputs equals the sum of the outputs. Privacy is preserved, and the blockchain only verifies the zero sum and the correctness of the obligations.
6. What has been proven and what has not been proven
The paper formulates a theorem: under t-secure MPC, the protocol tis -secure for all t < n under the discrete logarithm complexity assumption in the random oracle model. The proof is a hybrid argument: the ideal MPC functionality is simulated, followed by Schnorr-NIZK, then BNIZK, and then Pedersen commitments; finally, the inputs of honest parties are replaced by appeals to the ideal functionality.
Important: this is not security in the UC framework. The authors explicitly call it weaker and leave the UC proof for the future. Also, the current version does not verify the string [ ] out; it can be included in the Schnorr proof as a “vote” of the participants, but this is not done in the described protocol. The threat model is static corruption t < n ; the blockchain is considered trusted for availability and correctness.
Don’t confuse: cryptographic correctness and privacy in a given model are proven, but “practical speed” in absolute terms is not. The article does not include implementation, latency measurements, communication cost, or comparison with Hawk on the same hardware. Practicality here is an argument about the computational structure, not a measured benchmark.
7. Honest comparison with alternatives
| Approach | Login privacy | Trust | Main price | What’s important to 2kHawk |
|---|---|---|---|---|
| Hawk [2] | Hidden from the blockchain | A trusted manager sees the inputs | Manager leak or collusion | 2kHawk is taking away exactly this trust. |
| Naive Hawk + MPC | Strong | MPC at t<n | zk-SNARKs inside MPC are too expensive | 2kHawk removes SNARKs from MPC |
| Arbitrum [7] | Partial: hidden from the circuit, not necessarily from the sides | Manager/VM Assumptions | Not strong input/output privacy | 2kHawk is aimed at stealth and visibility from other parties. |
| Zcash/Zerocash [1] | Private transactions | Cryptographic assumptions | Does not support custom smart contracts | Hawk/2kHawk add contract logic |
| MPC/SPDZ [5], [7] | Strong with the correct protocol | Threshold t<n | Interactivity, online participants | 2kHawk uses MPC as a manager replacement |
| NI-PSC via NI-MPC [14], [15] | Potentially strong | Strong primitives are needed | General constructions from iO; not from standard assumptions | Future Goal; 2kHawk – Interactive Step |
A direct comparison with Hawk would be invalid without the same threat model: Hawk trusts the manager, while 2kHawk trusts the MPC t<n. A comparison with NI-PSC is inappropriate without taking into account that NI-MPC essentially requires iO for common functions, which is not yet a practical, standard assumption.
8. Quantum Horizon: Where 2kHawk Breaks Down and What to Explore
2kHawk is a classical protocol. Its commitments, Schnorr proof, and BNIZK rely on the discrete logarithm and random oracle model. Shor’s algorithm solves the discrete logarithm problem in polynomial time on a sufficiently large, fault-tolerant quantum computer. Therefore, 2kHawk is not post-quantum .
What exactly is breaking down? The Pedersen commitment is perfectly private but computationally binding; a quantum adversary capable of solving DLP can break the binding and forge a Schnorr proof. This threatens the zero-sum property: an attacker could attempt to create output commitments with a larger value and convince the blockchain of its correctness. Privacy itself can be preserved due to the perfectly private nature of Pedersen, but the integrity of the financial invariant requires a post-quantum replacement.
A fair disclaimer: this doesn’t mean 2kHawk is “already cracked.” There is currently no publicly demonstrated large-scale quantum computer capable of performing such attacks. This is a matter of assessing the future risk and determining the migration direction. The 2kHawk paper doesn’t provide resource estimates for quantum cryptanalysis; those depend on the team’s choice and the specific implementation.
Practical conclusion: for a post-quantum version, Pedersen/Schnorr/BNIZK must be replaced with post-quantum commitments and proofs, such as lattice ones. But then a new problem arises: post-quantum proofs are harder, and if we return them to MPC, we lose the main advantage of 2kHawk. This raises a new research question.
9. Answers to selected designer questions
The questions directly related to the hypothesis were selected: 1, 3, 4, 5, 7, 11, 18, 25, 29, 37, 38, 40, 43, 46, 49, 50, 51, 52, 54, 56, 63, 69, 70, 75. Questions about equipment, temperature and sensors are marked as not related to this work.
| No. | Question | Answer in relation to 2kHawk |
|---|---|---|
| 1 | What problem does the technology solve? | Smart contract input/output privacy without a trusted manager and with blockchain-based zero-sum verification. |
| 3 | What is being researched? | Interactive PSC protocol: MPC function, Pedersen commitments, Schnorr, BNIZK, blockchain verification. |
| 4 | Hypothesis and refutation | Hypothesis: Removing NIZK from MPC makes it practical. Disconfirmation: MPC is still heavy, the proof is invalid, or privacy is broken. |
| 5 | Research boundaries | t<n, static corruption, DLP, ROM, interactive mode; NI-PSC and post-quantum hardness are not implemented. |
| 7 | Physical/cryptographic mechanism | Pedersen homomorphism + Schnorr sigma protocol + bit commitments and multiplexer in MPC. |
| 11 | Model assumptions | DLP complexity, random oracle, tsecure MPC, binding/hiding commitments. In the presence of a quantum adversary, the DLP assumption is no longer reliable. |
| 18 | Connection with previous works | Develops Hawk: replaces the MPC manager; uses Zcash/Hawk’s commitment coin ideas; is not an NI-PSC. |
| 25 | Formal object | A function f and its MPC version f̂; inside are the choice of bit commitments, computation r , and Schnorr proofs. |
| 29 | Price | ℓ bit; for each bit, there are two obligations and two BNIZKs outside the MPC; inside the MPC, there is a lightweight multiplexer. But interactivity and online participation remain. |
| 37 | Baseline comparison | Hawk with a manager; naive Hawk+MPC with zk-SNARKs inside; Arbitrum with partial privacy. A fair comparison requires the same threat model. |
| 38 | Comparability of conditions | This article doesn’t use a single benchmark. Comparisons between 2kHawk and Hawk should be made taking into account different levels of trust, and between NI-PSC and iO. |
| 40 | What is stated? | The protocol and proof of security, not the measured speedup. “Practicality” is a structural argument. |
| 43 | Basis for conclusion | Definitions, construction, and hybrid proof. No experimental data. |
| 46 | Reproducibility | The preprint contains no code or data. Reproduction requires an implementation of MPC, commitments, and blockchain verification. |
| 49 | Cryptographic problem | Discrete logarithm in the cyclic group for Pedersen/Schnorr; not factorization. |
| 50 | Quantum algorithm | Shor’s algorithm for the discrete logarithm. It doesn’t “crack” the protocol today, but it invalidates the DLP assumption in the future. |
| 51 | Resource assessments | The article does not provide any estimates. A separate evaluation is needed for a specific group and implementation; Bitcoin ECDSA estimates cannot be generalized to the arbitrary 2kHawk group. |
| 52 | Threat Model | Static adversary corrupts t<n; blockchain is trusted for availability/correctness; quantum adversary is not included in the model. |
| 54 | QKD vs. PQC | 2kHawk does not use QKD. Migration requires post-quantum commitments and proofs; QKD alone does not solve the zero-sum problem of smart contracts. |
| 56 | Bitcoin context | 2kHawk is not a Bitcoin protocol. If the public key is compromised, Shor threatens the signatures; however, DLP obligations and proofs are more important here. A protocol-specific analysis is needed. |
| 63 | Practical value | Strong privacy, managerless, verifiable zero-sum. Metrics: MPC cost, number of rounds, proof size, finality latency. |
| 69 | Open issues | UC security, abortion processing, verification out, NI-PSC, post-quantum replacement of DLP primitives, real-world benchmarks. |
| 70 | Next experiments | Implement an MPC multiplexer on SPDZ; compare with Hawk; prototype lattice commitments/proofs and measure cost improvement. |
| 75 | New test question | Is it possible to build a post-quantum 2kHawk while maintaining the lightness of MPC, or do post-quantum proofs inevitably bring heavy SNARKs back into the computation? |
10. Limitations and typical errors of interpretation
- Not a “fully decentralized Hawk.” Trust in the manager is replaced by trust in the MPC at
t<n; this is a different, but not zero, assumption. - Not NI-PSC. All participants must be online for MPC; abortions are possible. NI-PSC requires NI-MPC, and the general constructs are known from iO and are not practical under standard assumptions.
- Not a post-quantum protocol. DLP primitives are incompatible with a quantum adversary wielding Shor.
- UC security has not been proven. The authors explicitly call the model weaker and reserve UC for future use.
- There’s no verification
outin the current version. This can be fixed by including the string in the proof, but the protocol described doesn’t do that. - No benchmarks. It’s impossible to claim “faster than Hawk” without measurements; one can argue that the MPC structure is lighter than the zk-SNARKs inside the MPC.
11. New contribution and next experiment
The paper’s new contribution isn’t “quantum acceleration,” but rather the decomposition of trust and cost : 2kHawk shows how to separate private computation and public verification so that complex proofs don’t end up in MPC. This creates a three-step research program:
- Engineering: Implement 2kHawk on an SPDZ-like MPC, measure the number of rounds, communication cost, and BNIZK cost per bit; compare with Hawk under the same threat model.
- Security: Prove UC security, formalize abortion and verification
out, explore adaptive corruption. - Post-quantum version: replace Pedersen/Schnorr/BNIZK with post-quantum commitments and sigma protocols; check whether the MPC lightness is preserved or whether post-quantum proofs reintroduce the heavy SNARK.
The next experiment to be tested is a “2kHawk-PQ” prototype with lattice commitments and proofs; metrics include proof size, number of MPC rounds, finality latency, and blockchain verification cost. Hypothesis: With reasonable parameters, the increase in verification cost outside of MPC may be acceptable, but will require a new bit proof design.
12. Conclusion
2kHawk is a significant step from “privacy via a trusted manager” to “privacy via MPC and commitments.” Its core idea is simple and powerful: there’s no need to run zk-SNARKs inside an MPC if zero-sum can be proven using homomorphic commitments and a sigma protocol, and bit correctness can be verified externally. However, practical and quantum perspectives require fairness: the protocol is interactive, not fully untrusted, non-verifiable out , and relies on data loss prevention. A quantum stress test doesn’t invalidate the result, but rather points to the next scientific question: can the lightness of MPC be preserved with the post-quantum replacement of commitments and proofs? This very question connects classical practical cryptography with the quantum era and makes the topic of interest not only to blockchain specialists but also to researchers of post-quantum cryptography.
Sources
- A. Banerjee, M. Clear, H. Tewari. 2kHawk: Practical Private Smart Contracts from MPC-based Hawk . arXiv:2104.09180v4.
- A. Kosba, A. Miller, E. Shi, Z. Wen, C. Papamanthou. Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts . IEEE S&P, 2016.
- E. Ben-Sasson et al. Zerocash: Decentralized Anonymous Payments from Bitcoin . IEEE S&P, 2014.
- A. Miller, M. Moser, K. Lee, A. Narayanan. An Empirical Analysis of Linkability in the Monero Blockchain . arXiv:1704.04299, 2017.
- R. Canetti, U. Feige, O. Goldreich, M. Naor. Adaptively Secure Multi-Party Computation . STOC, 1996.
- R. Canetti. Universally Composable Security . FOCS, 2001.
- T. Araki et al. Generalizing the SPDZ Compiler for Other Protocols . ACM CCS, 2018.
- T. P. Pedersen. Non-Interactive and Information-Theoretical Secure Verifiable Secret Sharing . CRYPTO, 1991.
- C.-P. Schnorr. Efficient Identification and Signatures for Smart Cards . CRYPTO, 1989.
- A. Fiat, A. Shamir. How to Prove Yourself . CRYPTO, 1986.
- J. Groth, M. Kohlweiss. One-out-of-Many Proofs . EUROCRYPT, 2015.
- J. Groth. Short Pairing-Based Non-Interactive Zero-Knowledge Arguments . ASIACRYPT, 2010.
- E. Ben-Sasson et al. Succinct Non-Interactive Zero Knowledge for a von Neumann Architecture . USENIX Security, 2014.
- B. Barak et al. On the (Im)possibility of Obfuscating Programs . CRYPTO, 2001.
- P. Ananth, A. Jain, A. Sahai. Indistinguishability Obfuscation from Functional Encryption for Simple Functions . ePrint, 2015.
- NIST. FIPS 203, 204, 205 , August 13, 2024. URL: https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
- NIST NCCoE. Migration to Post-Quantum Cryptography . URL: https://www.nccoe.nist.gov/applied-cryptography/migration-to-pqc
- National Quantum Initiative. URL: https://www.quantum.gov/national-quantum-initiative/
