sparkswap: Trade across blockchains without custody risk

Trey Griffith
Jul 30, 2018 · 2 min read

I’m excited to publicly share what my team and I have been working on for the past few months: sparkswap.

sparkswap is a new way to trade cryptocurrencies without depositing your assets with a third party or trusting any sort of intermediary. You can trade between different blockchains (currently Bitcoin and Litecoin, with others coming soon), with trades settling in about a second — a transaction time comparable to some of the leading centralized cryptocurrency exchanges.

In an industry that, at times, seems to value hype and whitepapers over delivered, working software, we’ve opted for the latter. Our software is in a pre-alpha state, but we’ve successfully used it to execute BTC/LTC trades on the Bitcoin and Litecoin testnets.

With sparkswap, you no longer have to choose between fast settlement, liquid trading pairs, and maintaining control of your assets. Your assets are no longer exposed to theft or loss by exchanges, either from bad actors or local governments.

sparkswap makes this possible by settling trades peer-to-peer using trustless, atomic cross-chain swaps over the Lightning Network. To our knowledge, we’re the first working application of this technology beyond some initial demonstrations. Below is a video demonstrating a testnet trade.

Two users, Alice¹ and Bob² use sparkswap to trade BTC and LTC over the Lightning Network

We still have plenty of work to do to take this technology to mainnet and live trading, but we’re ready for people to start trying out the swaps themselves so we can improve the technology as a community.

We’ll write some more over the coming weeks about how sparkswap works and the motivation behind some of the choices we’ve made, but until then, join us on Discord or check out our developer docs.

P.S. if you want to try integrating sparkswap into your trading infrastructure, let us know, as we’d like to be helpful if we can.

[1] Alice’s channel opening transactions: BTC, LTC
[2] Bob’s channel opening transactions: BTC, LTC


The Lightning Exchange

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store