GrinSwap makes it easy for anyone to trade in and out of Grin trustlessly, without the need for a third party. It makes OTC deals a breeze, it introduces a privacy preserving method for buying and selling Grin, and it improves the fungibility and privacy of tokens and assets on the Bitcoin and Ethereum networks.
This is an open source project written in Rust, with development led by @jaspervdm, the creator of the first atomic swaps for Grin <> ETH and Grin <> BTC.
The work on this project is funded by the community, with support from Binance Labs and Gitcoin Grants. You can help support this effort by making a donation via the following methods:
-
GRIN
grinbox://gVuDf8U6CxjLfa6Wp93iG8jPFnbwuZbVkQuS4vPkatUayNB6u8uX -
ETH / ERC-20
Gitcoin matching grant: https://gitcoin.co/grants/96/grinswap-cross-chain-atomic-swaps-with-grin -
BTC
Coming soon
Lay foundation of Rust library. Flexible codebase that will be able to handle multiple cryptocurrencies
- Define the swap Slate and its intermediate states
- Define and API for handling swap Slates and progressing / cancelling
- Interface with Grin chain, creating 2-of-2 multisignature output with timelocked refund
- Build test routines
- Obtain feedback from other developers to ensure cryptography and implementation are safe
- Document each step in the swap, and the different API methods
Implement specific requirements for ETH and ERC-20 swaps.
- Improve smart contract for adaptor signature based swap, for base ETH and ERC-20
- Build ETH/ERC-20 specific steps in the swap library
- Investigate options to deploy the contract, such as Metamask
- Interface with the ETH chain to query status of the contract
- Perform swap with new library
- Additional scrutiny from community
- Update where needed
wallet713 integration
- Initiate swap with wallet713, display state, handle finalization/timeout
- Perform swap either by sending files or by using Grinbox
- Bulletin board for sellers/buyers to find each other
- Test with swaps over wallet713, mainnet swaps.
- Community testing
- Update wallet713 documentation with new commands related to swaps
- Add BTC Support
- Add Order matching / price discovery
Apache License v2.0.