Loading video player...
Part 1 of 4. We are building an automated trading bot for Polymarket that uses LLMs to analyze markets and execute bets. In this video, I lay the foundation. We set up the development environment using Cursor (with Grok), initialize the React/Vite project, build a custom "Matrix-themed" UI with Tailwind, and handle the initial wallet integration for the Polygon blockchain. IN THIS VIDEO: - Project architecture & Tech stack (Vite, React, Tailwind) - Using Cursor + Grok to scaffold the app - Connecting to the Polygon Blockchain (Wallet Integration) - Setting up the Polymarket API structure (Gamma, Clob, Data clients) THE TECH STACK: - IDE: Cursor (Grok model) - Frontend: React + Vite + TypeScript - Styling: Tailwind CSS - Blockchain: Ethers.js (Polygon Mainnet) TIMESTAMPS: 0:00 - Intro & Project Roadmap 1:37 - The Build Plan (Docs & Specs) 2:40 - Setting up Cursor & Grok 3:28 - Initializing Vite & Installing Dependencies 5:45 - The "Matrix" Theme (Tailwind Setup) 9:16 - Building UI Components & Wallet State 12:00 - Polymarket API Client Setup 15:17 - Debugging & TypeScript Fixes 19:00 - First Look: UI & Wallet Connection 20:30 - What's coming in Part 2 (Trading Logic) RESOURCES: Comment below if you want access to the background documentation and GitHub repo used in this video.