-
Notifications
You must be signed in to change notification settings - Fork 48
Atomic Swap
micgre edited this page Feb 2, 2018
·
1 revision
- Divi to implement Atomic Swap for P0 general release
- Atomic Swap will allow exchange of Divi to another cryptocurrency, without the need to trust a third-party
Atomic Swap feature will allow for seamless currency exchanges for the Divi Smart Wallet. This feature is strategic for mass adoption of cryptocurrency.
- Both Blockchains to share the same cryptographic Hash function, such as SHA-256
- Both Blockchains support branched transaction scripts and use the same hash algorithms
- Both Blockchains should have signature checks in their transaction scripts
- Both Blockchains should CLTV (checkLockTimeVerify) and CSV in their transaction scrips
- Exchange of currency - User A can exchange currency X with User B to get currency Y
- Untrusted exchange - User A does not have to know User B but can be confident that the currency exchange will be completed reliably and at the correct rate.
- HTLC - Hashed time-lock contracts are implemented to allow the currency exchange from one currency on one blockchain to another on another blockchain
- Payment Channels - Payment channels can be created, opened and closed e.g. via a lightning network type solution
- Hash functions - Multiple cryptographic hash functions for all primary blockchains will be supported (e.g. SHA-256, Scrypt, blake etc.)