Decentralised token swap site Swap.Online release details of their upcoming protocol.
Decentralization is the basis for blockchain technologies. Decentralization ensures the security, transparency and integrity of all transactions in the network. But are the popular cryptocurrency exchanges really decentralized, and safe? Most DEX’s are not able to accept BTC without using an unreliable gateway between the two blockchains.
There are several different types of DEX (Decentralised Exchange) such as pseudo-decentralized, working in the Ethereum network only, for example projects that link blockchains to each other using their own tokens, and decentralized exchanges that use “Hashed Timelock Contracts”.
Earlier, it was common knowledge that a crypto exchange that did not store user keys, and was decentralized and therefore safe. However, most of these exchanges are built on a single blockchain, which makes them vulnerable – in order to get funds from the Bitcoin network to such a crypto exchange for example, one needs to use a gateway, which takes bitcoin and produces a “holding” kind of bitcoins in another network in return. A similar principle lies with Ethereum-based exchanges, for example, EtherDelta.
Devotees of centralization believe that storing private keys on a secure server is safer than storing encrypted keys in the user’s browser. However, if a central server is hacked, everything will be stolen (as it was with a million bitcoins), and paranoids can remove signing of transactions from the browser into the application on the computer and encrypt it.
Since all code is executed in the user’s browser, the greatest risk is the intrusion of extraneous scripts into the code. It is likely to be made by the extensions the user installed in the browser, or by a hosting provider.
To prevent such attacks, Swap.Online will use cloudflare.com together with Workers, a solution that, in response to any request to the domain, sends a “Content Security Policy” header with the hash of the JS code allowed for execution in the user’s browser. Thus, server hacking and most attacks based on the introduction of malicious code will be eliminated. To understand how this works, see the video of the system operation below, or try to make an exchange yourself at https://alpha.swap.online.
By using Bitcoin.js, web3.js, and the libp2p library in IPFS, Swap.Online created a cross-blockchain swap system directly in the browser. The full details of the system can be found below:
The source code of the exchange is published in GitHub, and the protocol is distributed as Open Source. The AirDrop is scheduled for June 30th.
The Swap.Online team is also engaged in commercial implementation and release of related products:
Media Contact Details
Contact Name: Alexandra Matveeva
Contact Email: Sashamatveyeva95@gmail.com
Swap Online is the source of this content. This press release is for informational purposes only and should not be viewed as an endorsement by CoinIdol. We take no responsibility and give no guarantees, warranties or representations, implied or otherwise, for the content or accuracy. Readers should do their own research before investing funds in any company.