{
  "id": "2018/416",
  "url": "https://opencryptology.org/2018/416",
  "original_url": "https://eprint.iacr.org/2018/416",
  "title": "Ledger Design Language: Towards Formal Reasoning and Implementation for Public Ledgers",
  "authors": [
    "Nadim Kobeissi",
    "Natalia Kulatova"
  ],
  "affiliations": null,
  "abstract": "Cryptocurrencies have popularized public ledgers, known colloquially as \"blockchains\". While the Bitcoin blockchain is relatively simple to reason about as, effectively, a hash chain, more complex public ledgers are largely designed without any formalization of desired cryptographic properties such as authentication or integrity. These designs are then implemented without assurances against real-world bugs leading to little assurance with regards to practical, real-world security.\n\nLedger Design Language (LDL) is a modeling language for describing public ledgers. The LDL compiler produces two outputs. The first output is a an applied-pi calculus symbolic model representing the public ledger as a protocol. Using ProVerif, the protocol can be played against an active attacker, whereupon we can query for block integrity, authenticity and other properties. The second output is a formally verified read/write API for interacting with the public ledger in the real world, written in the F* programming language. F* features such as dependent types allow us to validate a block on the public ledger, for example, by type-checking it so that its signing public key be a point on a curve. Using LDL's outputs, public ledger designers obtain automated assurances on the theoretical coherence and the real-world security of their designs with a single framework based on a single modeling language.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Ledger Design Language: Towards Formal Reasoning and Implementation for Public Ledgers” by Nadim Kobeissi, Natalia Kulatova, Cryptology ePrint Archive, Paper 2018/416, https://eprint.iacr.org/2018/416. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-05-10T20:39:04Z",
    "updated": "2018-05-10T20:39:04Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/416.pdf",
    "sha256": "4a6462462df5e965f4d461f8451168c03328be9975141c59bb79560d9bde08c9",
    "size": 250583,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/416/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/416.pdf",
      "size": 250583,
      "sha256": "4a6462462df5e965f4d461f8451168c03328be9975141c59bb79560d9bde08c9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260426043743id_/https://eprint.iacr.org/2018/416.pdf",
      "captured_at": "2026-04-26T04:37:43Z",
      "size": 218124
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/416.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 250583
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/416,\n      author = {Nadim Kobeissi and Natalia Kulatova},\n      title = {Ledger Design Language: Towards Formal Reasoning and Implementation for Public Ledgers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/416},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/416}\n}"
}
