{
  "id": "2022/1119",
  "url": "https://opencryptology.org/2022/1119",
  "original_url": "https://eprint.iacr.org/2022/1119",
  "title": "PESCA: A Privacy-Enhancing Smart-Contract Architecture",
  "authors": [
    "Wei Dai"
  ],
  "affiliations": null,
  "abstract": "Public blockchains are state machines replicated via distributed consensus protocols. Information on blockchains is public by default---marking privacy as one of the key challenges.\n\nWe identify two shortcomings of existing approaches to building blockchains for general privacy-preserving applications, namely (1) the reliance on external trust assumptions and (2) the dependency on execution environments (on-chain, off-chain, zero-knowledge, etc.) with heterogeneous programming frameworks.\n\nTowards solving these problems, we propose PESCA---a privacy-enhancing smart contract architecture. PESCA utilizes generic building blocks such as threshold fully-homomorphic encryption (FHE), distributed key generation (DKG), dynamic proactive secrete sharing (DPSS), Byzantine-fault-tolerant (BFT) consensus, and universal succinct non-interactive zero-knowledge proofs (zk-SNARKs).\n\nFirst, we formalize the problem of replicating state machines augmented with threshold decryption protocols and discuss how existing BFT consensus protocols can be adapted to this setting. We describe how to instantiate a blockchain with a fixed FHE public key and have FHE-encrypted chain states programmatically decrypted via consensus.\n\nNext, we describe a smart-contract framework for engineering privacy-preserving applications, where programs are expressed---in a unified manner---between four types of computation: transparent on-chain, confidential (FHE) on-chain, user off-chain, and zero-knowledge off-chain.\n\nLastly, to showcase the generality and expressiveness of PESCA, we provide two simple application designs for constant function market makers (CFMMs) and first-price sealed-bid auctions (FPSBAs), both with maximal privacy guarantees.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC",
    "url": "https://creativecommons.org/licenses/by-nc/4.0/",
    "label": "CC BY-NC 4.0",
    "attribution": "“PESCA: A Privacy-Enhancing Smart-Contract Architecture” by Wei Dai, Cryptology ePrint Archive, Paper 2022/1119, https://eprint.iacr.org/2022/1119. Licensed under CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2022-08-29T07:49:14Z",
    "updated": "2022-08-29T07:49:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1119.pdf",
    "sha256": "62a0b244f366b5e5773bcceda6a6fb8db707e7a8a516af150c138f4bd0224993",
    "size": 699493,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1119/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1119.pdf",
      "size": 699493,
      "sha256": "62a0b244f366b5e5773bcceda6a6fb8db707e7a8a516af150c138f4bd0224993",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260818110434id_/https://eprint.iacr.org/2022/1119.pdf",
      "captured_at": "2026-08-18T11:04:34Z",
      "size": 687758
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1119.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 699493
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1119,\n      author = {Wei Dai},\n      title = {PESCA: A Privacy-Enhancing Smart-Contract Architecture},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1119},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1119}\n}"
}
