Money for accepted bills is set aside first
Free to spend is what’s left after every accepted bill. Banto can’t spend past the protected line, however the request is worded.
Reading the treasury
Demo treasury on NEAR testnet · fictional data
Your business’s money stays in a treasury you own on NEAR. Its agent, Banto, sets money aside for every bill you accept and pays only inside the rules you sign. It can never take the money, and you can switch it off at any time.
Every bill takes the same five steps. Banto does the work. You keep the final say.
The treasury contract enforces each one. The pictures below read this treasury as it is right now.
Free to spend is what’s left after every accepted bill. Banto can’t spend past the protected line, however the request is worded.
Reading the treasury
If an invoice asks to pay a vendor somewhere new, payment stops until a person approves the change, then waits out a cooling-off period.
Reading the treasury
Limits live in a policy only a Signer can change. Banto can ask for decisions and pay what was authorized, nothing else.
Reading the treasury
Amounts, vendors and payees are sealed inside a TEE policy engine. Anyone can see the chain. Only you can read the books.
Reading the treasury
Ten checks ran as real transactions against this treasury. Each one links to the explorer, and the panels below read the chain from your browser.
Reading NEAR testnet
Reading NEAR testnet
5
business catches Banto or the contract stopped on this treasury
Plus 7 attempts blocked in the security test run (judge checks): 2 replayed or altered payments and 5 out-of-scope agent calls.
Counted from judge run 9f54e4c1, which made every one of these attempts on this treasury.
Each bill twice: what anyone can read on chain, and what the owner reads with the ledger key, from the same engine build. The bills and vendors are fictional.
You see what’s really set aside and free to spend before you pay anything, with no time limit.
No percentage of your treasury. No fee on payroll. There is no billing during the hackathon.
A lapse never locks your money.
Takara is non-custodial. It never holds your funds, so it can’t hold them back. These rules are absolute.
Don’t take this page’s word for it. Each command reads the chain or checks an attestation from your own machine.
No keys needed. Prints owners, signers, the agent, the policy hash and the pinned engine build.
git clone https://github.com/growthmindsetgg/takara-ai.git
cd takara-ai && npm install
node -e 'import("./scripts/lib/near.mjs").then(async m=>console.log(await m.view("treasury.takara-ai-hq.testnet","get_config")))'
Verifies an OutLayer execution’s Intel TDX attestation against Intel’s root of trust (six checks).
node scripts/verify-attestation.mjs 30883 \
dc3e7c5c406cea1872b338cfed59bb14ed37a422f5bb31486d02346f94a7f019 \
'{"request":"step0-onchain","treasury":"takara-ai-hq.testnet"}' \
'{"ok":true,"engine":"takara-ai-engine","step":0,"input_len":61,"echo":"request:step0-onchaintreasury:takara-ai-hq.testnet"}'
Deploys a fresh treasury to your testnet account, runs the checks as real transactions and starts the local owner dashboard. About 20 minutes.
TAKARA_OWNER=<you>.testnet node scripts/setup-testnet.mjs
node scripts/judge.mjs
node backend/server.mjs # owner dashboard on localhost:8787
The confidential payout through NEAR Intents 1Click is a separate integration on mainnet, because NEAR Intents has no testnet. The testnet contract doesn’t enforce it.