BitMLx: Secure Cross-chain Smart Contracts For Bitcoin-style Cryptocurrencies

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Badaloni, Federico, Holler, Sebastian, Oikonomou, Chrysoula, Moreno-Sanchez, Pedro, Schneidewind, Clara
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910804722319360
author Badaloni, Federico
Holler, Sebastian
Oikonomou, Chrysoula
Moreno-Sanchez, Pedro
Schneidewind, Clara
author_facet Badaloni, Federico
Holler, Sebastian
Oikonomou, Chrysoula
Moreno-Sanchez, Pedro
Schneidewind, Clara
contents A smart contract is an interactive program that governs funds in the realm of a single cryptocurrency. Yet, the many existing cryptocurrencies have spurred the design of cross-chain applications that require interactions with multiple cryptocurrencies simultaneously. Currently, cross-chain applications are implemented as use-case-specific cryptographic protocols that serve as overlay to synchronize smart contract executions in the different cryptocurrencies. Hence, their design requires substantial expertise, as well as a security analysis in complex cryptographic frameworks. In this work, we present BitMLx, the first domain-specific language for cross-chain smart contracts, enabling interactions with several users that hold funds across multiple Bitcoin-like cryptocurrencies. We contribute a compiler to automatically translate a BitMLx contract into one contract per involved cryptocurrency and a user strategy that synchronizes the execution of these contracts. We prove that an honest user, who follows the prescribed strategy when interacting with the several contracts, ends up with at least as many funds as in the corresponding execution of the BitMLx contract. Last, but not least, we implement the BitMLx compiler and demonstrate its utility in the design of illustrative examples of cross-chain applications such as multi-chain donations or loans across different cryptocurrencies.
format Preprint
id arxiv_https___arxiv_org_abs_2501_17733
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle BitMLx: Secure Cross-chain Smart Contracts For Bitcoin-style Cryptocurrencies
Badaloni, Federico
Holler, Sebastian
Oikonomou, Chrysoula
Moreno-Sanchez, Pedro
Schneidewind, Clara
Cryptography and Security
A smart contract is an interactive program that governs funds in the realm of a single cryptocurrency. Yet, the many existing cryptocurrencies have spurred the design of cross-chain applications that require interactions with multiple cryptocurrencies simultaneously. Currently, cross-chain applications are implemented as use-case-specific cryptographic protocols that serve as overlay to synchronize smart contract executions in the different cryptocurrencies. Hence, their design requires substantial expertise, as well as a security analysis in complex cryptographic frameworks. In this work, we present BitMLx, the first domain-specific language for cross-chain smart contracts, enabling interactions with several users that hold funds across multiple Bitcoin-like cryptocurrencies. We contribute a compiler to automatically translate a BitMLx contract into one contract per involved cryptocurrency and a user strategy that synchronizes the execution of these contracts. We prove that an honest user, who follows the prescribed strategy when interacting with the several contracts, ends up with at least as many funds as in the corresponding execution of the BitMLx contract. Last, but not least, we implement the BitMLx compiler and demonstrate its utility in the design of illustrative examples of cross-chain applications such as multi-chain donations or loans across different cryptocurrencies.
title BitMLx: Secure Cross-chain Smart Contracts For Bitcoin-style Cryptocurrencies
topic Cryptography and Security
url https://arxiv.org/abs/2501.17733