Aarhus University Seal / Aarhus Universitets segl

COBRA Seminar - Mathias Hall-Andersen on FastSwap

2019.12.11 | Malene B. B. Andersen

Date Tue 14 Jan
Time 12:00 13:00
Location Nygaard-295 (building 5335, room 295), Department of Computer Science, Åbogade 34, 8200 Aarhus N

Topic: FastSwap

Abstract: FastSwap is a simple and concretely efficient contingent payment scheme for complex predicates, inspired by FairSwap. FastSwap only relies on symmetric primitives (in particular symmetric encryption and cryptographic hash functions) and avoids `heavy-weight' primitives such as general ZKP systems. FastSwap is particularly well-suited for applications where the witness or predicate is large (on the order of MBs / GBs) or expensive to calculate. Additionally FastSwap allows predicates to be implemented using virtually any computational model (including branching execution), which e.g. enables practitioners to express the predicate in smart contract languages already familiar to them, without an expensive transformation to satisfiability of arithmetic circuits. The cost of this efficiency during honest execution is a logarithmic number of rounds during a dispute resolution in the presence of a corrupted party (compared to constant round complexity for existing schemes). Let the witness be of size |w| and the predicate of size |P|, where computing P(w) takes n steps. In the honest case the off-chain communication complexity is |w|+|P|+c for a small constant c, the on-chain communication complexity is c′ for a small constant c′. In the malicious case the on-chain communication complexity is O(logn) with small constants. Concretely with suitable optimizations the number of rounds (on-chain transactions) for a computation of 230 steps can be brought to 2 in the honest case with an estimated cost of ≈2 USD on the Ethereum blockchain and to 14 rounds with an estimated cost of ≈4 USD in case of a dispute.

About the Speaker: Mathias Hall-Andersen is a Master's student at University of Copenhagen. He is writing his thesis in collaboration with COBRA.

About the Seminar: The COBRA Seminars are weekly seminars hosted by the Concordium Blockchain Research Center Aarhus. The seminars are open to everyone with an interest in blockchain. You will find further details about COBRA on the centre website https://cs.au.dk/research/centers/concordium/ 

COBRA, CS frontpage, Featured, Public/media