{
  "id": "2020/433",
  "url": "https://opencryptology.org/2020/433",
  "original_url": "https://eprint.iacr.org/2020/433",
  "title": "zkRelay: Facilitating Sidechains using zkSNARK-based Chain-Relays",
  "authors": [
    "Martin Westerkamp",
    "Jacob Eberhardt"
  ],
  "affiliations": null,
  "abstract": "We facilitate trusted cross-blockchain state proofs by implementing a chain-relay that validates block headers from proof-of-work blockchains. While current approaches require proof sizes linear to the amount of blocks the state was built on, trusted intermediaries, or economic assumptions, we propose the utilization of off-chain computations through zkSNARKs to provide a cryptographically secure and highly scalable sidechain mechanism. Multiple block headers are included in batches and verified off-chain, while preserving light client support. Only the validity of the off-chain computation is verified on-chain, creating a sidechain mechanism that requires constant verification costs and releases the target ledger from processing and storing every single block header of the source blockchain. We provide a prototypical implementation that facilitates the verification of 504 Bitcoin headers in a single proof on Ethereum using the ZoKrates framework. Hereby, the verification costs are reduced by a factor of 187 compared to current approaches such as BTC Relay.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“zkRelay: Facilitating Sidechains using zkSNARK-based Chain-Relays” by Martin Westerkamp, Jacob Eberhardt, Cryptology ePrint Archive, Paper 2020/433, https://eprint.iacr.org/2020/433. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-04-15T18:04:46Z",
    "updated": "2020-04-15T18:04:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/433.pdf",
    "sha256": "de758dd7e3d81d202006899203d6630b0d61814b91531b559471a94e245346df",
    "size": 338095,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/433/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/433.pdf",
      "size": 338095,
      "sha256": "de758dd7e3d81d202006899203d6630b0d61814b91531b559471a94e245346df",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260409025320id_/https://eprint.iacr.org/2020/433.pdf",
      "captured_at": "2026-04-09T02:53:20Z",
      "size": 335086
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/433.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 338095
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/433,\n      author = {Martin Westerkamp and Jacob Eberhardt},\n      title = {zkRelay: Facilitating Sidechains using zkSNARK-based Chain-Relays},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/433},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/433}\n}"
}
