Verify the agent

Everything on this page is read live from NEAR testnet and Robinhood Chain testnet in your browser. Nothing here comes from a Mistline API. Your browser reads both chains directly.

01What runs where

PartRuns onOn testnet
Order keyNEAR MPC confidential key derivation, released only to a registered agent of the contractReal
AgentPhala Cloud, Intel TDX, dstack 0.5.15, tdx.smallReal, runs in test windows
Fill signaturesNEAR Chain Signatures (v1.signer-prod.testnet), hash-only signing with an hourly capReal
Onchain checksVeilstopEscrow: commitment, fresh price, trigger, slippage floor and pool deviation on every fillReal
Price feed and poolTestnet has no Chainlink feed or Uniswap v3, so Mistline runs its own feed and pool per market. A mirror script on our server copies the mainnet Chainlink price of each market (TSLA, AMZN, PLTR, AMD) every 5 minutes while mainnet is fresh, so testnet goes stale when mainnet does.Stand-in
Private copilotNEAR AI Cloud private inference (GLM 5.3 Flash in an attested enclave). The browser verifies the attestation, encrypts the chat to the model key and requires an enclave-signed receipt. A Pages Function on this site adds the API key and forwards only encrypted chat for this model, rate limited per address. It never sees the plaintext and cannot place orders.Real
Earnings datesA second Pages Function reads report dates and regular-session prices from Nasdaq for the ticket's earnings note. The browser sends it only the ticker, every visitor gets the same cached answer, and it has no key and no part in orders or fills.Info only

02Agent contract on NEAR

Requires a TEE
Owner
Attestation window
Order public key
Order key version
Signatures this hour

03Approved code

Approved sets
App compose
Served file
Image
MRTD
RTMR0 to 2
MPC CKD key
Key provider

The contract accepts an agent only if Intel's signed quote shows exactly these values. MRTD and RTMR0 to 2 are recomputed below with dstack-mr from the public dstack 0.5.15 image.

04Reproduce the measurements

Anyone can recompute the four boot registers from public artifacts with dstack-mr, Phala's measurement tool, built from the dstack source at the tag of the guest OS the agent boots. You need bash, curl, git and Docker. RTMR3 is not precomputed: it carries the app compose hash and the key provider, which the contract checks against the approved values above. RTMR0 also covers the ACPI tables, which come from the QEMU build in Phala's dstack verifier image.

OS image
dstack-0.5.15, os_image_hash 4597735f1a38ad8ec9f781356b88737fc052062deb7c9aaa4be89bf1b35643ca
dstack-mr
v0.5.15 at 95f2351ad6cb9419569c7f59ffac02b7e6d2cbc5
VM
tdx.small, 1 vCPU, 2G memory. Phala's hosts add the TD pages in two passes and keep the legacy PIC on, as QEMU 8 does, hence --two-pass-add-pages true --pic true
Last run
Thu 3 Dec 2026, 01:01 UTC
# 1. The dstack guest OS release the CVM boots
curl -fLO https://github.com/Dstack-TEE/meta-dstack/releases/download/v0.5.15/dstack-0.5.15.tar.gz
echo "6f74f48f6d7aaf6fd17b952cd556f6709a70a5eb5c36086e3478b9bafa723a52  dstack-0.5.15.tar.gz" | sha256sum -c
tar -xzf dstack-0.5.15.tar.gz
sha256sum dstack-0.5.15/sha256sum.txt   # os_image_hash 4597735f1a38ad8ec9f781356b88737fc052062deb7c9aaa4be89bf1b35643ca
(cd dstack-0.5.15 && sha256sum -c sha256sum.txt)
# 2. dstack-mr v0.5.15 built from source
git clone --depth 1 --branch v0.5.15 https://github.com/Dstack-TEE/dstack.git
git -C dstack rev-parse HEAD   # 95f2351ad6cb9419569c7f59ffac02b7e6d2cbc5
docker run --rm -e RUSTUP_TOOLCHAIN=1.92.0 -e CARGO_TARGET_DIR=/tmp/t -v "$PWD/dstack:/src:ro" -v "$PWD/bin:/out" -w /src \
  rust:1.92.0-bookworm@sha256:e90e846de4124376164ddfbaab4b0774c7bdeef5e738866295e5a90a34a307a2 \
  sh -c 'cargo build --release --locked -p dstack-mr-cli && cp /tmp/t/release/dstack-mr /out/'
# 3. Measure tdx.small (1 vCPU, 2G) inside the dstack verifier image, which has the QEMU build dstack-mr needs
docker run --rm -v "$PWD:/w:ro" -w /w --entrypoint /w/bin/dstack-mr \
  dstacktee/dstack-verifier:0.5.11@sha256:06a20b777e59196c7f54b0cd02ffe567df6d05ae39a0b2fea9cb0642fb23c1fd \
  measure -c 1 -m 2G --two-pass-add-pages true --pic true --json dstack-0.5.15/metadata.json | jq '{mrtd,rtmr0,rtmr1,rtmr2}'
# 4. The approved sets on veilstop-agent-tee-fe2d65.testnet, to compare with the output above
curl -s https://rpc.testnet.near.org -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"query","params":{"request_type":"call_function","finality":"final","account_id":"veilstop-agent-tee-fe2d65.testnet","method_name":"get_approved_measurements","args_base64":"e30="}}' \
  | jq -r '.result.result | implode' | jq '.[].rtmrs | {mrtd,rtmr0,rtmr1,rtmr2}'

Expected output

{
  "mrtd": "20038376b145055508e1a8538a864857e8180f989ea8aac4954d432c494872aa48e6946b381fe6bb28d8b9e703ed65d3",
  "rtmr0": "68102e7b524af310f7b7d426ce75481e36c40f5d513a9009c046e9d37e31551f0134d954b496a3357fd61d03f07ffe96",
  "rtmr1": "786417fa26b5d90d1289025506055e511ff09fd608f4727bb3cf159279a52af23117b6248024d0b186aceabebf6f86ec",
  "rtmr2": "255b32bf5ea23ac7f1d2b94926a500abb532d6f640d26dd5c07eff7011bac2f271420a433a4c0041cad889009296ffae"
}

From a clone of the Mistline repository, cd agent && npm run measurements runs the same steps and compares the result with the contract's approved set.

05Registered agents

Liveness

A registered entry only proves an attested agent started: the contract checks an agent when it calls, so a dead machine stays listed until its attestation runs out or someone prunes it. This site therefore also reads the agent's status page (through its own relay, cached 15 seconds) and calls the agent stalled when its trigger loop has not ticked for 3 minutes. The page carries health numbers only, never an order.

06Agent address on Robinhood Chain

Escrow accepts
Derived for the contract
0x33bdE2dA8e28817D8AbbB816285C8DAc9712fc93
Match

The address is derived by NEAR Chain Signatures from the agent contract's account and the path veilstop-robinhood-1. No single machine holds its private key.

07Owner changes

Change delay

A new agent address, or a new feed, pool or check for an existing market, waits this long after the owner queues it, so you can cancel your orders before it applies. A queued change lapses after it becomes ready. Pausing, disabling a market, enabling it again on the same settings and order limits take effect at once.

08Fills

A trigger becomes public only when its order fills. Until then the chain holds a commitment and the agent holds the ciphertext.

OrderMarketRevealed triggerFeed at fillPoolReceived, floorTransaction
Reading the escrow

09Measurement history

WhenCallApp composeMRTDTransaction
Reading NearBlocks and the transactions

The list comes from NearBlocks, and each row's values from the transaction itself on an archival NEAR RPC.