PegLab · Kaspa Testnet-10

A unit for dapps on Kaspa.
Not a bank stablecoin.

Dapps need something stable enough to invoice, escrow, and pay fees. They should not have to wait on Circle or Tether. PegLab is that alternative idea: a covenant unit sequenced on Kaspa, backed by locked tKAS. This page is the teaching build. If you call tPEG a US dollar, it will depeg. We show that on purpose.

The idea

Skip centralized stables for dapps.

USDT/USDC are cash in a company. Fine for a listed dollar. Bad as the only way a Kaspa app can run. PegLab explores a Kaspa-native unit: lock tKAS, issue tPEG, redeem under a spend rule. The dapp talks to Kaspa, not to an issuer.

This lab is cheap on purpose (tiny pool, one admin price). That is why a dollar peg fails here. The takeaway is not “ship this as money.” It is “dapps can settle on Kaspa rules; a fake $1 is not the product.”

How to try it

  1. Stay on this page. Testnet-10 only. No seed goes in the box.
  2. A — Connect KasWare, switch it to Testnet 10, see your tKAS balance.
    B — No wallet? Make local wallet + fund from host (1 tKAS from the host address).
  3. Click Run depeg lab below.
  4. Read three numbers: admin price, pool price, redeem price. They will not match. That is why this is not USDT.
Is
A Testnet-10 lab for dapp settlement on Kaspa
Is not
USD, USDT, USDC, a bank, or a token sale
tPEG
A claim on locked tKAS, not a dollar
Next
A finished conversation on a phone — VISION.md. Not a dollar.

Test with tKAS · Testnet-10 only

Own KasWare, or make a local wallet funded by the host.

This page never asks for a seed. KasWare stays in the extension. A local wallet is a disposable Testnet-10 key in this tab, paid from the host address below.

Host tKAS: · checking…

A · I already have KasWare

Open KasWare and show my tKAS

Connect the extension, switch it to Testnet 10, then we show that address and its tKAS balance.

Install KasWare
KasWare
Not connected
Address
Network
tKAS

B · I don’t have a tKAS wallet

Make one here, paid from the host

Creates a local Testnet-10 wallet in this tab and sends 1 tKAS from .

Local wallet
None yet
Address
tKAS
Show local private key (Testnet-10 hex, not a seed)
No local wallet in this tab.

Using for this page: none yet

Live state

Wallet prompt


      

First dapp · KaChat

How KaChat would use this unit

KaChat is already encrypted chat plus native KAS pay. PegLab is the unit so a price in a thread is not an FX trade. This lab is not money inside KaChat 4.x.

In the chat

  • Quote and pay “20 units” so the number does not move with KAS.
  • Timeout pay: they claim, or you reclaim — same shape as KaChatPayTimeout.
  • Tips, splits, stakes: lock / release / refund on L1. Chat is only the talk.
  • KAS stays postage (sponsor fee or grams). The pay button is the unit.

To make it real

  1. Live Testnet-10 series: transfer + redeem on chain, indexer sees balances.
  2. KaChat’s wallet signs those covenants (not only KasWare on the web).
  3. Pay payload next to kchat:1:pay. No $ on tPEG.
  4. Mainnet only as a KAS receipt — or a named USD later. Not this tiny pool.

This button opens the KaChat app if it is installed. Otherwise it goes to the App Store or Google Play.

Beyond the chain

The job is a finished conversation

The covenant is the court file. People live in a thread on a phone. KaChat does not support PC. tPEG is not a US dollar. The product is: agree a number, pay it, claim or reclaim — without an FX trade and without sending anyone to Circle to finish a Kaspa chat.

What “done” looks like

  1. Two people already talking in KaChat on their phones.
  2. A quote that stays still for the timeout — not a KAS price that moved while they argued.
  3. Pay, claim, or reclaim. Postage is KAS in the background (sponsor or grams).
  4. If the unit is a KAS receipt, the UI says sompi, not $. A named USD later is a different asset with a named issuer.

To-do, in order

  1. Keep this lab honest (depeg demo, no raise against tPEG). Phone opens KaChat; PC is told it cannot.
  2. Live Testnet-10 receipt + indexer. Wallets verify series hashes, not the word tPEG.
  3. KaChat signs that receipt on testnet. Timeout pay in a 1:1 thread. Zero-KAS receivers still work.
  4. Then groups, tips, stakes, agents, merchant QR. Mainnet only as a receipt after review. Hosted USD only if an issuer exists.

Depeg lab

Five scripted steps. A tiny pool and an admin price cannot hold $1. That is the warning for any dapp that wants a “Kaspa stable” without reserves. Target, pool, and redeem will disagree.