Chapter 11

Flash Loans

Flash loans are one of the clearest examples of how programmable money differs from traditional finance. You can borrow large amounts with no upfront collateral if the full operation finishes safely inside one transaction.

That sounds impossible until you remember that blockchains execute transactions atomically. Either every step succeeds together, or the chain rolls the whole thing back as if it never happened.

This feature is powerful because it removes capital constraints for sophisticated actions. Traders and protocols can rebalance positions, liquidate risk, or migrate collateral without holding the full amount beforehand.

Flash loans are neutral tools, though. The same atomic flexibility that enables efficiency can also amplify attacks when a protocol has weak pricing, accounting, or oracle assumptions.