You can get Dai flash loans from @yield!

As cheap as 2.5 bps and 600K gas!

Let's flash!
Yield has free flash minting of fyDai, and very low fees for fyDai/Dai trades that are close to maturity. You can combine those for cheap Dai flash loans.

And you can do so just by using this npm package ⚡️
npmjs.com/package/fydai-…
To use it you code a contract that inherits from it, deploy, and start flash borrowing. 💸

I deployed a dummy flash borrower in Kovan, that you can use yourself to practice. The fees are paid by the contract, so pump it with some Kovan Dai first!

kovan.etherscan.io/address/0xDd6b…
Check this tx, I paid 0.25 Dai on 1000 Dai which is 2.5 bps.

kovan.etherscan.io/tx/0x2bbab0f04…

Fees change with time to maturity and loan-to-reserves ratio, so you can get them even cheaper in prod.

Have fun, test it out, and if you do this in mainnet, be safe. Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Alberto Cuesta Cañada

Alberto Cuesta Cañada Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!