5 ms·
Flash Loans Are Providing Instant Cash to Crypto Speculators
- bondarchuk 6y agoIt gets even funnier when you consider that miners may reorder transactions they include in a block as they see fit, and even add their own transactions to front-run others. https://arxiv.org/abs/1904.05234 https://arxiv.org/abs/1904.05234
- optimiz3 6y agoWhat is the objection? Fees are designed to entice miners to include a transaction. If a fee is too low, the miner will include transactions with better incentives. Recording transactions has real economic cost (mining and permanent storage on the distributed ledger).
- bondarchuk 6y agoI don't have any objection, I just think it's funny.
- DennisP 6y agoEssentially the same thing happens when you trade stocks on Robinhood.
- spurdoman77 6y agoNo, definitely not.
- DennisP 6y agoI was about to reply that the "front-running" has been widely reported, decided I'd better google a source, and came across a fantastic article about how payment-for-order-flow actually works. You're right, it's not front-running, and it gives retail traders a better price than they would have gotten on the market itself. https://www.bloomberg.com/opinion/articles/2021-02-05/robinhood-gamestop-saga-pressures-payment-for-order-flow https://www.bloomberg.com/opinion/articles/2021-02-05/robinh...
- exo762 6y agoRecently miners started exploiting this possibility for profit. This is a problem in many ways, and this problem is hard to solve. Possible solution involves splitting miner role into two - one group will do sequencing (without knowing much about txes contents), other will do application of txes to the state managed by the chain. There are more radical ways of solving the problem - for instance one can hide all the execution from miners. One example would be ZEXE: https://par.nsf.gov/servlets/purl/10175111 https://par.nsf.gov/servlets/purl/10175111
- u678u 6y agoCrypto was great at feeling superior than the financial world when BTC was simple and pure. Now we have earning interest, rehypothetication, DeFi and a whole lot of weird stuff that no one understands. Plus its still useless for actually buying things.
- vmception 6y agoMost of the issues with complex financial products leading to the 2008 Global Financial Crisis was the lack of pricing and provenance. People did not know who owns what, what the underlying assets were, and what the prices were. In a system where all states are visible and the prior states unchangeable, these cease to be issues, allowing for many of those complex products to exist very easily, which is exactly what is happening and has happened. If you don't trust that, there is also smart contract insurance you can buy for when smart contracts and oracles create results outside the bounds of the community understanding. This doesn't mean there won't be problems, an insurance smart contract recently got hacked, it is prudent to recognize that the solutions are presented and the market is choosing those solutions. You should be in the place to laugh about it and know what specific issue occurred and know how you can improve that, as opposed to simply waiting for me to finish so you can play devil's advocate on a mere concept of "crypto" because you might be stuck in the wrong decade since we're way past that. I'm okay with the rapid iteration towards stronger more robust systems. The permissionless nature is driving that rapid iteration. Unlike the outsiders in "The Big Short", you don't even need an ISDA Master Agreement to trade these esoteric products. And the flash loan market is very similar to the Federal Reserve's overnight repo market, you don't have to be a big bank. In the repo market, the Fed creates and destroys hundreds of billions of dollars for minute long trades on request, allowing banks to complete deals without needing the cash themselves. This is very onbrand to what "crypto" aspired to do, lower barriers of entry. The permissionless nature is specifically that it doesn't require your opinion or any gatekeeper in order to offer something to the market.
- exo762 6y agoThere is also an issue of complexity hiding the risk. I'm not convinced that DiFi solves this problem.
- ISL 6y agoWhat do flash loans do that normal leverage doesn't? Am I correct in wondering whether this allows the unskilled or unlucky trader to ruin themselves a little more quickly?
- bondarchuk 6y agoIf the transaction doesn't immediately (within the same block) result in enough profit to pay back the loan with interest, the loan is canceled altogether, i.e. basically it doesn't even happen. Then you only pay some gas fees for executing the smart contracts up to that point (which can be a few hundred bucks nowadays, I must say).
- exo762 6y agoMore than that. You can actually simulate your execution locally. So you should know if there is a possibility of making a profit even before you send the tx.
- jonmaim 6y agoFlash loans have to be repaid in the same block/transaction.
- vmception 6y agoWhat tools do you have for flash loans? I've been researching flash loans for a whole year and its still clear to me that some market participants have a better way of analyzing all markets (the contract state of smart contracts hosting markets) than I do. I feel like they also image the current state of the network and execute variations on Ganache/localhost before sending it on the live network. Furucombo is the only thing I'm aware of that only partially helps in the structuring of flash loans, but even then using their contract is too expensive. Over the past year I've built oracles and deployed fleets of complex smart contracts, learning about many areas of improvement in smart contract land and seeing a lot of vulnerabilities in other team's contracts, but as far as actually doing anything with that I'm still very far off.
- feelix 6y agoI'm far from an expert on this, you probably know better than I do, but wouldn't forking the blockchain at the block height you're interested in with Ganache and execute it there be enough? or is the issue the transaction queue?
- vmception 6y agoyes and that is very resource intensive as you have to do it rapidly and continually you still need to know what markets and contracts you are targeting and with that variables
- feelix 6y agoI'm curious about exploring this myself, would you mind explaining in more detail what is lacking after forking the main net with ganache? Is it that you need a high powered server to fork it continuously, and that smart contracts tend to cost a lot to execute, or is there more to it than that? I don't understand what contracts and variables that you're targeting won't be included with the solution we're discussing
- vmception 6y ago
- xiphias2 6y agoFlash loan is just money that an Ethereum contract gives to a contract given in a callback function and expects the money back inside the same transaction with an interest. It's the first loan with no counterparty risk. While I'm not a fan of how the Ethereum project and ETH token is managed, Solidity programming language brought real financancial innovations in trustless contracts.
- exo762 6y ago> While I'm not a fan of how the Ethereum project and ETH token is managed There is a real possibility of BTC finding home on Ethereum network in future. Recent advancements in cryptography make building of fully trust-less bridge between two possible, without requiring any changes on Bitcoin side. So possibility will be there. As for the need - there is no indication of Bitcoin moving towards solving time-bandit attacks. They will become a real issue once block reward falls. I'm skeptical that Bitcoin as a project is even capable of solving this problem. It would require additional emission of BTC, and "21M BTC meme" is way too strong.
- xiphias2 6y agoSure, we can talk about this in 100 years when BTC emission stops. Right now I prefer staying in BTC, but I think that the 2 big networks will grow together. The real enemy is the closed fractional reserve banking system, I think practucally any open source cryptocurrency is better than that.
- ac29 6y ago> Sure, we can talk about this in 100 years when BTC emission stops. ~89% of bitcoin have already been issued. Yes, they will continue to be emitted for a long time, but at a rate that is rapidly approaching inconsequential.
- xiphias2 6y agoIt’s funny that it’s too small for you, while others complain that it uses too much energy. I guess it can’t please everyone, but for me it’s perfect how it is right now.
- devops000 6y agoThe Ethereum gas fee is insane
- hanniabu 6y agoMajor platforms (like Uniswap) will be migrating to L2 in a month which should go a long way to reduce fees.
- dQw4w9WgXcQ 6y agoIs there any reason why Uniswap would use something like Ethereum over Algorand (for example)? The latter seems to offer very low tx fees and much higher tx rates, is it a matter of smart contract code etc?
- exo762 6y ago> The latter seems to offer very low tx fees and much higher tx rates, is it a matter of smart contract code etc? Chains are of two types. Cheap and unused is one, expensive and used is the other. For Ethereum current limits on the size of the block (and thus tx fees and tx rates) are set because of lack of solution for fast state size growth. Algorand and every other "ethereum killers" also don't offer solutions for this problem - they don't have it because nobody is using them. Ethereum has few candidate solutions on the table. The major one is "stateless client" - solution where tx will would contain commitments for every bit of state which is read or modified. Basically paying with bandwidth to decrease the size of actively managed state.
- phyalow 6y agoDo you have a source for this? Hayden Adams on twitter was only yesterday lambasting people for making predictions like this.
- RhodoGSA 6y agoNot for UniSwap but Polkabridge is coming in Q2
- haspoken 6y agohttp://archive.is/qtOLK http://archive.is/qtOLK
- RhodoGSA 6y agoDoes anyone have a good book, or resource to actually understand this stuff? Seems like the information is spread across many different projects and every book i buy focuses on blockchain development.
- partingshots 6y agoWhy is Bloomberg always so behind? This was news months ago.