Walli Finance invites you to witness the blockchain era together! Wali Finance is a leading blockchain information service provider in China. We pursue comprehensive, fast, professional and accurate information and data services, and provide a communication platform for blockchain innovators. We use community forums as a base, let information be a beacon, and gather trendsetters in blockchain technology and applications. At present, it has developed into an ecological platform that integrates information content, offline activities, training, incubators, and blockchain technology landing services. WaliWali Live Interview is an interview column under Wali Finance that talks with blockchain industry leaders about their cutting-edge ideas and trends, and has reached strategic cooperation with dozens of blockchain media platforms. Wali Community provides traffic support of 1 million community users for WaliWali Live Interview, which can bring better media publicity to the interview guests. The guest speaker invited in this episode of " Wal- ... Mercurity.Finance is an open, AMM-driven DeFi platform that provides infrastructure for DeFi. Mercurity Swap is an automated digital asset exchange and liquidity protocol, and is a sub-protocol of Mercurity Finance. Importing LP Tokens in Mercurity Swap into lending/insurance/synthetic asset protocols in the Mercurity Finance ecosystem will greatly increase the efficiency of LP's capital use. The theme of this live interview is: How do DeFi projects prevent flash loan attacks? The following is the interview transcript: (with some minor omissions without changing the original meaning) Host : Bitcoin has hit a new high. There is already a debate between bears and bulls in the market. What do you think about this as a cryptocurrency investor? Kevin: Ever since I entered this industry and learned about Bitcoin, I have firmly believed that Bitcoin's market value will continue to rise due to its unique value. Since Bitcoin got rid of the downward trend in mid-October this year, the price of Bitcoin has risen from $10,000 to $19,500, and it is close to breaking through $20,000 to create a new high. The characteristics of this round of bull market are very obvious, mainly because international mainstream financial institutions have begun to buy Bitcoin in large quantities, such as Grayscale, Paypal, etc., which has triggered a round of institutional bulls scrambling for funds. More than 11 listed companies in the United States have purchased Bitcoin. Apart from several familiar fund platforms and companies that are related to the cryptocurrency industry, MicroStrategy and Squre may be the biggest surprises in the Bitcoin trading market this year. On August 11 and September 15, MicroStrategy bought 38,250 bitcoins in two batches, spending a total of $425 million including handling fees. 2020 can be called the first year of institutional cryptocurrency. In addition, this rise is very different from the bull market in December 2017. Most of the BTC sold in this round have been put into cold storage and will never see the light of day again; at the same time, compared with three years ago, more buyers now have professional investment literacy, long-term vision and determination to hold positions. Then, as more and more institutions enter the field of cryptocurrency, the market value of the entire cryptocurrency market will inevitably continue to hit new highs. We can optimistically look forward to a round of crazy bull market in Bitcoin in 2021, when Bitcoin may rise to $50,000 or even $100,000. However, in the short term, Bitcoin's continuous sharp rise has led to a large number of profit-taking, and the consolidation at high levels has become slightly weak, and there may be a risk of a pullback in the next few weeks. Paying attention to short-term risks, investing in medium- and long-term currencies, and holding on firmly should be a better strategy at present. Host : Everyone is saying that Bitcoin is sucking blood , but the locked funds in the DeFi field have not dropped significantly. Why is that? Kevin: According to the latest data, the total locked volume of DeFi has reached 17 billion US dollars, which has continued to rise from 700 million US dollars at the beginning of the year to 17 billion today. Even after the popularity of DeFi mining has declined, it is still growing steadily. The blowout growth of DeFi ’s total TVL originated from the rise of projects such as YFI in July, and then accelerated in various DeFi mining projects in August and September. I think there are three reasons why TVL continues to grow steadily after the mining enthusiasm has declined: 1. DeFi truly solves the needs in the blockchain field. Among the current DeFi projects, the three types of projects with the most locked positions are lending, trading, and financial management. These three types of products meet the three real needs in the decentralized financial field, making a large amount of funds willing to stay in the corresponding products instead of moving from one place to another. 2. DeFi's application innovations are endless and have great potential. In the past three months, new DeFi protocols have continued to emerge, such as insurance, bonds, options, etc., which has led to more funds willing to try new things entering this field and introducing new traffic. Next, more financial concepts and gameplay in traditional fields will be " DeFi " ized to create more interesting products. 3. The long-tail effect of DeFi lock-up. In the early days of DeFi , a large number of users did not know how to use decentralized wallets and Dex, which hindered the growth of DeFi lock-up. With the progress of more users, DeFi has more and more increments, and the addition of fresh blood has further pushed up the lock-up volume. Host : Where is the next opportunity in the Defi field? Kevin: DeFi currently has multiple sub-sectors, including lending, trading, financial management, insurance, bonds, synthetic assets, options, etc. The first three categories are relatively mature, and there are already leading projects, such as Compound, AAVE, MakerDAO, Uniswap, Synthetix, YFI, etc. With the recent increase in security incidents, insurance is clearly a product that the market urgently needs. However, there are various problems with the current mainstream insurance projects. For example, Nexus Mutual requires community voting for compensation, and the votes are in the hands of a few large holders. Therefore, Nexus is actually a semi-centralized insurance, and many policies cannot be paid. Another possible opportunity is to introduce financial concepts from traditional fields into the blockchain field. For example, priority-subordinated bonds can effectively divide high-risk and low-risk users, bring richer application scenarios, and solve more complex problems. Host : Can you share with us how the code to wealth is generally found? Kevin: You can never earn more money than you know. Knowing determines how much wealth you have. This also applies to the field of cryptocurrency. Moreover, this field has two major characteristics: the technology and concepts are very new and the update speed is very fast. So if you want to make enough money in this field, you must continue to learn and keep tracking. For example, in this round of DeFi mining, many people failed to participate in it at the first time because they lacked learning in this area. In fact, I am also constantly learning. After learning about YFI from relevant communities and articles, I began to carefully study the relevant knowledge of DeFi and started to invest in related mining. At that time, there were also many high - quality potential currencies on Uniswap, which required more research to distinguish and participate. Including the previously popular Polkadot system and storage system, it is also necessary to reserve relevant knowledge to make investment reasonable. Therefore, pay attention to high-quality communities, keep up with industry development, and continue learning, and you will master the method to find the code to wealth. Host : Security issues frequently occur in the DeFi field. As a professional developer, how do you view security issues? Kevin: Security issues may be the biggest challenge that DeFi projects need to face. In April this year, the Lendf.me platform (part of the decentralized finance dForce project) was hacked and lost $25 million. dForce uses code copied from Compound, lacks the necessary review, has almost no security checks or audits, and has no emergency procedures designed for possible vulnerabilities in smart contracts. The hacker attack exposed the dForce team’s lack of a complete smart contract quality management and R&D system as well as a risk warning mechanism. How to control security risks? I think it mainly depends on three aspects: strict internal control of code quality, strict external code review, and code vulnerability rewards. First of all, the original coding and simulation testing within the project are the basis for ensuring security. Comprehensively writing test and migration scripts is a fast and effective means to ensure the security and quality of smart contracts. Improve code coverage, use Mainnet fork ganache for simulation testing, perform code reduction and continuous integration testing. Through the above measures, improve the quality of team code. Secondly, choosing a security audit company that is proficient in DeFi technology to help conduct security audits will help discover potential problems that may be overlooked during the coding stage. Finally, the power of the masses is huge. With the help of the community, we will launch a code vulnerability bounty program. Invite members of the white hat hacker community to reward them for the security vulnerabilities they find. This will help discover and resolve a large number of potential security vulnerabilities, thereby reducing the risk of hacker attacks. Host : As a core developer of Mercurity.Finance, can you introduce Mercurity to your fans? Kevin: Mercurity is an open and interconnected DeFi Platform. The Mercurity protocol is composed of several groups of sub-protocol matrices. Each group of sub-protocols is independent, pluggable, combinable, and coordinated with each other. Currently, it includes the following five sub-protocols: Mercurity Swap Protocol Mercurity Lend Protocol Mercurity Insurance Agreement Mercury Bond Protocol Mercury SyntheticsAsset Protocol On the one hand, Mercurity links DeFi's liquidity through on-chain smart routing to share liquidity and financial services. On the other hand, Mercurity upgrades each liquidity pool in DeFi to a programmable fund and community-izes each liquidity pool, allowing each liquidity pool to achieve community autonomy and make each liquidity pool a dynamic component of the Mercurity ecosystem. Mercurity promotes community power to realize innovative applications and promote new markets, fully empowers the community, mobilizes industry power, and will create unique value for users. Mercurity community mission: to make financial services accessible. If you are interested in the Mercurity Defi Matrix, you can follow our media: https://medium.com/mercurityfinance Host : How does Mercurity build an industry moat through NFT+DAO? Kevin: The homogeneity of current DeFi projects is very serious, and many users' funds are purely for profit. We don't hate this behavior, but we are still thinking about how to continuously empower users' assets. Here we use the NFT+DAO model to continuously empower users. We believe that the role of NFT is to introduce new assets. Compared with native blockchain assets, Mercurity can introduce various NFT assets, such as US Treasury bonds, gold, etc., to increase the asset categories of the Mercurity DeFi platform and solve users' actual asset needs in one stop. DAO is another killer feature of Mercurity. DeFi decentralized finance is about fairness and openness. Code is law. Therefore, our project governance is a matter that reflects the level of the project. We actively encourage Mee token holders to participate in community governance and jointly develop the Mee community ecosystem. In actual work, we also found that many users’ suggestions are very professional and sincere. For similar cooperation strategies and rate strategies, we at Mercurity are also willing to work with users to improve the entire Mercurity ecosystem. Host : The recent Cheese security incident is similar to Mercurity. How do you prevent these problems? Kevin: In order to discuss this issue, we must first understand how the "scientists" used flash loans to attack Cheese Bank. First, the attacker first borrowed 21,000 ETH through a dYdX flash loan, and then exchanged 50 WETH for 107,000 CHEESE (Cheese Bank token) in UniswapV2. At this time, the unit price of CHEESE was 0.00047 ETH/coin, and the attacker had 20,950 ETH remaining; Next, the attacker pledged 107,000 CHEESE and 78 ETH in UniswapV2 to provide trading liquidity, and obtained the UNI_V2 LP certificate automatically generated on UniswapV2. The UNI_V2 LP certificate is the only pledge certificate for liquidity providers (LPs) to provide liquidity on UniswapV2 and withdraw corresponding assets. At this time, the attacker has 20,871 ETH left; the attacker further converts the obtained collateral UNI_V2 LP certificate into sUSD_V2 certificate, which is conducive to the attacker using UNI_V2 LP certificate as collateral to lend stablecoins on Cheese Bank; then, the attacker converts 20,000 ETH into 288,000 CHEESE in UniswapV2, which will affect the balance of the CHEESE pool on UniswapV2, thereby raising the price of CHEESE. At this time, the unit price of CHEESE is 0.069 ETH/coin (145 times higher than the previous price of 0.00047 ETH/coin), and the attacker has 871 ETH left (including transaction fees). The increase in the unit price of CHEESE can effectively increase the value of UNI_V2 LP mortgaged in Cheese Bank, helping the attacker to increase the amount of crypto assets borrowed in Cheese Bank. It is worth noting that Cheese Bank measures the price of the corresponding UNI_V2 LP certificate by the amount of WETH in the liquidity pool UNI_V2-CHEESE-ETH. The attacker can effectively lend more USDC, USDT, and DAI by raising the price of UNI_V2 LP certificates. Finally, the attacker converted 288,000 CHEESE into 19,980 ETH (including handling fees) on Uniswap V2. To make up for the 21,000 ETH borrowed, he converted 58,000 USDC into 132 ETH, and returned the remaining 871 ETH (including transaction fees) to the dYdX flash loan, as if nothing had happened. In general, the attacker manipulated the price of UNI_V2 LP certificates by resetting the price feed oracle. For Mercurity, in order to avoid similar problems, we will take multiple measures. 1. Only lending products for mainstream currencies will be launched. Minor currencies will not be supported. 2. The oracle uses the weighted average price of Dex and Cex, which will eliminate abnormal prices and make it difficult for attackers to control the currency price. 3. Issue alarms for large transactions to promptly identify and fill loopholes. Host : Flash loans have been very popular recently. What do you think of flash loans? Kevin: Recently, there have been a number of attacks caused by flash loans, such as the Origin Protocol stablecoin OUSD, which was exposed to flash loan attacks. Projects such as Harvest Finance, Akropolis, Value DeFi and Cheese Bank were also attacked by flash loans, among which the Value DeFi project lost $5.4 million, the Cheese Bank project lost $3.3 million, the Akropolis project lost $2 million, and OUSD lost $7 million. Flash loans are an application of the DeFi ecosystem. We know that DeFi has many advantages, but it also has structural flaws. DeFi requires over-collateralization, which means that the utilization rate of funds is very low. "Flash loans" allow borrowers to borrow without collateralizing assets, thereby greatly improving the utilization rate of funds. Flash loans are loans that are borrowed and repaid in one on-chain transaction, i.e., one block, without collateral. The function of flash loans is to ensure that users can borrow and repay without collateral, i.e., if the funds are not returned, the transaction will be restored, i.e., all previously executed operations will be undone, thus ensuring the security of the agreement and funds. Since an on-chain transaction can include multiple operations, developers can add other on-chain operations between borrowing and repayment, which gives such lending a lot more room for imagination, but also poses a huge security risk. Many users maliciously use flash loans to borrow, exchange, deposit, and re-borrow large amounts of tokens, artificially manipulating token prices in DEX. This has led to the common flash loan attacks. Flash loan attacks have occurred frequently since the bZx attack, but flash loan attacks are not the real systemic root risk in the DeFi ecosystem. The root cause lies in Oracle attacks, and flash loan attacks are often just attacks on Oracle. Oracle is the middleware that connects on-chain DeFi applications and off-chain data. Due to the use of a decentralized Oracle network, there are differences in trading volume and liquidity in multiple exchanges, which increases the risk of Oracle attacks. In fact, many flash loan attacks do not involve any blockchain or smart contract security vulnerabilities, which makes it difficult to avoid flash loan attacks, and there is not much time left for projects to react when attacks occur. The premise for many flash loan arbitrage events is simply because there is a price difference in different DEXs. So, if you want to prevent flash loans, you need to take the right remedy. There are several ways you can try: First, from the perspective of controlling price differences, establishing a price synchronization mechanism between different exchanges or using the same price oracle can reduce the probability of arbitrage events. Second, from the perspective of smart contracts that execute arbitrage events, taking additional verification steps for transactions involving a large number of transactions or increasing the transaction fees for such transactions will reduce the occurrence of arbitrage events. Third, only mainstream currencies and currencies with good depth are supported, which increases the difficulty of flash loan operation prices. Host : What do you think about the development of DeFi and flash loans in the next five years? Kevin: DeFi can be regarded as the third major breakthrough in the history of blockchain applications. The first breakthrough was Bitcoin, which completed the value transfer without the participation of a third party through the clever use of cryptography, consensus mechanism, peer-to-peer network, incentive mechanism, etc. From the current perspective, it has basically achieved the initial stage of value storage and transfer, and is the most dazzling and successful first breakthrough. The second breakthrough is Ethereum, which added the function of smart contracts by adding the virtual machine EVM, making cryptocurrency not only capable of value storage and transfer, but also programmable application functions, creating richer application scenarios and possibilities. DeFi can be regarded as the third breakthrough. Although it still has various problems, it has already taken shape and has the potential to grow. In the next five years, Defi will be a large testing ground for traditional finance. By migrating various financial concepts to Defi, we will create an increasingly rich and comprehensive financial system, giving full play to Defi's characteristics of lower cost, anti-censorship, and composability. In the industry, there will be more hot products and more leading projects, which will be gradually applied to everyone's daily life. Going beyond the circle and moving from Defi to traditional financial application scenarios may be the mission in the next five years. So looking into the future, the two market forces of traditional finance and DeFi will learn from and merge with each other, and the development and growth of DeFi will be a major historical mission. As for flash loans, I have already mentioned it in previous questions. This is a thing that people both love and hate. While it improves the utilization rate of funds, it also brings huge security risks. I believe that the future development of flash loans will be more robust and increase security mechanisms, and increase the conditions for users to use flash loans. This will greatly reduce the security risks of flash loans and play its role in improving capital utilization. Host: Thank you Mercurity and Kevin for participating in and supporting this episode of Walli Finance live interview! Finally, I would like to thank all the strategic media partners for their strong support for this live interview with Wall-E Finance (in no particular order): Golden Finance, Coin World , Mars Finance, Block Technology, PANews, Gyro Finance, coinvoice, Chain Node, World Chain Finance, Ostrich Blockchain, Blocklike, Lieyun Finance, Chain Circle, TokenClub, Interstellar Vision, Coin Xiaobai, DAPPX, Evangelism Finance, Mustard Circle, Milin Finance, Zero Degree Finance, SOSOB, Chain Finance, Bo Chain Finance, Ant Chain Finance, Macro Chain Finance, Crypto Valley, Chain Digital Technology, Beibo, Hot Chain Global Information, Fast Chain Headlines, Digging Coins, Zhongben Finance, Chain Zhuge Finance, 41 Finance, Changqing Finance, First Stop Finance, Duomi Finance, Mai Yao Bang, Starfish Block, Miyou Finance, Golden Fruit, Zhongyue Finance, 3 Points Finance, Star Media, and Chain Group Finance The strong support of Jing, Maitian Finance, BTC123, Lianhu Finance, BiMaWen, Yunhe Finance, BiYongbao, Lian'an Finance, Curvature Zone, Anypay, BiNiuniu, Coordinate Information, Shililang Finance, Ear Finance, Aituopu, CoinON, Distinction, Currency Finance, Magnetic Chain Finance, Labajun, Lianbao, BiTang International, Crypto Finance, Bit Finance Network, Blockchain Bus, GoodBP, Guapi said, Chain Home, Addiction, FN.com, Daxia Blockchain, Land-based Study Society, Godfather Finance, Beta Club, Chain Game Players, New Finance, Mo Ke Headlines, Bull Market Business School, Block Dragon Gate Array, Chain Investment Finance, Sound of the Waves, Liandu.com, Beishu Blockchain, Feiyun said, Fulcrum Interview, Yideng Community, Lanben Finance, Wansha Information, Chain Talk, Black Hole Blockchain, Mo Engine, Coin Circle Hua Ge, Lianniu Finance, Hubox, and Fenglin Finance! We would also like to thank Qun TV and Beep for providing technical support for this live interview! |
<<: Grayscale succeeded in its holiday air raid, but is there another reason behind the waterfall?
As one of the traditional physiognomy techniques, ...
Face analysis: Chin that indicates success in bot...
Look at your face to see if your career is blocke...
Bitcoin’s recent volatility has caused severe tec...
Triangle lines are triangular lines that appear o...
Appearance reflects the heart. Some people can be ...
It is very normal for everyone to have some moles...
Dogecoin (DOGE) has seen a sharp rise in its mark...
By Jack Chervinsky, Legal Director at Compound Tr...
The total cryptocurrency market capitalization so...
Man with round chin If a man has a round and wide...
Potential shopaholic Shopping is something that m...
The core factor that determines the market is cap...
Filecoin was once claimed that everyone could min...
1. People with tall and plump noses are more like...