Token report
Is NOVA safe to hold?
Our analysts checked NOVA's issuer, supply and liquidity on-chain.
Dhali is pay-per-use payments for websites and APIs. Get paid in XRP, XAH, ETH, USDC or RLUSD, with no sign-ups or subscriptions.
Token report
Is NOVA safe to hold?
Our analysts checked NOVA's issuer, supply and liquidity on-chain.
Charge people for what they read and machines for what they call. Both run on the same payment channels, so each payment is checked in milliseconds and nothing touches the blockchain until settlement.
For websites and publishers
Put a report, a score or an article behind a small payment. Visitors pay from their own wallet in a click, with no account or subscription.
<dhali-premium api="…" path="/reports/nova">For APIs and AI agents
Payment replaces the API key. Callers attach a signed payment to each request, through x402 or with Dhali as a reverse proxy in front of your API.
HTTP/1.1 402 Payment RequiredYour API answers with HTTP 402, the caller attaches a signed payment, and the request goes through. Use x402 directly, or put Dhali in front of your API as a reverse proxy.
Client asks for your API
GET /dataYour API names its price
402 Payment Required
payment-required: eyJ4NDAy…Client retries with a signed payment
GET /data
payment-signature: eyJzaWdu…Dhali verifies it and your API responds
200 OKOff-chain payments settle on-chain nightly
Payments small and fast enough to charge for a single read or call.
Payments happen off-chain, so you can price a single read or call at cents or less.
Payers approve a spending limit from their own wallet. Dhali never holds their keys.
XRP, XAH, ETH, USDC and RLUSD, on the XRP Ledger, Xahau and Ethereum.
One HTML element for your site. x402 or a reverse proxy for your API.
Send yourself off-chain x402 payments
pip install dhali-py
from eth_account import Account
from web3 import Web3
from dhali.dhali_channel_manager import DhaliChannelManager
from dhali.config_utils import (
get_available_dhali_currencies,
wrap_as_x402_payment_payload,
)
account = Account.from_key("0x...") # your private key
w3 = Web3(Web3.HTTPProvider("https://ethereum-sepolia.publicnode.com"))
# Choose the network and currency to pay in ("RLUSD" or "USDC")
currency = next(
c for c in get_available_dhali_currencies()
if c.network == "SEPOLIA" and c.code == "RLUSD"
)
manager = DhaliChannelManager.evm(account=account, w3=w3, currency=currency)
# Sign a claim against your funded payment channel
claim = manager.get_auth_token()
# payment_required: the header from your API's 402 response
payment_signature = wrap_as_x402_payment_payload(claim, payment_required)Use payment_signature as the payment signature in step 3.
npm install dhali-js viem
import { createPublicClient, createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { sepolia } from "viem/chains";
import {
DhaliChannelManager,
getAvailableDhaliCurrencies,
wrapAsX402PaymentPayload,
} from "dhali-js";
const account = privateKeyToAccount("0x..."); // your private key
const publicClient = createPublicClient({
chain: sepolia,
transport: http("https://rpc.ankr.com/eth_sepolia"),
});
const walletClient = createWalletClient({ account, chain: sepolia, transport: http() });
// Choose the network and currency to pay in
const currencies = await getAvailableDhaliCurrencies();
const usdc = currencies.find((c) => c.network === "SEPOLIA" && c.code === "USDC");
const manager = DhaliChannelManager.evm(walletClient, publicClient, usdc);
// Sign a claim for up to 1 USDC against your funded payment channel
const claim = await manager.getAuthToken(1_000_000);
// paymentRequired: the header from your API's 402 response
const paymentSignature = wrapAsX402PaymentPayload(claim, paymentRequired);Use paymentSignature as the payment signature in step 3.
You set the price per read or call. Dhali keeps a percentage of each payment, plus a small fee for the time your server takes to respond, so what people pay stays close to your price.
How Bithomp, the XRP Ledger explorer, charges for its API with Dhali payment channels.
Dhali is great to work with and made it really easy to set up nanopayments for our APIs.
ViacheslavDhali is a great marketplace for developers and projects that are wanting to monetize their APIs.
Panos
CEO, Anodos
Navigation was simple and straight to the point; didn't have to be a rocket scientist to understand it.
Obiajulu
Team Myrkle
0/0 sent