KaapDocsCheck a treasury
KaapDocs
How it works

Addresses and proof

Every deployed account, its code, and a stopped theft you can follow transaction by transaction.

Everything on this page is read from the deploy record and the saved proof run in the repository. Each link opens the explorer.

What is deployed

WhatAccount on testnetCode (sha256)Set up by
Guard contractkaap-guard-1113045147.testnet
no access key left
9e74bbbadcfa6820390e21cb415ae83542f5de6257da4ad651caf950801c5d23deploy, key deleted
Registry contractkaap-registry-1113045147.testnet
no access key left
228c21366ffdaf58f31a6e3550fd9898bc9ae65d1182f7a9e84d2df3c07fb2c9deploy, key deleted
Demo treasury (Sputnik DAO)kaap-dao-1113045321.testnet
no access key left
bf6f951ee5e45968e3367fa857bebf8bc80badec183998c2239c487237e0d7f6deploy, key deleted
Sealed programkaap-sealed-owner-1113041743.testnet/kaap-sealed
on OutLayer
signs with ed25519:8eiUXYidw2x7WWfVVmYkDcewi3aBzxKomMefsPPhaecFattestation of a run

"No access key left" means nobody, the deployer included, can change that account's code or act as it. You can confirm it on the explorer: the account's list of keys is empty.

A stopped theft, step by step

Request #1 on the demo treasury said “Monthly salary payment to alice...” and in fact paid the lookalike account a1ice... The guard's vote landed 25.5 seconds after the request was filed.

  1. A member files the request: 583jbKshP4...
  2. The sealed program reads it and signs a verdict: 6Lm1adNQeQ...
  3. The verdict is recorded in the registry: CNqvoFb8Ly...
  4. The guard votes to reject: 66WDukXKMV...

Run the proof yourself

One command files a disguised payment on the demo treasury and follows it to the guard's vote:

node scripts/prove.mjs

It needs keys only Kaap holds, so in your own clone it stops with "no key". What you can run without any key is the check of the result:

node packages/cli/dist/src/bin.js verify kaap-dao-1113045321.testnet 1 --network testnet

PROOF.md in the repository holds the full output of the last run, with every transaction.

The demo treasury

The demo treasury is a real Sputnik DAO, version 3.2, with the role setup of a live NEAR Business treasury on mainnet: Requestor, Admin and Approver, plus Kaap's guard. Two of two Approvers must sign a payment, so one approval never executes a request.