{
  "id": "2024/1498",
  "url": "https://opencryptology.org/2024/1498",
  "original_url": "https://eprint.iacr.org/2024/1498",
  "title": "Practical Implementation of Pairing-Based zkSNARK in Bitcoin Script",
  "authors": [
    "Federico Barbacovi",
    "Enrique Larraia",
    "Paul Germouty",
    "Wei Zhang"
  ],
  "affiliations": null,
  "abstract": "Groth16 is a pairing-based zero-knowledge proof scheme that has a constant proof size and an efficient verification algorithm. Bitcoin Script is a stack-based low-level programming language that is used to lock and unlock bitcoins. In this paper, we present a practical implementation of the Groth16 verifier in Bitcoin Script deployable on the mainnet of a Bitcoin blockchain called BSV. Our result paves the way for a framework of verifiable computation on Bitcoin: a Groth16 proof is generated for the correctness of an off-chain computation and is verified in Bitcoin Script on-chain. This approach not only offers privacy but also scalability. Moreover, this approach enables smart contract capability on Bitcoin which was previously thought rather limited if not non-existent.",
  "category": "Implementation",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Practical Implementation of Pairing-Based zkSNARK in Bitcoin Script” by Federico Barbacovi, Enrique Larraia, Paul Germouty, Wei Zhang, Cryptology ePrint Archive, Paper 2024/1498, https://eprint.iacr.org/2024/1498. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2024-09-24T16:56:05Z",
    "updated": "2024-09-24T16:56:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1498.pdf",
    "sha256": "5ae41a50ca94087281320afc4b9f6317f76ece60cc4c2f924b0ae84539691012",
    "size": 543021,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1498/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1498.pdf",
      "size": 543021,
      "sha256": "5ae41a50ca94087281320afc4b9f6317f76ece60cc4c2f924b0ae84539691012",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1498.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 543021
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240930193333id_/https://eprint.iacr.org/2024/1498.pdf",
      "captured_at": "2024-09-30T19:33:33Z",
      "size": 539734
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1498,\n      author = {Federico Barbacovi and Enrique Larraia and Paul Germouty and Wei Zhang},\n      title = {Practical Implementation of Pairing-Based zkSNARK in Bitcoin Script},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1498},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1498}\n}"
}
