echoes ALLOWKEY
Guardrail Vault on NEAR
STEP 1 / 7 Initializing swarm verification scenario…
Security Invariant: Identity bound to env::signer_account_pk() • Protocol Gate: spend_as only (MethodNameMismatch enforced) • Budget Isolation: Agent A cannot spend Agent B's quota
SWARM ACTIVE
Layer 1 Agent Identity Each agent signs with its own ed25519 function-call key on the vault. Key cannot spoof other agents.
Layer 2 Protocol Method Gate NEAR runtime rejects calls to any method other than spend_as with MethodNameMismatch before contract Wasm runs.
Layer 3 Contract Budgets Contract checks per-agent per-tx & daily limits, then checks total vault per-tx & daily caps.
Layer 4 Settlement Transfers NEAR only to allowlisted recipients. Any policy violation triggers a clean on-chain revert.
Vault Treasury Balance get_balance()
—NEAR
Liquid spendable reserve allowance-swarm.testnet
Vault Daily Cap Used 0% used
— / — NEAR
Left today: — NEAR per-tx: — NEAR
Registered Agents 2 Scoped Keys
2actors
Individual daily caps Isolated Budgets
Guardrail Enforcements 7 Events
4 Blocked · 3 Allowed
2 Contract Cap · 2 Protocol Scope Verified
Swarm Agent Fleets
Each agent holds its own function-call key and spends only against its isolated quota
Loading swarm agents…
Vault Configuration
On-chain parameters enforced on every spend_as call
Contract Owner allowance-swarm.testnet
Vault Per-Tx Cap 0.50 NEAR
Vault Daily Cap (All Agents) 5.00 NEAR
Total Spent Today
vault counter — cumulative, not reset by the demo
0.00 NEAR
Allowlisted Merchant allowance-merchant.testnet
Kill Switch Mechanism set_paused(false)
Recorded Spend Ledger 34 transactions
Interactive Guardrail Playground · Try It Yourself Live Policy & Signer
Simulate any agent spend or admin call against live testnet state — or connect a wallet / key to broadcast on-chain
Presets:
4-GATE ENFORCEMENT EVALUATION ALLOWED
Passes all protocol & contract checks
Telemetry & Audit Trail
Live on-chain log and recorded protocol guardrail enforcement proofs
Filter:
Timestamp (UTC) Agent Identity Enforcement Verdict Attempted Spend / Action Protocol / Contract Outcome
Loading audit trail…
Direct Verification — Query Protocol Keys directly via Testnet JSON-RPC:
curl -s -X POST https://rpc.testnet.fastnear.com -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"query","params":{"request_type":"view_access_key_list","finality":"final","account_id":"allowance-swarm.testnet"}}'