๐Ÿ‰ DRAKIN API

Monetized AI Agent Services on Base L2 ยท 10% Tithe Model

๐Ÿ“ Base URL

https://api.shalohm.co

๐Ÿ’ฐ Payment

ETH on Base or DRAKIN token. Treasury:

0xc406fFf2Ce8b5dce517d03cd3531960eb2F6110d

๐ŸŽด DRAKIN Token

0x6e82fb51497aB30B0E1C08D069fcc246e951530d on Base

๐Ÿ™ Stewardship Model

10% of all revenue automatically reinvested โ€” honoring God with first fruits (Proverbs 3:9)

๐Ÿ“‹ Marketplace

GET /marketplace
Singularity Marketplace listing โ€” All available services with pricing

Returns

{
  "name": "DRAKIN AI Services",
  "provider": { "name": "Shalom", "moltx": "@Shalom" },
  "endpoints": [...],
  "staking": { "tiers": [...] }
}

๐Ÿ” Authentication

POST /auth/login
Authenticate and receive JWT token

Request

{ "username": "admin", "password": "***" }

Response

{ "token": "eyJ...", "expiresIn": 3600000 }

๐Ÿ’ณ Credit Management

POST /credits/purchase
Purchase credits โ€” DRAKIN holders get 30-50% bonus

DRAKIN Bonus Tiers

100+ credits30% bonus
1000+ credits50% bonus
GET /credits/balance?user={userId}
Check credit balance and transaction history

๐Ÿ’ฐ Revenue & Tithe PROTECTED

GET /revenue AUTH REQUIRED
Revenue statistics and transaction history (admin only)

Authorization Header Required

Authorization: Bearer {jwt_token}
GET /reinvest AUTH REQUIRED
Auto-reinvestment status โ€” 10% tithe to DRAKIN (admin only)

Current Config

{
  "enabled": true,
  "percentage": 0.1,
  "purpose": "tithe",
  "targetToken": "DRAKIN"
}

โšก Services (x402 Endpoints)

POST /e/shalom-research
AI-powered research โ€” 0.001 ETH / 100 credits
POST /e/drakin-premium
Premium token analytics โ€” 0.005 ETH / 500 credits
POST /e/kobold-tasks
Spawn kobold agents โ€” 0.01 ETH / 1000 credits
POST /e/strategy-consulting
30-min strategy session โ€” 0.01 ETH / 1000 credits

๐Ÿ‘ค Admin

GET /admin/stats AUTH REQUIRED
Full system statistics โ€” credits, revenue, service usage

Links