{
  "id": "2019/891",
  "url": "https://opencryptology.org/2019/891",
  "original_url": "https://eprint.iacr.org/2019/891",
  "title": "Shielded Computations in Smart Contracts Overcoming Forks",
  "authors": [
    "Vincenzo Botta",
    "Daniele Friolo",
    "Daniele Venturi",
    "Ivan Visconti"
  ],
  "affiliations": null,
  "abstract": "In this work, we consider executions of smart contracts for implementing secure multi-party computation (MPC) protocols on forking blockchains (e.g., Ethereum), and we study security and delay issues due to forks. In this setting, the classical double-spending problem tells us that messages of the MPC protocol should be confirmed on-chain before playing the next ones, thus slowing down the entire execution.\n\nOur contributions are twofold:\n- For the concrete case of fairly tossing multiple coins with penalties, we notice that the lottery protocol of Andrychowicz et al. (S&P '14) becomes insecure if players do not wait for the confirmations of several transactions. In addition, we present a smart contract that instead retains security even when all honest players immediately answer to transactions appearing on-chain. We analyze the performance using Ethereum as testbed.\n- We design a compiler that takes any ``digital and universally composable'' MPC protocol (with or without honest majority), and transforms it into another one (for the same task and same setup) which maintains security even if all messages are played on-chain without delays. The special requirements on the starting protocol mean that messages consist only of bits (e.g., no hardware token is sent) and security holds also in the presence of other protocols. We further show that our compiler satisfies fairness with penalties as long as honest players only wait for confirmations once.\n\nBy reducing the number of confirmations, our protocols can be significantly faster than natural constructions.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Shielded Computations in Smart Contracts Overcoming Forks” by Vincenzo Botta, Daniele Friolo, Daniele Venturi, Ivan Visconti, Cryptology ePrint Archive, Paper 2019/891, https://eprint.iacr.org/2019/891. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-08-05T22:28:09Z",
    "updated": "2021-05-10T13:16:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/891.pdf",
    "sha256": "8936dbb2aeedea422dee6e357fb810762ccca668059f896e89045d4aaa4cf65f",
    "size": 661871,
    "source": "wayback",
    "source_date": "2024-03-09T22:55:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/891/versions/20240309T225507Z.pdf",
      "captured_at": "2024-03-09T22:55:07Z",
      "label": "copy captured 2024-03-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240309225507id_/https://eprint.iacr.org/2019/891.pdf",
      "size": 661871,
      "sha256": "8936dbb2aeedea422dee6e357fb810762ccca668059f896e89045d4aaa4cf65f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2019/891/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/2019/891.pdf",
      "size": 588470,
      "sha256": "d4946f72c260341bf9c610ebaea9991d5be2aa2729f2b82e74fa576cf23fc714",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2019/891/versions/20190915T202912Z.pdf",
      "captured_at": "2019-09-15T20:29:12Z",
      "label": "copy captured 2019-09-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20190915202912id_/https://eprint.iacr.org/2019/891.pdf",
      "size": 545305,
      "sha256": "fb447596d3bc4b225a8d75607fff8e24bef972fe88a8528718ff89d37909fc37",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240309225507id_/https://eprint.iacr.org/2019/891.pdf",
      "captured_at": "2024-03-09T22:55:07Z",
      "size": 580261
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/891.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 588470
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/891,\n      author = {Vincenzo Botta and Daniele Friolo and Daniele Venturi and Ivan Visconti},\n      title = {Shielded Computations in Smart Contracts Overcoming Forks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/891},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/891}\n}"
}
