WETH - Flash Mint | DeFi
Channel: Smart Contract Programmer
Date: 2021-06-25

Flash mint allows you to create tokens and at the end of the transaction they will be destroyed. This video explains how an arbitrage is done using flash mint. Also demo code with WETH10.

Flash mint basics 0:30
Arbitrage with flash loan 1:30
Arbitrage with flash mint 3:01
Code WETH10 5:15
Test 7:54
Demo on Ganache 8:08

https://github.com/t4sk/defi-by-example
https://blog.openzeppelin.com/flash-mintable-asset-backed-tokens/
https://github.com/WETH10/WETH10/blob/main/contracts/WETH10.sol

#DeFi #FlashMint #WETH #SmartContract #Solidity #Ethereum  #スマートコントラクト

Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Forum https://jiruto.com/SmartContractProgrammer/Smart-Contract-Programmer/discussion
Website: https://smartcontractprogrammer.com