k402
Testnet research software — unaudited, not for real value. Get set up on testnet-10 →
§ 0
One sentence each. On the other pages a dotted underline marks a term's first use; hover or focus it for the same line.

The words on this site

§ 1
27 terms, in the order the pages meet them.
covenant
A Kaspa output whose script enforces rules on how it can be spent; kUSD, its vaults and the market are built from them.
Kaspa L1 covenants (KIP-10 style script, Argent compiled) let an output carry state and insist that whoever spends it recreates a successor with the state the rules allow. Every kUSD box is a covenant output.
box
One covenant output holding state: a kUSD balance, a vault, the oracle, the peg module.
kUSD has no account balances; your kUSD is a set of boxes your key can spend. Paying creates a new box for the payee.
PSM
Peg stability module: swaps KAS for kUSD and back at the oracle price, with a small fee.
The PSM holds a KAS reserve; swap_in mints kUSD against KAS at the mint price, swap_out redeems at the liquidation price. Governance sets its ceiling and fee.
token authority
The covenant that holds all unissued kUSD and alone can issue more.
Issuance happens only by spending the authority through the PSM or a vault; the amount it still holds is the unissued supply.
surplus pot
Where protocol revenue lands: PSM fees, interest and the 3% liquidation share.
A governance-controlled box; spending it is a 2-of-3 governance transaction recorded on the page.
rate index
The cumulative interest multiplier every vault debt is rebased on; it grows with the stability fee at each oracle refresh.
Starts at 1.000000000. A vault records the index at its last settlement; what it owes now is its principal scaled by the current index.
mint price
The price the PSM and vaults mint at: the oracle price, allowed to rise at most 10% per hour, so one manipulated hour cannot mint cheap kUSD.
liquidation price
The price vaults are judged at for liquidation and redemption: the oracle price, allowed to fall at most 25% per hour.
lock time
A transaction field the network enforces: it cannot be included before that DAA score, so it proves a lower bound on time.
The oracle and the budget read time from the transaction's own lock time instead of trusting a clock input.
script hash
What a covenant address is: a hash of the script and its state. Recompute it to check a claimed state.
The page and the relay recompute every box's address from the state they claim and compare it with the chain.
compute mass
Kaspa's measure of how much script work a transaction does; capped at 500,000 per transaction.
Covenant transactions pay fees by compute mass; the metering table shows each flow's mass against the cap.
miner median
The KAS/USD price Kaspa miners voted in their blocks, proven over a 6,000-block window and posted on chain.
Stage 2 of the oracle: when the miner median is fresh and at least half the blocks voted, every price refresh is clamped to within 5% of it.
KVOT
The 13-byte price vote a miner puts in a block's coinbase payload.
"KVOT", a version byte and the USD/KAS price in millionths. Any pool can add it; the window prover reads them all.
Stage 1 / Stage 2
Stage 1: five signed operator prints, median of three. Stage 2: the same, clamped to the miner median.
The retired deployments on this page are earlier stages kept as evidence; the live family is Stage 2.
SpendPolicy
The operator's limits an agent pays inside: per-call ceiling, budgets, call caps, allowed capabilities, a kill switch.
Set per browser (or per agent process); the agent cannot exceed it, and the freeze switch stops all payments at once.
sliding window
A budget that counts spending over the last N minutes, so bursts are capped as well as totals.
served / unserved
A payment the provider answered (served) or took without answering (unserved); unserved payments stop an agent's policy.
x402 v2
The HTTP 402 payment protocol k402 implements: the server names how to pay, the client pays and retries with proof.
k402 is short for Kaspa x402 v2. The standard is published at kaspa-x402.org; KCC-0402 is the Kaspa convention number.
PAYMENT-REQUIRED
The 402 response header carrying the ways to pay (scheme, network, amount, payTo) as base64 JSON.
payTo
The address (KAS) or key (kUSD) a payment must reach for the resource to be served.
scheme
How a payment is made: `exact` (one transaction), `batch-settlement` (vouchers), `kusd-utxo` (a kUSD box).
sompi
The smallest unit of KAS: 100,000,000 sompi = 1 KAS.
Groth16
A zero-knowledge proof system with tiny proofs that Kaspa scripts can verify on chain.
trusted setup
The one-time ceremony a Groth16 circuit needs; if a single party ran it, that party could forge proofs.
shielded pool
A covenant that holds deposits as commitments so a withdrawal cannot be linked to the deposit that funded it.
anonymity set
Everyone a withdrawal could have come from: the deposits in the pool at the time.
proof-of-innocence
A proof that a note belongs to an approved set, so a pool can screen deposits without learning which one is spent.