Date: November 15th, 2024
Location: OKX OS's Innovate Hub in BKK
-
DEX Integration Basics
- API Overview
- Authentication
- Basic Calls
-
Implementation Examples
- Price Checking
- Trade Execution
- Error Handling
-
Sample Implementations
- Basic DEX Interface
- Price Aggregation
- Smart Routing
# 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
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 |
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.