Run a demo

Fifteen minutes, four windows, one facility from offer to recovery. The originator offers risk, an investor bids, the originator accepts, the facility amortises, the position trades, a default lands on whoever holds the risk that day, a recovery comes back — and KreditChain watches all of it. Expected figures are given at each step so you can see at a glance that it worked.

Checking your access…

Before the room

Five minutes, the day before.

WindowSign in asOpen
ChromeOriginatorOffer, then the Loan book in a second tab
Chrome IncognitoInvestor ALoan book and Positions
EdgeInvestor BPositions
Edge InPrivateKreditChain / registrarDesk — on the projector

The screens

Each actor's page. Nothing is simulated: every button is a real write through the security rules, and every screen updates from the database's own change stream — no refresh.

The originator

Offer capacity

The originator's unlisted book. Pick a facility, set units and the spread it expects to pay. Matured facilities are shown greyed out and cannot be offered.

Open Offer →
Investors · and the originator

Loan book

Investors bid here. The originator ticks Originator view to accept bids, post quarters, and trigger a default or a recovery from the facility's panel.

Open Loan book →
The investor

Positions

Holdings, premium, losses and recoveries — per holder, for the time each held the units. Sell here; buy another holder's units here.

Open Positions →
KreditChain

Desk

Every facility, every bid as it lands, every position, the ledger and its anchor. The registrar settles secondary trades here.

Open Desk →
The custodian

Cash book

The money KreditChain never touches: premium paid, losses collected, recoveries passed on — reconciled from the register to the dollar.

Open Custodian →

The run

Uses SG-2026-0003 — an amortising SME pool in Singapore, USD 63m, BBB. The figures below are what you should see if you follow the steps exactly.

  1. The originator offers. Originator · Offer. Click SG-2026-0003, keep the ticket (126 units at 130 bps), press Offer to the market.
    One unit is USD 100,000 of protected notional. The originator is not selling a loan — it is buying protection on a slice of one.
  2. It is already on the investor's screen. Investor A · Loan book. Don't refresh — point at it. Open it and bid 126 units at 120 bps. "You are leading"
    The investor bids the spread it requires. Lower wins — an inverted auction.
    The bid is on KreditChain's Desk tape within a second.
  3. The originator accepts. Originator · Loan book, tick Originator view, open the facility, press Accept.
    One transaction: the allocation, the token and the hash-chain entry are written together or not at all.
  4. It is on the test chain. KreditChain · On chain. The facility's token has appeared: KCSG0003 · supply 126 · Investor A 126. Click the mint's ↗ to open it on Solana Explorer — a real Token-2022 token, 1 token = 1 unit, with the facility's details in its on-chain metadata. Press Read it from the chain: a public Solana node confirms every balance matches the register.
    The register is the source of truth; the chain is its public mirror. Anyone can check the token without trusting us — and the registrar, not the holder, can move it, which is what makes it a permissioned security rather than a bearer token.
  5. The facility lives. In the same panel press Post quarter 1, then Post quarter 2. On Investor A's Positions: premium earned ≈ USD 74k · outstanding below 12.6m
    Capital returned and capital lost are two different numbers, never one shrinking balance.
  6. It trades.
    • Investor A · Positions: Sell → 26 units at 125 bps → List.
    • Investor B · Positions: under Secondary market, Buy.
    • Registrar · Desk: under Secondary trades, Settle transfer.
    Ownership moves when the registrar settles — the register is the source of truth.
  7. A default. Originator · the facility's Credit event panel. Choose Serious · 5%. The preview shows who loses what, then Trigger default → Confirm (two clicks, no pop-up). A −USD 500k (100 units) · B −USD 130k (26 units)
    The risk moved with the token. Whoever holds the units on the day of the default takes the loss — including a buyer on the secondary market. The seller keeps the premium it earned before it sold.
  8. A recovery. Same panel: 50% back → Post recovery → Confirm. A +USD 250k · B +USD 65k recovered
    A recovery goes to whoever holds the units when the cash comes in. Principal does not come back — only part of the loss.
  9. Back to the chain. On chain again: the 26 tokens moved from A to B when the registrar settled, and the token's metadata now carries the default and the recovery: loss per unit USD 5,000 · recovered per unit USD 2,500.
  10. The wrap. Custodian: losses collected USD 630k · recoveries paid USD 315k, holder by holder. On chain: every issue, transfer, default and recovery as the memo it becomes. Desk: the ledger, counting every entry.

If something looks wrong

No Accept button, no quarter or credit-event panel
Tick Originator view on the Loan book, in the originator's window. Investors never see them.
A bid is refused
The spread must be at or below the level in the hint under the field — the originator's indicative, or 5 bps inside the leading bid.
A screen stops moving
Reload it. Every screen rebuilds its state from the database and holds nothing worth keeping.
"No access" after signing in
The account has no member record. npm run grant -- --uid <uid> --role <role>.

Afterwards

The register is append-only for every browser — that is the point — so a demo is cleaned up from the repo, deliberately. Accounts and member records are kept. Stop the chain watcher first (Ctrl+C); the devnet tokens stay on devnet as harmless orphans, and the next demo gets fresh ones.

npm run reset:live -- --yes     # type the project name to confirm

Rehearse without touching the live book. npm run emulate and npm run demo:reset give you a local copy with ready-made accounts; add ?emulator=1 to any URL and an amber bar marks the tab as local. npm run rehearse plays this whole run — and seven more scenarios — automatically and checks every figure. The full run sheet is in DEMO.md.