Skip to main content

Overview

x402 is zkTerm’s internal payment system that handles crypto payments for resource-consuming features like zkStorage (IPFS costs) and zkAI assistant (AI token usage). Status: In Development Note: All pricing shown below are examples only and subject to change before launch.

Supported Services

Payment Methods

x402 accepts cryptocurrency payments: ZKTR is zkTerm’s native token used for platform payments and governance.

How It Works

zkStorage Payments

When you upload files to zkStorage, x402 handles the payment:
  1. File encrypted client-side
  2. x402 checks your credit balance
  3. Upload processed via Pinata
  4. Credits deducted based on file size
Pricing (example only, subject to change):

zkAI Payments

AI assistant usage is metered by token consumption:
  1. You send a message to zkAI
  2. x402 checks your credit balance
  3. Request sent to AI provider
  4. Credits deducted based on tokens used
Pricing (example only, subject to change):

Terminal Commands

Check Balance

Output:

Add Credits

Example:

View Usage History

Output:

API Reference

Get Balance

Response:

Add Credits

Get Usage History

Response:

Credit System

How Credits Work

  1. Deposit - Send ZKTR/SOL/USDC to your zkTerm account
  2. Internal Balance - Credits tracked in zkTerm database
  3. Usage Deduction - Automatic deduction when using paid services
  4. Withdraw - Withdraw unused credits back to wallet

Free Tier

New users get free credits to try zkTerm:

ZKTR Benefits

Paying with ZKTR provides:
  1. 10% Discount - Lower rates vs SOL/USDC
  2. Priority Processing - Faster uploads and AI responses
  3. Governance Rights - Vote on zkTerm features

Security

  1. Non-Custodial - You control your wallet, we only track credits
  2. Transparent Pricing - All costs shown before confirmation
  3. Audit Trail - Full transaction history available
  4. Refunds - Unused credits can be withdrawn anytime

Future Features

  1. Subscription Plans - Monthly unlimited tiers
  2. Team Accounts - Shared credit pools
  3. Staking Rewards - Earn credits by staking ZKTR
  4. Referral Program - Earn credits for inviting users