Decentralized exchange public chain
the first step is to register (open an account) and set the password. The second step is user authentication (KYC). The third step is to recharge. Here comes the key. The third step is the most important. Because you need to charge money to your address in the exchange before you can trade money in the exchange. The address of the exchange is actually a wallet address, but the ownership of the wallet is not the user, but the exchange, that is to say, the private key of the address, you don't have it!!! Do you understand the meaning
well, after recharging, the transaction is finished. The user submits the instruction (hanging order) to the server, and then the exchange will be responsible for matching the transaction, which is exactly the same as the stock. The last is cash withdrawal (withdrawal of currency). Users can send instructions to transfer the currency from the exchange address to their wallet address. The above is the trading mechanism of the centralized exchange. In these steps, all actions will have costs. No matter you recharge, trade or withdraw money, gas and handling charges can't escape
then let's look at the decentralized exchange. The trading mechanism is different from the centralized exchange. The first step is to register (open an account) and set the password. It doesn't make any difference. But then it's a little different. KYC is not used. But because there is a private key, the ownership of this address is completely controlled by the user. The second step is recharging. This is not very different from the centralized exchange. You still have to make your own gas
after recharging, we can also trade in the decentralized exchange. Users can also register orders, and exchanges will also be responsible for matching transactions, but the matching is done by smart contracts. Finally, cash withdrawal (withdrawal of currency) is initiated. After withdrawing currency, users can directly transfer the currency from the address of the exchange to their wallet address. This step is the same as that of the centralized exchange
the above is the trading mechanism of centralized and decentralized exchanges, and the difference between them is also obvious. Because all currencies in the central exchange are under its control, the trading efficiency is very high, and it is similar to the stock trading process, convenient and suitable for most users. Conversely, the risk lies in this. If the exchange itself loses its integrity or is attacked by hackers, the user's capital (currency) is not guaranteed
all the transaction processes of decentralized exchanges are completed by smart contracts, so the transaction efficiency is relatively low (TPS of blockchain technology has always been a soft rib), but relatively, the capital (currency) is completely in the hands of users, so the security is relatively high. In addition, there are also KYC, where KYC is needed for centralization, but not for decentralization, and the security of personal information is relatively high. Compared with the decentralized exchange, the advantages of the centralized exchange lie in the trading depth and the number of users, which are unmatched by the decentralized exchange
therefore, centralization and decentralization have their own advantages and disadvantages. It depends on the user's own choice. They like convenient, centralized, secure and decentralized.
we all know that one of the biggest characteristics of digital currency is decentralization. However, 90% of the exchanges in the market are under centralized management. Users need to transfer funds to the large account of the exchange, verify their identity information, and do not link currency transactions. Moreover, all information needs to be stored in the offline database of the exchange, All these seem to violate the decentralized spirit and centralized mode of blockchain, which makes users in a weak position, passively accept the "management" of the exchange, and also bear the risk of privacy leakage, hacker attack, exchange bankruptcy or running away
therefore, the emergence of decentralized exchanges has become an inevitable trend. Decentralized exchanges are also called DEX
currently, whaleex, newdex and gatechain DEX are the most representative decentralized transactions. In fact, it is a mode of wallet and wallet trading. Compared with the centralized exchange, it has obvious advantages. For example, all operations are carried out on the chain. It is publicly accessible and does not need to be registered. Anonymous trading and privacy are guaranteed. Users' assets are stored in a distributed way. They have 100% of the management rights of assets and have high security
however, although decentralized exchanges have obvious advantages, they are still not widely available in the market. Decentralized exchange is not a very mature mode, and there are still some problems, such as slow trading speed, poor liquidity, key loss, forgotten password and unable to retrieve account assets. Therefore, it needs to be further improved. However, it is undeniable that decentralized trading must be the mainstream mode of exchanges in the future.
secondly, the biggest value of the decentralized exchange is that users have absolute control over their own assets, and all transaction data and records will be linked through the blockchain smart contract, so as to ensure the openness and transparency of transactions and greatly rece the trust cost of users to the exchange
thirdly, it is very difficult for hackers to steal user assets unless they can get each user's private key. Even if the exchange's private key is leaked, the user's assets cannot be transferred without the user's private key, so it is very safe. With decentralized exchanges, you no longer have to worry about the risk of losing or stealing money
for this reason, with the graal maturity of the underlying technology of blockchain, decentralized exchange has great development potential, which is the trend in the future.
Blockchain includes public blockchain, joint (instry) blockchain and private blockchain. Public chain point-to-point e-cash system: bitcoin, smart contract and decentralized application platform: Ethereum
blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies
blockchain is an important concept of bitcoin. In essence, it is a decentralized database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains a batch of bitcoin network transaction information, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
extended data
according to the different degree of blockchain network centralization, three kinds of blockchains under different application scenarios are differentiated:
1. The blockchain with the whole network open and without user authorization mechanism is called public chain
2. The authorized nodes are allowed to join the network, and the information can be viewed according to the authority. It is often used in the inter agency blockchain, which is called alliance chain or instry chain
3. All the nodes in the network are in the hands of one organization, which is called private chain
alliance chain and private chain are also called licensing chain, and public chain is called non licensing chain
blockchain features
1, decentralization. Blockchain technology does not rely on additional third-party management institutions or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes information self verification, transmission and management through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain
2. Openness. Blockchain technology is based on open source. In addition to the private information of all parties involved in the transaction is encrypted, the data of blockchain is open to everyone. Anyone can query blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
3. Independence. Based on consensus specifications and Protocols (similar to various mathematical algorithms such as hash algorithm used by bitcoin), the whole blockchain system does not rely on other third parties, and all nodes can automatically and safely verify and exchange data in the system without any human intervention
4. Safety. As long as 51% of all data nodes cannot be controlled, the network data cannot be arbitrarily manipulated and modified, which makes the blockchain itself relatively safe and avoids subjective and artificial data changes
5. Anonymity. Unless there are legal requirements, technically speaking, the identity information of each block node does not need to be disclosed or verified, and the information can be transferred anonymously
x protocol: a point-to-point open protocol running on Ethereum. The protocol aims to become a general open standard, as a basic mole that can be combined with other protocols to drive more and more complex blockchain applications. However, Ethereum is famous for its congestion, so its current situation is not very good
loopring
Road printing protocol: decentralized transaction protocol of class X. The on chain smart contract is responsible for asset custody, matching and transaction, and the off chain smart contract is responsible for order matching. It has an on chain trading loop matching technology, which encourages the exchange to match the transaction path with the maximum discount, so as to save transaction costs for users and make the exchange profitable at the same time. But on the other hand, it also increases the complexity of smart contract and the execution cost of Ethereum transaction, and the effect in practical application remains to be seen
there are also kyber, idex, bitstocks, etc. decentralized exchanges are the trend in the future, so there are still quite a few in the market. But comparatively speaking, I still think whaleex is the most reliable.
since 2013, many decentralized trading platforms have emerged. Different from the centralized trading platform, the decentralized trading platform does not need to register an account, and can participate in the transaction by using the personal digital asset account
secondly, every transaction of the decentralized trading platform is carried out through the blockchain, and it needs to wait for the confirmation of the blockchain before the transaction is successful. At the same time, the decentralized trading platform is not responsible for keeping users' assets and private key information. On the one hand, it avoids the moral hazard of the trading platform, on the other hand, it requires you to keep your private key well
e to the low liquidity and slow transaction processing of decentralized trading platforms, the total transaction volume only accounts for 0.03% of the global total transaction volume of digital assets. At present, the tokens of airswap, kyber, 0x and omisego can be traded on huobi.pro.
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
