Improving security for users of decentralized exchanges through multiparty computation

Robert Annessi, Ethan Fast
6/21/2021
cs.CR

Official code: nash-io/nash-rust (3 stars, Rust, MIT, Rust, last commit 2025-02-20).

Abstract

Decentralized cryptocurrency exchanges offer compelling security benefits over centralized exchanges: users control their funds and avoid the risk of an exchange hack or malicious operator. However, because user assets are fully accessible by a secret key, decentralized exchanges pose significant internal security risks for trading firms and automated trading systems, where a compromised system can result in total loss of funds.

Show full abstract

Centralized exchanges mitigate this risk through API key based security policies that allow professional users to give individual traders or automated systems specific and customizable access rights such as trading or withdrawal limits. Such policies, however, are not compatible with decentralized exchanges, where all exchange operations require a signature generated by the owner's secret key. This paper introduces a protocol based upon multiparty computation that allows for the creation of API keys and security policies that can be applied to any existing decentralized exchange. Our protocol works with both ECDSA and EdDSA signature schemes and prioritizes efficient computation and communication. We have deployed this protocol on Nash exchange, as well as around several Ethereum-based automated market maker smart contracts, where it secures the trading accounts and wallets of thousands of users.

View on arXivView PDF

Code Implementations(1)

nash-io/nash-rustOfficial100%
RustMIT

Nash libraries and tools in Rust

35Rust, ElixirSep 16, 20201 years agoMIT

Similar Papers

Cite this paper

@article{annessi2021improving,
  title  = {Improving security for users of decentralized exchanges through multiparty computation},
  author = {Robert Annessi and Ethan Fast},
  year   = {2021},
  eprint = {2106.10972},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.10972}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.10972.svg)](https://codeofpaper.com/paper/2106.10972)

Discussion