Basic Information

Basic Information

  • API Base URL: https://api.cooking.city

  • Protocol: HTTPS

  • Data Format: JSON

  • Authentication: Bearer Token (obtained via Solana wallet signature)

Core Features

  1. User Authentication - Solana wallet login

  2. Token Creation - Create new tokens

  3. Token Trading - Internal/External trading

  4. Token Query - Token list and details

  5. Conviction Pool Management - Create and manage conviction pools

Quick Start

  1. Connect Solana wallet

  2. Sign message to obtain API Token

  3. Use Token to call API endpoints

Error Handling

All API responses follow a unified format:

{
  "code": 200,
  "data": {},
  "message": "Success"
}

Environment Configuration

  • Mainnet: https://api.cooking.city

  • RPC: Helius or QuickNode

Supported Networks

  • Solana Mainnet

SDK and Tools

  • Frontend: React/Next.js

  • Wallet: AppKit (formerly WalletConnect)

  • Trading: Meteora DLMM + Jupiter

  • On-chain Program: Anchor Framework

Last updated