ETH/ZIL/BTC Atomic Swaps

Project Name

ETH/ZIL/BTC Atomic Swaps

Project Tagline/Description (140 Characters Max. Will be used on table card for judging)

Peer-to-peer exchange of ETH, ZIL, and BTC on their native chains, utilizing hashed timelock contracts. No wrapping required!

Team Members. First and Last Names

Status.im ID for Each Team Member (we will use this to contact you and your team)

Detailed Project Description (no more than 3-4 sentences)

The ETH/ZIL/BTC Atomic Swaps project enables trustless swapping of ZIL, ETH, and BTC (using BIP 199 for BTC, ERC 1630 for ETH, and the first ZIL Hashed Timelock Contract (HTLC) written in Scilla (https://github.com/mattBlackDesign/chainabstractionlayer/blob/master/src/providers/zilliqa/ZilliqaSwapProvider.js#L5)). We did this by forking the Chain Abstraction Layer, and adding Zilliqa as an asset, enabling the trustless swapping of any of the three pairs (ETH-ZIL, BTC-ZIL, BTC-ETH). We use the typical HTLC method of locking funds using a secret hash, where the counterparty is able to claim once they receive the secret. We ran into a limitation of not being able to use timestamps for the timelocks in Scilla, and resorted to using blocktimes instead, but once https://github.com/Zilliqa/scilla/issues/311 is implemented, this can be done with timestamps.

Describe your tech stack (e.g., protocols, languages, API’s, etc.)

Track for which you’re submitting (Open or Impact)

Open

All Bounties Completed/Incorporated

https://github.com/mattBlackDesign/chainabstractionlayer https://github.com/mattBlackDesign/chainabstractionlayer/tree/master/src/providers/zilliqa