Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example p2p flashloan contract #363

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Example p2p flashloan contract #363

wants to merge 2 commits into from

Conversation

nielstron
Copy link
Contributor

@nielstron nielstron commented Apr 3, 2024

Contrary to popular belief [1-3] flashloans are possible on Cardano (and actually great for arbitrage). Moreover flashloan contracts do not have to be very complex, thanks to the Cardano EUTxO model. This code provides an implementation for peer-2-peer flashloans with user defined flashloan fees.

[1] https://www.essentialcardano.io/glossary/flash-loan
[2] https://medium.com/@khajepour.amirhossein/the-curse-of-flash-loan-in-cardano-62969dd0ea88
[3] https://cexplorer.io/article/why-are-there-no-flash-loan-attacks-on-cardano

@nielstron nielstron changed the title Add an example flashloan contract Example p2p flashloan contract Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant