# VKP Live On-Chain Demo — Output

**Run date:** 2026-04-20T01:13:33Z  
**Chain:** Base mainnet (8453)  
**Agent:** `0xfA15Ee28939B222B0448261A22156070f0A7813C`

---

## Step 1 — Create a KeyVault with On-Chain Spending Policies

Spending policies:
- Max per transaction: 0.01 ETH
- Max per hour: 0.05 ETH
- Max per day: 0.1 ETH
- Emergency freeze at: 0.5 ETH

**Transaction:** [`0x691e452c87ceef7cdc8d514f886351c45560402a5a68174812ffef53ca1abdfc`](https://basescan.org/tx/0x691e452c87ceef7cdc8d514f886351c45560402a5a68174812ffef53ca1abdfc)  
**Block:** 44929121  
**KeyVault:** [`0x698FCbC96d0fbB60170eE7F3d78e575479d24542`](https://basescan.org/address/0x698FCbC96d0fbB60170eE7F3d78e575479d24542)

On-chain verification:
- Owner: `0xfA15Ee28939B222B0448261A22156070f0A7813C`
- Max per tx: 0.01 ETH
- Max hourly: 0.05 ETH
- Max daily: 0.1 ETH
- Emergency threshold: 0.5 ETH
- Frozen: false

These policies are enforced ON-CHAIN. No prompt injection can bypass them.

---

## Step 2 — Create a Scoped Session Key (24-hour, limited)

Session key parameters:
- Session address: `0x788e6a9D59bB80E09026D4e070822937fCDc9ff7`
- Max per transaction: 0.005 ETH
- Total lifetime cap: 0.02 ETH
- Duration: 24 hours
- Allowed contracts: ANY

**Transaction:** [`0x5c1ebed1c3ab5721b9ceb649fb420b1192cfa01d9f62ec62fe5131f05eba588b`](https://basescan.org/tx/0x5c1ebed1c3ab5721b9ceb649fb420b1192cfa01d9f62ec62fe5131f05eba588b)  
**Block:** 44929124  
**Session ID:** #1

On-chain verification:
- Owner: `0xfA15Ee28939B222B0448261A22156070f0A7813C`
- Session key: `0x788e6a9D59bB80E09026D4e070822937fCDc9ff7`
- Max per tx: 0.005 ETH
- Total limit: 0.02 ETH
- Spent so far: 0.0 ETH
- Remaining: 0.02 ETH
- Expires: 2026-04-21T01:13:15.000Z
- Revoked: false
- Valid: true

This session key auto-expires in 24 hours. Even if leaked, it's worthless after that.

---

## Step 3 — Emergency Revoke (One Transaction)

**Transaction:** [`0x9f7b7b7e07e953b7f69570bd314969ac80f52249c7f830bcc3dcd8adb1079046`](https://basescan.org/tx/0x9f7b7b7e07e953b7f69570bd314969ac80f52249c7f830bcc3dcd8adb1079046)  
**Block:** 44929129

On-chain verification AFTER revocation:
- Revoked: true
- Valid: false
- Remaining: 0.0 ETH

Session key is permanently dead. Cannot be reinstated.

---

## Step 4 — Protocol Stats (Live On-Chain)

- Total KeyVaults created: 4
- Agent's vaults: 4
- Total session keys: 2

---

## Summary

| Metric | Value |
|--------|-------|
| Duration | 28.4s |
| Gas spent | 0.000007789839409061 ETH |
| Chain | Base mainnet (8453) |
| Transactions | 3 |

### What This Proves

- VKP contracts are live and functional on Base mainnet
- Spending policies are enforced on-chain (not client-side)
- Session keys are time-limited and revocable
- Emergency revocation works in a single transaction
- All data is publicly verifiable on BaseScan
- Private keys were NEVER exposed at any point
