{
  "about": "Claims Kakurega makes about its contract on NEAR, each with the exact request to POST to the RPC and the answer to expect. Reads only.",
  "network": "testnet",
  "rpc": "https://rpc.testnet.fastnear.com",
  "registry": "kakurega-registry-1ba6b2.testnet",
  "code_sha256": "991ce451eb453e4745644e6e24d9b1847cc88bb9f3519d1566ac976737730255",
  "verifier": "tee-verifier-2026-07-22.testnet",
  "fee_bps": 200,
  "registered_capsule": {
    "capsule_sha256": "71cb95bf7ca3ad984ff889c403bca5a83217533718aa95d747f0c4d604520aee",
    "capsule_signer": "f3e907329c0dafea7ee8f7fbf009ae16e410159f95466e2b7fd2a20786e36039",
    "receipt_count": 20,
    "order": "0",
    "file": "fixtures/near-live/sample.kkg"
  },
  "transactions": {
    "hardware_attested": "6fEy6Cq2KfPyjdsD4AgiVwEaUuCePB8d5Zt6cKATUzm2",
    "capsule_registered": "6GxywTdoWX74fiQmxhh293ux8UiWFEXnH8WWBmM4qJCd",
    "order_opened": "DbMMdEj7D3vwdYM9XdeFxm8jSuAM5b1VrhiwSuCFjE2T",
    "contract_deployed": "537xgnKqFUv2YiJhMREMLG8KFj3AUMQ3jw8XzVGfHY8j",
    "keys_deleted": "9XXFzd5hBhnTCgDnXz9X17Gc4UgUqQHfa2ZWzgFa3Pqe"
  },
  "verifier_code_sha256": "5083805590039ef8e06717c7c5f19f025bd912893acb945f04b29d3039e6ecef",
  "verifier_source": "named as the live testnet verifier in near/mpc docs/design/certificate-derived-attestation-expiry.md; contract source near/mpc crates/tee-verifier",
  "build": "reproducible: built twice in sourcescan/cargo-near:0.22.0-rust-1.99.1 by .github/workflows/contract-reproducible.yml (run 43646488381), commit 1ba6b29",
  "sample_capsule": {
    "url": "sample/review.kkg",
    "sha256": "71cb95bf7ca3ad984ff889c403bca5a83217533718aa95d747f0c4d604520aee",
    "model": "Qwen/Qwen3.8-27B",
    "model_key": "89154a43a47684742c3d1753252bb6f49f61da9d8c84fc9b1def2df130cb2d93",
    "signed_answers": 20
  },
  "claims": [
    {
      "id": "keys",
      "claim": "The registry account has no access keys, so its code and fee cannot be replaced.",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "query",
        "params": {
          "request_type": "view_access_key_list",
          "finality": "final",
          "account_id": "kakurega-registry-1ba6b2.testnet"
        }
      },
      "expect": "result.keys is an empty list"
    },
    {
      "id": "code",
      "claim": "The code on NEAR is the contract built from the repository.",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "query",
        "params": {
          "request_type": "view_account",
          "finality": "final",
          "account_id": "kakurega-registry-1ba6b2.testnet"
        }
      },
      "expect": "result.code_hash, decoded from base58 to hex, equals 991ce451eb453e4745644e6e24d9b1847cc88bb9f3519d1566ac976737730255 (scripts/check-deployed rebuilds and compares)"
    },
    {
      "id": "capsule",
      "claim": "The sample capsule on this site is valid and every answer in it is signed by one model key.",
      "request": null,
      "expect": "verify sample/review.kkg (the check page, or kaku verify): valid, 20 receipts, all signed by 89154a43a47684742c3d1753252bb6f49f61da9d8c84fc9b1def2df130cb2d93"
    },
    {
      "id": "hardware",
      "claim": "NEAR's TDX verifier contract vouched for the model key that signed the sample capsule's answers.",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "query",
        "params": {
          "request_type": "call_function",
          "finality": "final",
          "account_id": "kakurega-registry-1ba6b2.testnet",
          "method_name": "hardware",
          "args_base64": "eyJzaWduZXIiOiI4OTE1NGE0M2E0NzY4NDc0MmMzZDE3NTMyNTJiYjZmNDlmNjFkYTlkOGM4NGZjOWIxZGVmMmRmMTMwY2IyZDkzIn0="
        }
      },
      "expect": "result.result (bytes of JSON) has signer 89154a43a47684742c3d1753252bb6f49f61da9d8c84fc9b1def2df130cb2d93 and tcb_status UpToDate; method verifier returns tee-verifier-2026-07-22.testnet; that account has no access keys and its code hash in hex is 5083805590039ef8e06717c7c5f19f025bd912893acb945f04b29d3039e6ecef"
    },
    {
      "id": "order",
      "claim": "A capsule was registered for a paid order that required a hardware record, with its model signatures verified by the contract.",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "query",
        "params": {
          "request_type": "call_function",
          "finality": "final",
          "account_id": "kakurega-registry-1ba6b2.testnet",
          "method_name": "get",
          "args_base64": "eyJjYXBzdWxlX3NoYTI1NiI6IjcxY2I5NWJmN2NhM2FkOTg0ZmY4ODljNDAzYmNhNWE4MzIxNzUzMzcxOGFhOTVkNzQ3ZjBjNGQ2MDQ1MjBhZWUiLCJjYXBzdWxlX3NpZ25lciI6ImYzZTkwNzMyOWMwZGFmZWE3ZWU4ZjdmYmYwMDlhZTE2ZTQxMDE1OWY5NTQ2NmUyYjdmZDJhMjA3ODZlMzYwMzkifQ=="
        }
      },
      "expect": "receipt_count 20, order \"0\"; method order {\"order_id\":\"0\"} returns state Paid and require_hardware true"
    },
    {
      "id": "counts",
      "claim": "Live counts and the fixed fee.",
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "query",
        "params": {
          "request_type": "call_function",
          "finality": "final",
          "account_id": "kakurega-registry-1ba6b2.testnet",
          "method_name": "total",
          "args_base64": "e30="
        }
      },
      "expect": "a number as a string; orders_total likewise; fee_terms returns bps 200"
    }
  ]
}