Skip to content

Instantly share code, notes, and snippets.

@Meyanis95
Created February 26, 2026 14:06
Show Gist options
  • Select an option

  • Save Meyanis95/93c01b2d486489633655949997384483 to your computer and use it in GitHub Desktop.

Select an option

Save Meyanis95/93c01b2d486489633655949997384483 to your computer and use it in GitHub Desktop.
TEE Demo E2E Run Logs
┌─[1/12] Loading config from config.toml
┌─[2/12] Parsing private keys...
Sepolia deployer: 0x4EAebCBcD0A99aCa2E6A858e4bBe8a7d7cD4B2BA
Layer 2 deployer: 0x4EAebCBcD0A99aCa2E6A858e4bBe8a7d7cD4B2BA
Alice: 0x1236F10b67e0c850ebdDE714D2916ac057Cab363
Bob: 0x7767d590E5CD64Eb4B2f3fD1C95176974588dd58
┌─[3/12] Querying chain IDs...
Sepolia: chain_id=11155111
Layer 2: chain_id=534351
┌─[4/12] Setting up contracts...
Sepolia: using pre-deployed contracts
PrivateUTXO: 0xfFB63f721D8A876C737d2298D951E6cC0bE64280
TeeLock: 0xf6B35482ea5Ee576b5126c6163D0B971714237c8
Layer 2: using pre-deployed contracts
PrivateUTXO: 0xA531a7200bF7EB30AFe4Ec9eB84fF59080cDada1
TeeLock: 0xC7a58EFaD28B27443A300E44228B77f45021baE2
┌─[5/12] Creating RPC adapters...
┌─[6/12] Starting chain indexers...
Waiting for indexers to catch up...
Indexers caught up
┌─[7/12] Generating identities and funding notes...
Funding Alice on sepolia and Bob on layer2 concurrently...
sending transaction attempt=1 name="fund"
sending transaction attempt=1 name="fund"
Alice fund tx: https://sepolia.etherscan.io/tx/0xaeee55b36252f4bde26487534d733cb9b41f5b0c1c6aa43ec1375a6b7e1321c4
Bob fund tx: https://sepolia.scrollscan.com/tx/0x8556872524e514cb0bc4f538fdce5ef3ec5b0bf1ce20b9db2b156e7324bf4bef
┌─[8/12] Waiting for funded commitments to be indexed...
Alice note indexed at leaf #3
Bob note indexed at leaf #3
┌─[9/12] Creating swap terms and connecting to coordinator...
swap_id: 0x0a8bad238453cbd0
Coordinator: https://51.44.167.143:8443
┌─ TEE Attestation ──────────────────────────────────────────────┐
│ type: nitro
│ pubkey_hash: 0x0aab32d9b83c4b36ec0784676a825ca869e063b239b1d429080075cd15932c56
│ timestamp: 1772114673
│ nsm_doc: 4493 bytes (AWS Nitro COSE_Sign1)
└────────────────────────────────────────────────────────────────┘
┌─[10/12] Proving and sending lock transactions...
Alice ZK proof: 9024 bytes
Bob ZK proof: 9024 bytes
sending transaction attempt=1 name="transfer"
sending transaction attempt=1 name="transfer"
Alice lock tx: https://sepolia.etherscan.io/tx/0xe724c676aac0cd2e57ac8eaa8cc4a8e001c58359a5921af19b4580805318484f
Bob lock tx: https://sepolia.scrollscan.com/tx/0xa1a5fe04759fcb8c05b89eeae821fc97f670e2c3c24e4ccaab2b96fca715f43b
Waiting for locked notes to be indexed...
Alice locked note: leaf #4
Bob locked note: leaf #4
┌─[11/12] Submitting to TEE coordinator via RA-TLS...
Alice submitted -> status: pending
Bob submitted -> status: verified
TEE announce tx: https://sepolia.etherscan.io/tx/0x749171b790212b83619085e9ad09eceaa0a63d42ef92ac05633048c98e7a0c04
Waiting for on-chain confirmation...
Announcement confirmed on-chain
On-chain announcement verified independently
┌─[12/12] Proving and sending claim transactions...
Alice ZK proof: 9024 bytes
Bob ZK proof: 9024 bytes
sending transaction attempt=1 name="transfer"
sending transaction attempt=1 name="transfer"
Alice claim tx: https://sepolia.scrollscan.com/tx/0xaae46620278a320958976201921f93c19778451764154f569faaa4049867b8f8
Bob claim tx: https://sepolia.etherscan.io/tx/0xf86973cd27bddbfb7a1bf621746976791ff50c0c65f6b496916c55efc24375d9
╔══════════════════════════════════════════════════════════════════════════════╗
║ TESTNET DEMO COMPLETE ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Fund Alice https://sepolia.etherscan.io/tx/0xaeee55b36252f4bde26487534d733cb9b41f5b0c1c6aa43ec1375a6b7e1321c4
║ Fund Bob https://sepolia.scrollscan.com/tx/0x8556872524e514cb0bc4f538fdce5ef3ec5b0bf1ce20b9db2b156e7324bf4bef
║ Lock Alice https://sepolia.etherscan.io/tx/0xe724c676aac0cd2e57ac8eaa8cc4a8e001c58359a5921af19b4580805318484f
║ Lock Bob https://sepolia.scrollscan.com/tx/0xa1a5fe04759fcb8c05b89eeae821fc97f670e2c3c24e4ccaab2b96fca715f43b
║ TEE Announce https://sepolia.etherscan.io/tx/0x749171b790212b83619085e9ad09eceaa0a63d42ef92ac05633048c98e7a0c04
║ Claim Alice https://sepolia.scrollscan.com/tx/0xaae46620278a320958976201921f93c19778451764154f569faaa4049867b8f8
║ Claim Bob https://sepolia.etherscan.io/tx/0xf86973cd27bddbfb7a1bf621746976791ff50c0c65f6b496916c55efc24375d9
╚══════════════════════════════════════════════════════════════════════════════╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment