Mô tả

Learn how to reduce your risk in trading on the Ethereum and Binance Smart Chain blockchain networks by using Flash Loans via the Flash Swaps functions on the Uniswap and PancakeSwap Smart Contracts. In this course, we will cover all aspects of being able to borrow capital via the mechanism of a Flash Loan - which can only be done on the blockchain. Nothing like this exists outside of the blockchain. With this mechanism, if as long as the amount is paid back within the same transaction, you keep your arbitrage gains. If not, it's as though the transaction never happened and you're only left covering the gas fees.


We go deep into how to program and deploy a smart contract, but even more importantly, how to read, write and interact with Smart Contracts on the blockchain with Ethers JS. Hardhat is also used extensively for testing and deploying our own Smart Contracts too.


If you love Python, we have you covered too. There is a whole module just on how to interact with Smart Contracts where Shaun trades live to show the theory working in practice too.


If you have been trying to figure out Flash Loans or Flash Swaps and just can't find the code, or simply need help understanding it, then this is the course for you. We will go through each line of code and explain what it does. In this course you learn the principles, so that you can apply these in your own way to your own strategy.


Now if you are a complete beginner to programming, this is probably not the course for you. That said, we do have a crash course on Solidity and in the Appendix - Python and Javascript too.


For traders looking to improve their programming skills, you will likely love this. For programmers looking to learn some trading techniques, you will love this.


See you in class!

Bạn sẽ học được gì

Build your own Flash Loan (Flash Swap) Smart Contracts for arbitrage across multiple exchanges

Perform a triangular arbitrage Flash Loan (FlashSwap) transaction on Pancakeswap

Write and test a Flash Loan Smart Contract with HardHat

Build a trading algorithm which can read data and transact a swap in Python

Read and Write data to the Ethereum and Binance Smart Chain blockchains

Send and check transactions via Web3

Understand how to use Ethers JS for interacting with Smart Contracts

Calculate Gas used on transactions

Deploy Smart Contracts to the Ethereum blockchain

Yêu cầu

  • Basic understanding of programming, in particular with Python and/or Javascript
  • Knowledge of cryptocurrency and DeFi exchanges such as Uniswap and PancakeSwap
  • Basic knowledge of Arbitrage (preferably completed the Triangular Arbitrage course)

Nội dung khoá học

15 sections

Introduction

6 lectures
Introduction and Who This is For
08:23
Why Share This Information
07:53
Why Use Flash Loans for Arbitrage Trading
09:37
Required Programming Experience
06:38
How We Will Succeed
05:31
Our Plan of Attack
08:42

IMPORTANT - Resources

2 lectures
Resources Are Attached Here
00:03
NEW: Triangular Arbitrage Codebase
00:21

Intuition

3 lectures
What is Arbitrage and Triangular Arbitrage
06:08
Flash Swaps/Loans and Arbitrage
09:02
Arbitrage and Flash Loan Quiz
2 questions

Getting Set Up

9 lectures
About Programming Languages
08:05
Working with The Command Line
04:07
Visual Studio Code Configuration
01:50
PyCharm Configuration
03:25
Python and Anaconda Configuration
05:37
Node Configuration
02:05
Working with Remix
04:10
MetaMask Configuration
06:59
Binance Wallet and Live Trading
05:04

Solidity Mini Crash Course

12 lectures
Introduction
01:57
How Crypto and Flash Loans Work
16:08
Solidity Crash Course Part I - Variables, Types and Scope
11:01
Solidity Crash Course Part II - Datetime and Structs
05:47
Solidity Crash Course Part III - Mappings and Enums
04:15
Solidity Crash Course Part IV- About Functions
09:30
Solidity Crash Course Part V - More on Functions
07:01
Solidity Crash Course Part VI - String Comparison and For Loop
08:38
Solidity Crash Course Part VII - Functions and Mapping
09:07
Solidity Crash Course Part VIII - Inheritance
07:59
Deploying and Interacting with Smart Contracts
12:35
Solidity Next Steps and Recommendations
03:34

NEW: Code and Installation Updates

1 lectures
How to Install EXACT packages from Resources (With Latest Code Example)
09:59

Reading Data - PancakeSwap V2

