Setup

An Essential Guide to GMX v2 Course Setup and Workflow - Learn how to clone the repository, configure Foundry with environment variables, and optimize testing using specific block numbers. Discover the course structure and how to use Arbiscan/Tenderly to analyze GMX transactions needed for exercises.

Get SSCD+ certified, for free!

Cyfrin Updraft has partnered with GMX to provide SSCD+ certifications vouchers to the first 25 students who demonstrate the completion of this course and are building on top of GMX. Join the GMX Discord server to redeem your coupon, or navigate to the docs to learn more!

1. Welcome To The Course
An introductory overview to GMX V2 Course Introduction - Get started with the GMX V2 DeFi course, understanding what the protocol offers, course objectives, and key prerequisites. Learn about perpetual swaps, leverage, and the essential Solidity/Foundry skills needed. Duration: 3min
2. Setup
An Essential Guide to GMX v2 Course Setup and Workflow - Learn how to clone the repository, configure Foundry with environment variables, and optimize testing using specific block numbers. Discover the course structure and how to use Arbiscan/Tenderly to analyze GMX transactions needed for exercises. Duration: 4min
3. Bridge ETH To Arbitrum
A step-by-step walkthrough to Using the Official Arbitrum Bridge - Learn how to transfer ETH from Ethereum mainnet to Arbitrum One via the official bridge interface. Understand the necessity of having ETH on Arbitrum for paying gas fees when using applications like GMX V2. Duration: 1min
4. Quiz 1 Quiz
Questions: 6

Course Overview

About the course

What you'll learn

Mechanics and contract architecture of the GMX protocol

Token pricing and fees

Liquidity: GM pools and GLV vaults

Math, funding rates, liquidation pricing, P&L calculations

Limit orders, take profit orders, stop loss, and stop market orders

Auto-cancel and auto-deleveraging

GLP, esGMX, GMX staking and delegation

Course Description

Who is this course for?

  • Software engineers
  • Web3 developers
  • Finance developers
  • Smart contract security researchers

Potential Careers

DeFi Developer

$75,000 - $200,000 (avg. salary)

Smart Contract Engineer

$100,000 - $150,000 (avg. salary)

Web3 developer

$60,000 - $150,000 (avg. salary)

Web3 Developer Relations

$85,000 - $125,000 (avg. salary)

Smart Contract Auditor

$100,000 - $200,000 (avg. salary)

Security researcher

$49,999 - $120,000 (avg. salary)

Meet your instructors

Tasuku Nakamura

Tasuku Nakamura

Founder at smartcontract.engineer

Smart contract engineer and educator.

Last updated on June 26, 2025