KRYPT testnet GitHub
a spending account for your agent

Your agent can shop. It cannot drain you.

This page is a live, read-only view of one vault on the NEAR test network. Every number below is read from the chain, and the rule check is the contract's own answer.

Test money only. No wallet. This page never asks you to sign or spend.

your rules
last receipts test money
reading the chain … connecting
vault2.vaults.eqxdemi.testnet
a hard cap

Above your limit, the account says no.

It does not matter what the agent was told. The limit lives in the account itself, not in the agent's instructions.

who gets paid

Only people you trust get paid.

Anyone else is refused before a single cent moves, even if the request looks harmless.

receipts

Every move leaves a receipt.

Paid, waiting, refused. The record lives on the network, and this page shows it exactly as written.

the vault, live

One owner, one agent, limits on chain.

Read-only. The page refreshes itself every 30 seconds.

connecting…
available to spend test money
$—
exactly — NEAR on the test network

The vault's total balance and its storage reserve appear here once the chain answers.

budget left
$—
Spent — of —.

The budget is a limit, not a balance. Raising it never adds money. It only lets the agent spend more of the vault money on the left.

receipts
under the hood

The agent holds a scoped key that can only request spends. The rules live on chain in vault vault2.vaults.eqxdemi.testnet, and they refuse anything over the caps or to anyone the owner has not approved. Every receipt above is a record on the test network.

contract code hash —
storage used —
pending approvals —
can pay —
agent —

The agent key cannot change rules, move money, or touch another account. This page holds no key at all: it only reads.

try the rules

Ask the live contract what it would do.

This calls simulate_spend. It writes nothing, queues nothing, and moves no money. The answer is the real policy decision for the vault's current rules.

a purchase to check writes nothing
Who gets paid?
Dollar amounts use the demo rate of $5.00 per NEAR, fixed for readability. It is not a market price.
how it works
1
Set your limits once. A cap per purchase, a budget per period, and the sellers you trust.
2
Let the agent shop. Small purchases pay themselves, bigger ones wait for you, and anything past your limits is refused.
3
Approve only what needs you. One press, one signature, and the receipt is written.
run the full app

The owner flow stays local.

The hosted page can read and simulate. To sign in, set rules, approve a purchase, or refuse one, run the app on your machine. The login only trusts http://localhost:3000, because that is the one origin the shared FastAuth testnet client redirects back to.

  • 1
    Clone the repo. Everything is public, including the contract and the tests.
  • 2
    Run the contract tests. 45 tests cover caps, budgets, allowlists, approvals, and failures.
  • 3
    Start the app. Copy app/env.example to app/.env and fill in a funded testnet sponsor. The README documents every variable.
  • 4
    Open exactly http://localhost:3000. That origin is the only one the FastAuth testnet client allows.
terminal
git clone https://github.com/Valorian0108/krypt.git
cd krypt/contract
cargo test

cd ../app
npm install
npm run dev

# open http://localhost:3000

The full app needs a funded NEAR testnet sponsor and a local app/.env. The hosted page needs neither.

The agent asks. The contract answers.

Test money, real checks, live on the test network right now.

See the live vault