Algofi
Search
⌃K

Flash Loans

Flash loan feature on the Algofi DEX.
Flash loans are a way for users to get instant leverage on the Algofi DEX. Functionally, a flash loan is a group transaction that fronts a payment to the user.
This works as follows - a user constructs a group transaction wherein the first transaction borrows up to 10% of assets from a specified pool on the Algofi DEX. The user then embeds desired transactions within the group, e.g. a sequence of trades on the Algofi DEX. Finally, the last transaction of the constructed group must repay the loan from the first transaction, with interest.
This source of capital allows for much greater market efficiency, as traders have near unrestricted access to funds for arbitrage. Moreover, these flash loans can be deployed across the Algorand ecosystem as the source of trading opportunities grows.
There is currently no support for flash loans in the Algofi UI - the feature primarily exists for algorithmic programmers. Developers can find more information on how to implement a flash loan by visiting https://github.com/Algofiorg/algofi-amm-py-sdk.