Posts

Cryptocurrency Projects Thorchain and Blocknet: Understanding the significance of atomic swaps in the evolution of decentralized cryptocurrency exchanges

avatar of @shortsegments
25
@shortsegments
·
·
0 views
·
7 min read

The Leo Chronicles: Thorchain and Blocknet: Atomic Swap Projects

If you have been a member of Leofinance around for a while you have seen articles written by our leader @khaleekazi on the cryptocurrency project Thorchain, and hopefully you have seen a few articles written by me on Blocknet. Both projects are focused on atomic swaps as an improvement in the decentralized exchange of cryptocurrencies between individuals. I think now is a good time to review the projects Thorchain and Blocknet, and see why @khaleekazi, @onealfa, myself and others are excited about these projects.

We live in an age with mostly centralized exchanges, with the advantages and disadvantages of centralized exchanges, mainly the loss of control over our cryptocurrency and possible theft of our cryptocurrency with complete loss of our investment. Meanwhile we have seen the rise of so called decentralized exchanges, which allow us greater control of our cryptocurrency while trading or swapping our tokens for the tokens of others. But these decentralized exchanges are not truly decentralized in a pure sense of the word decentralization as originally invented by the founders of this cryptocurrency movement, as some of the trading functions are still controlled by single parties or single groups, and we still give up control of our assets to participate in trading or swapping of tokens on these exchanges. These decentralized exchanges are a step in the right direction, and in some cases many steps in the right direction. But the promise of atomic swaps is one of potentially true decentralization of all exchange functions, potentially unlimited liquidity, greatly improved diversity of trading choices, and improved safety and security.

Improved Decentralized Exchange Functions

Decentralized exchanges have two issues right now that stand out to me in terms of cryptocurrency exchange functions

Liquidity or lack there of.... One of the challenges of launching your coin on Uniswap, which is a decentralized exchange or Abbreviated as DEX is liquidity. Even if you have the knowledge and skills to create an ERC token for your favorite cryptocurrency token, and you have enough money to create a trading pair with Ethereum. You still need Liquidity to attract attention and make your trading pair successful. Let me be blunt, people need a reason to want to trade your coin! That means incentives. People need to think your cryptocurrrncy token will increase in price, or that they will earn Ethereum from transaction fees. So traders are attracted to large liquidity pools with large numbers of transactions generating fees. So you need either a community of investors like Leofinance and a community owner to invest large amounts of Leo and Ethereum in the Liquidity pool to build it up, so both big and small investors can come and buy tokens and contribute. Wrapped Leo was a successful trading pair on Uniswap because of the plan to provide Liquidity and other incentives.

Unfortunately most trading pairs on DEX’s have a couple thousand dollars of Liquidity. They generate 10-20 dollars of fees on good days. As you can deduce investors aren’t interested. If you look at Uniswap, or JustSwap there are many tiny trading pairs, which are essentially failed projects.

However both Thorchain and Blocknet create a solution. If your looking for large numbers of tokens to provide liquidity, one place to go is the blockchain. If you want to find Ethereum, you go to the Ethereum blockchain. There are billions of dollars worth of Ethereum in various applications on Ethereum and thousands of Ethereum wallets containing Ethereum. If you can connect to all these wallets connected to the blockchain, and trade wallet to wallet, you suddenly have unlimited amounts of Ethereum and your liquidity problem is solved. This is one of the potentials of atomic swaps and what I call DISTRIBUTED Atomic swaps, swaps which don’t occur in one location, but instead swaps which occur all over the universe of cryptocurrency. Instead of the tokens coming to the exchange, the exchange comes to the tokens. It makes perfect sense that the largest number of Ethereum tokens are in Ethereum wallets and Ethereum blockchain applications, controlled by a large number of potential traders, which is the very definition of Liquidity a large number of tokens and a large number of buyers and sellers.

Safety and Security of your tokens

I have previously discussed the risks of trading on centralized cryptocurrency exchanges, mainly that you transfer your cryptocurrency from your wallet to the exchange wallet, and the exchange then facilitates a swap or exchange of your cryptocurrency tokens for another one you wish to own. The exchange matches buyers and sellers by holding the cryptocurrency of both the buyers and sellers. The main security issue here is that you lose control over your cryptocurrency, it isn’t in your wallet, protected by your keys, it’s in the exchanges wallet protected by their keys. Basically they can now decide when you can get your tokens, how much, how often, who you can trade with and for how much. Plus the exchanges contain lots of cryptocurrencies on wallets connected to their web pages, these are called Hot Wallets, and thieves called hackers like to break into these wallets or break into unsecure data stores like emails or text messages, looking for the exchanges private keys for the thousands of wallets on the exchanges and steal the cryptocurrency. Additionally Exchange owners or employees sometimes steal the cryptocurrency and disappear. So Your cryptocurrency is at risk of being stolen there buy both the exchange employees and hackers.

