Payment
API:
Calculating...
Login at daemonprotocol.com to get your API key after payment
LLM Chat
Get your API key by logging in at daemonprotocol.com

About D-MDLWR

What is D-MDLWR?

D-MDLWR (Daemon Middleware) is a powerful payment and LLM integration platform built on Solana blockchain. It provides seamless payment processing and AI model access through a simple API.

Key Features

  • Solana Payments: Accept SOL, USDC, and USDT payments with automatic conversion
  • LLM Integration: Access multiple AI models (Llama, GPT, Qwen) powered by Cerebras Engine with ultra-fast inference speeds up to 2,000 tokens/second โšก
  • Real-time Tracking: Monitor transactions and balance in real-time
  • QR Code Support: Generate payment QR codes for mobile wallets
  • Credit System: Automatic credit top-up based on USD value

Use Cases

  • AI-powered applications requiring LLM access
  • Crypto payment gateways
  • Decentralized applications (dApps)
  • Automated trading bots
  • Content generation platforms

Getting Started

How to Get API Key

1 Login to Daemon Protocol

Visit daemonprotocol.com and login with your Solana wallet.

2 Get Your API Key

After login, navigate to your dashboard to find your unique API key (starts with dp_).

3 Top Up Balance

Use the Payment section to add balance to your account. You can pay with SOL, USDC, or USDT.

4 Start Using LLM

Enter your API key in the LLM Chat section and start using AI models powered by Cerebras Engine!

Security

All transactions are secured by Solana blockchain. API keys are required for balance checks and LLM access. Never share your private keys or API keys with anyone.

How to Top Up Credits

Payment Methods

You can top up your credits using any of these tokens on Solana:

  • SOL - Native Solana token
  • USDC - USD Coin stablecoin
  • USDT - Tether stablecoin

Step-by-Step Guide

1 Enter Your Wallet Address

Input your Solana wallet address in the Payment section. This will be used as a reference for tracking your payment.

2 Select Token & Amount

Choose your preferred token (SOL/USDC/USDT) and enter the amount. The system will automatically calculate the USD value and credits you'll receive.

3 Create Payment Request

Click "Create Payment" button. A QR code will be generated with the payment details.

4 Scan & Pay

Scan the QR code with your Solana wallet (Phantom, Solflare, etc.) or click "Open Wallet" button. Confirm the transaction in your wallet.

5 Wait for Confirmation

The system will automatically detect your payment and add credits to your account. This usually takes 10-30 seconds.

Tips

  • Minimum payment: 0.01 SOL or equivalent
  • Credits = USD value (1 USD = 1 Credit)
  • Transactions are final and cannot be reversed
  • Keep your transaction signature for records

API Documentation

Authentication

Most endpoints require an API key. Include it in the request headers:

Authorization: Bearer YOUR_API_KEY

Endpoints

Payment Endpoints

POST /api/payment/create

Create a new payment request

{ "walletAccount": "YOUR_WALLET_ADDRESS", "amount": 0.01, "token": "SOL", "label": "Top Up Credits", "message": "Add credits to account" }

GET /api/payment/status/:reference

Check payment status by reference

GET /api/payment/status/REFERENCE_ID

POST /api/payment/confirm

Confirm a payment transaction

{ "signature": "TRANSACTION_SIGNATURE", "reference": "REFERENCE_ID", "amount": 0.01 }

GET /api/payment/price/:token

Get real-time token price in USD

GET /api/payment/price/SOL

GET /api/payment/history

Get transaction history (requires authentication)

GET /api/payment/history?limit=50&offset=0 Authorization: Bearer YOUR_API_KEY

Balance Endpoints

GET /api/balance/check

Check account balance and information (requires authentication)

GET /api/balance/check Authorization: Bearer YOUR_API_KEY

LLM Endpoints

POST /api/llm/chat

Send a message to LLM

{ "address": "YOUR_WALLET_ADDRESS", "api_key": "YOUR_API_KEY", "model": "meta-llama/llama-3.1-8b-instruct", "messages": [ {"role": "system", "content": "You are helpful."}, {"role": "user", "content": "Hello!"} ], "max_tokens": 4000 }

GET /api/llm/models

List all available LLM models with pricing

GET /api/llm/models

GET /api/llm/history

Get LLM usage history (requires authentication)

GET /api/llm/history?limit=50&offset=0 Authorization: Bearer YOUR_API_KEY

System Endpoints

GET /health

Check API server health and status

GET /health

Available LLM Models

Pricing per million tokens (Input/Output).

Powered by Cerebras Engine

Ultra-fast inference with speeds up to 2,000 tokens/second โšก

Model Provider Input ($/M) Output ($/M) Context
meta-llama/llama-3.1-8b-instruct Meta $0.21 $0.21 131K
openai/gpt-oss-120b OpenAI $0.72 $1.54 131K
qwen/qwen3-32b Qwen $0.82 $1.64 131K
meta-llama/llama-4-scout Meta $1.33 $1.74 10M
qwen/qwen3-235b-a22b-2507 Qwen $1.23 $2.46 262K
meta-llama/llama-3.3-70b-instruct Meta $1.74 $2.46 131K
qwen/qwen3-235b-a22b-thinking-2507 Qwen $1.23 $5.95 262K
qwen/qwen3-coder Qwen $4.10 $4.10 1.05M

Error Codes

  • 400 - Bad Request (invalid parameters)
  • 401 - Unauthorized (invalid API key)
  • 404 - Not Found (resource doesn't exist)
  • 429 - Too Many Requests (rate limited)
  • 500 - Internal Server Error

Base URL