Skip to content

Julian-dev28/devcon-builders-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build with OKX OS Workshop

In-Person Event (OKX OS Workshop)

Date: November 15th, 2024
Location: OKX OS's Innovate Hub in BKK

Workshop Content

  1. DEX Integration Basics

    • API Overview
    • Authentication
    • Basic Calls
  2. Implementation Examples

    • Price Checking
    • Trade Execution
    • Error Handling
  3. Sample Implementations

    • Basic DEX Interface
    • Price Aggregation
    • Smart Routing

Quick Start

# Clone the repository
git clone https://github.com/Julian-dev28/devcon-builders-challenge.git

# Change directory
cd devcon-builders-challenge
cd okx-dev-workshop

# Install dependencies for all projects
npm run install-all

set your .env variables

evm-swap-app/.env

REACT_APP_USER_ADDRESS=your_address_here
REACT_APP_PRIVATE_KEY=your_private_key_here
REACT_APP_API_KEY=your_api_key_here
REACT_APP_SECRET_KEY=your_secret_key_here
REACT_APP_API_PASSPHRASE=your_api_passphrase_here

trading-bot/.env

TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
OKX_PROJECT_ID=your_okx_project_id_here
OKX_API_KEY=your_okx_api_key_here
OKX_API_SECRET_KEY=your_okx_secret_key_here
OKX_API_PASSPHRASE=your_okx_passphrase_here
ENCRYPTION_KEY=your_encryption_key_here
# Start any demo
npm run start:widget    # For DEX Widget demo
npm run start:swap      # For EVM Swap demo
npm run start:bot       # For Trading Bot demo

Base Templates

Name Description Repl GitHub
DEX Widget Demo Ready-to-use widget implementation example Template Repo
EVM Swap App Working EVM swap functionality example Template Repo
Trading Bot Basic Telegram trading bot setup Template Repo

Resources

Resource Description Link
DEX API Documentation Complete guide for DEX API implementation Link
Widget Integration Guide Step-by-step widget integration tutorial Link
OKX Web3 Documentation Comprehensive OKX Web3 development docs Link

Need help? Join our Discord community where our team is ready to support your building journey.