Additionally, decentralized exchanges give you better control over your assets traded, but still have trade offs, such as the wrapping process to create an ERC Token, you trade your real token for an ERC Token, which represents your token in trades on the decentralized exchange. This token is held for you, by a trusted individual may hold your tokens in a hot wallet. Which can be broken into by specialized thieves called hackers, who steal your tokens, or in a worst case scenario the trusted individual disappears with your cryptocurrency. I say these things not to disparage trusted entities or the wrapping process. I say them so you understand your vulnerabilities. One of the great things about participating in a robust community with well know and trusted individuals is the safety of your investment. But when you invest in projects where you don’t know the community or the trusted individual you need to understand the risks. Ignorance of these risks has resulted in investors being scammed or robbed of their hard earned cryptocurrency.

The projects Thorchain and Blocknet bring Atomic Swaps or Distributed Atomic Swaps as I like to call them, have created one solution to this security issue. The security issue or issues are created by your cryptocurrency leaving your wallet. These issues would be solved if your cryptocurrency never left your wallet. That’s the solution that Thorchain and Blocknet bring to the cryptocurrency universe.

Instead of you going to Binance or Bittrex to swap or exchange your Leo token for Ethereum, the exchange, in the form of a mobile atomic swap mechanism comes to your blockchain, creates an access point containing a buyers Leo wallet and a buyers Ethereum wallet.

Now you as the seller have a Leo wallet, and you would need to connect your Ethereum wallet to this mobile atomic swap access point, and then a wallet to wallet swap is facilitated by the mobile atomic swap smart contract. Your Leo goes from your Leo wallet to the Buyers Leo wallet, and the Buyers Ethereum goes from their Ethereum wallet to your Ethereum wallet.

The exchange or swap of cryptocurrency tokens is Trustless” in that you don’t have to trust the other person, the smart contract looks at the trade you initiated as seller, confirms that the trade was accepted by the buyer, then the smart contract verifies that each of you have the appropriate wallets connected to the atomic swap access point and then swaps the tokens from your wallets. It moves your Leo from your wallet to the buyers LEO wallet. It then moves the buyers Ethereum from the buyers Ethereum wallet to your Ethereum wallet. You don’t give an exchange or trusted individual your tokens and trust them to do the right thing. You don’t sent your cryptocurrency to the buyers wallet and then trust them to send you their cryptocurrency. This requires no trust in the other party. The code swaps the tokens at the same time. It’s trustless.

Diversity of trading choices

The last issue I will discus is diversity of trading choices. If you have read this far, you probably understand or can guess at the solution to this problem. So we know it usually costs money to be listed on centralized exchanges, and your token needs to maintain a large trading volume, otherwise the exchange doesn’t make money and delists your coin. The issue with decentralized exchanges or DEXs is that you usually have to create an ERC Token and create a swap mechanism, a trusted partner and you need investment capitol to create liquidity. These require expertise and money, so it limits the number of coins traded on decentralized exchanges.

The projects Thorchain and Blocknet solve this issue the same way they solve the Liquidity issue, by creating trading or swapping access points on blockchains throughout the cryptocurrency universe. They don’t create diversity by collecting tokens in one location, they create diversity by going to multiple blockchains. As an example, Blocknet current is integrated with over 100 cryptocurrency blockchains. Thus atomic swaps brings one solution to the problem of diversity of tokens to swap on centralized or decentralized exchanges.

Summary

So we have discussed how #atomic-swaps or #distributed-atomic-swaps as I like to call them, as utilized by Thorchain and Blocknet have created solutions to the issues of centralization, liquidity, security and diversity of token choice. While the two projects operate in different ways, they have atomic swaps and distribution of trading access points in common. I think these projects have great potential to improve the strength, security and volume of trading and commerce in the cryptocurrency world by providing safer infrastructure for cryptocurrency financial commerce.

Final thought

This thought reminds me of perhaps the biggest legacy of the ancient Roman Empire, the roads they built. The Roman Empire connected all its conquered provinces by roads, and all roads led to Rome. The wars of conquest were terrible indeed, but the roads they built caused trading and commerce to flourish. These roads are thought to have been responsible for the Golden Age of Roman; characterized by huge increases in commerce and wealth throughout the Roman Empire. I think atomic swaps have the potential to usher in a similar golden age, and to me all roads will one day lead to atomic swaps.

@shortsegments

Title: Cryptocurrency Projects Thorchain and Blocknet: Understanding the significance of atomic swaps in the evolution of decentralized cryptocurrency exchanges

@shortsegments source

Posted Using LeoFinance Beta