7 lectures
Initialising Pancake Project
02:25
Installing Ethers JS
03:58
Getting Contract Addresses
05:03
Setting Up ABI Variables
17:45
Connecting to Our First Smart Contract
09:36
Interacting With a Contract
08:24
Reading Price Information From PancakeSwap
11:25

Reading Data - Uniswap V2

3 lectures
Creating Our Uniswap V2 Project
05:42
Connecting to Ethereum Mainnet
03:50
Getting WETH to SUSHI Price
02:40

Reading Data - Uniswap V3

5 lectures
Project Setup and Uniswap V3 Documentation
07:10
Connecting to the Quoter Contract
06:40
Fetching USDC to WETH Price
10:30
Getting Immutable Fee with Documentation
08:46
Fetching Pool Addresses Example
09:49

Sending a Transaction

5 lectures
Introduction and MetaMask Setup
02:27
Provider and Signer Setup
08:17
Building Our Transaction
10:44
Sending Our Transaction
03:56
Next Steps
03:41

Hardhat and Token Swap

12 lectures
Hardhat Introduction
04:44
Hardhat Installation
05:42
Hardhat Project Folder Overview
05:11
What is Test Driven Development (TDD) and Why We Are Using It
05:49
Getting Familiar With Test Driven Development
07:38
Connecting to Our Contract Addresses
15:04
Writing Our Connection Tests
03:18
Getting Amounts Out
06:46
Connecting to Mainnet Fork and Getting Wallet Details for Signing Transactions
07:20
Building Our Swap Transaction
09:05
Reviewing Our Transaction and Receipt
05:42
Next Steps
02:59

Python Execution - Reading and Writing to the Blockchain

9 lectures
Case Study Introduction
05:46
Connecting to Contracts via Web3
15:27
Understanding the Predictions Smart Contract
07:10
Getting Round Information
11:19
Calculating Ratios and Mining Data
11:15
Analysing Round Data
06:08
Writing our Send TX Function
11:51
Sending our Trade to Mainnet
12:12
Next Steps
03:34

Flash Loan - PancakeSwap V2 Triangular Arbitrage

19 lectures
Plan of Attack
03:23
How PancakeSwap Flash Swaps Work
03:10
Configuring Hardhat
14:19
Testing Hardhat Changes are Working
11:22
About Interfaces and Libraries
08:50
State Variables and Basic Functions
14:28
Start Arbitrage Function Calling Flash Loan
11:51
Paying Back Our Loan
08:26
Structuring Javascript Variables
09:24
Funding Our Smart Contract In Before Each
10:22
Checking Smart Contract is Funded
04:09
Testing Our Loan and Payback Is Working
10:29
Writing Our Trading Function
10:05
Placing Our First Trade
08:40
Completing Our Arbitrage Trade
10:55
Encoding Your Address
04:11
Paying Ourselves the Profit and Cleaning Up
03:02
Deployment Dummy Run
03:36
Congratulations and Next Steps
05:19

Flash Loan - Uniswap V2 Cross Exchange Arbitrage

10 lectures
Create Your Project Baseline Challenge
02:33
Checking Your Project Baseline
02:50
Updating Hardhat Config
02:48
Updating Our Smart Contract for Uniswap
10:56
Finishing Our Place Trade Code
03:22
Updating Test Code and Compiling
06:34
Testing Our Smart Contract
05:42
Checking Gas Fees
04:39
Deploying and Checking on Etherscan
04:00
CONGRATULATIONS and Improvement Idea Sharing
06:29

Appendix - Learning Python and Javascript Crash Course

15 lectures
Python - Setting Up a Python Environment
03:53
Python - A Developers Mindset
04:56
Python - Working With Variables, Lists and Dictionaries
27:35
Python - Mastering the IF Statement
11:11
Python - Mastering FOR and WHILE Loops
09:12
Python - AND, OR Conditions
04:32
Python - Fetching Crypto Prices with Requests and JSON
06:50
Python - Understanding Methods or Functions
12:10
Python - Understanding Classes
11:15
Python - Python Playground Code Resources
00:55
Python - Creating a Virtual Environment and Installing Packages with PIP
10:41
Javascript - Variables Arrays and Objects
09:12
Javascript - IF Statement
03:02
Javascript - FOR Loop
09:17
Javascript - Function Example
07:50

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.