<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Relay · Agent workspace</title></head><body><p id="loading" role="status">Opening Relay from Base Sepolia…</p><div id="root"></div><script>// The build replaces RELEASE with immutable transaction hashes.
(async function openRelease(release) {
  const rpcs = [
    "https://base-sepolia-rpc.publicnode.com",
    "https://sepolia.base.org",
    "https://base-sepolia.drpc.org",
  ];
  const status = document.querySelector("#loading");
  const hex = (bytes) =>
    Array.from(new Uint8Array(bytes), (b) =>
      b.toString(16).padStart(2, "0"),
    ).join("");
  async function readTransaction(hash) {
    for (const endpoint of rpcs) {
      try {
        const response = await fetch(endpoint, {
          method: "POST",
          headers: { "Content-Type": "application/json" },
          body: JSON.stringify({
            jsonrpc: "2.0",
            id: 1,
            method: "eth_getTransactionByHash",
            params: [hash],
          }),
          signal: AbortSignal.timeout(9000),
        });
        const tx = (await response.json()).result;
        if (
          tx?.hash === hash &&
          tx.blockHash &&
          tx.from.toLowerCase() === release.owner &&
          tx.to.toLowerCase() === release.owner
        )
          return Uint8Array.from(tx.input.slice(2).match(/../g), (pair) =>
            parseInt(pair, 16),
          );
      } catch {}
    }
    throw Error("No network endpoint returned the published application.");
  }
  try {
    async function load(part){
      const chunks=await Promise.all(part.transactions.map(readTransaction)),bytes=await new Blob(chunks).arrayBuffer();
      if(hex(await crypto.subtle.digest("SHA-256",bytes))!==part.sha256)throw Error("Release digest mismatch.");
      return new Response(new Blob([bytes]).stream().pipeThrough(new DecompressionStream("gzip"))).text();
    }
    async function reconstruct(part,depth=0){
      if(depth>8)throw Error("Release ancestry exceeds the supported depth.");
      const body=await load(part);
      if(!part.base)return body;
      const parent=await reconstruct(part.base,depth+1);
      const full=JSON.parse(body).map(op=>typeof op==="string"?op:parent.slice(op[0],op[0]+op[1])).join("");
      if(hex(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(full)))!==part.finalDigest)throw Error("Reconstructed release digest mismatch.");
      return full;
    }
    const files=JSON.parse(await reconstruct(release));
    window.__RELAY_RELEASE__ = files.network;
    const fontLinks = new Map(
      files.fonts.map((item) => [
        item.name,
        URL.createObjectURL(
          new Blob(
            [Uint8Array.from(atob(item.bytes), (c) => c.charCodeAt(0))],
            { type: "font/woff2" },
          ),
        ),
      ]),
    );
    const style = document.createElement("style");
    style.textContent = files.css.replace(
      /url\((["']?)([^)"']+\.woff2)\1\)/g,
      (full, _, name) =>
        fontLinks.has(name.split("/").pop())
          ? "url(" + fontLinks.get(name.split("/").pop()) + ")"
          : full,
    );
    document.head.appendChild(style);
    const module = document.createElement("script");
    module.type = "module";
    module.src = URL.createObjectURL(
      new Blob([files.module], { type: "text/javascript" }),
    );
    module.onerror = () => {
      status.hidden = false;
      status.textContent = "Could not open this release. Reload to retry.";
    };
    document.body.appendChild(module);
    status.hidden = true;
  } catch (e) {
    status.textContent = e.message + " Reload to retry.";
  }
})({"owner":"0xbadefac5b2461113d6bbb18a85a33a208601790b","sha256":"af9eccff042149bdf4e97b02ab29b761740c1bf3111c2953712af38d486bc3e6","transactions":["0x736b192621867f36332e509c2b1dccec48f3008442ae8b47d233715faa9d74d8","0x913beb9ae7760d62373f71a0ec9d9954385b6a8e6763c99478049d794f17b9e0","0xad64bc4eb18d549f458f7f43a8304360a5828436c16e574811147a3be3dfe0ec","0x034d45ed41469957420dcdc4c22b283b3a24a1150075dc3b2836d8ffc6782274","0xd76e3016376923885dfd50eb32b1a7cfc75527b2da655b36d195fb139e26c213","0xf3ee27744482fed6b0c1856c9004d9950e909ee90b7c19c96db9c68f66b18bfe"],"base":{"transactions":["0x19c2e7bb9de2de097c7aa0180a2f9470ddecca8e9c88a18679fd903e5fab3199","0xad7eecbc52d6bdbddb9b9933e5b59f62e83e9793a89504b63d33a853683f56d7","0xc980365dcd266309d849778168654317f94c3283698efad9c753d9eab83174b7","0x10bebd5e82849a8fd44d6a09fc0fb495922e204517ddf05bbf40010c8a6e7652","0xb588ccdbbc5c39845e57fb1d3e480cea904d4c5c2535bfe33aa02aca862df3c6","0x6ba820d56922b8d96bdc79aa35d7ac7f31b4696bb18c082349ea305cd482d00c"],"sha256":"112430982cc5580e8f89a70bfd6340fd07dd342b73b5942fc0c8bb94dd0acd51","base":{"transactions":["0xc5a1e6b1e642abcf7152877d953d6b24623fe4ead5b77f05a6771cfc85ec7d3a","0x86ac669830fafa3d767604c19663019bc58dbb562caa4dd9778a228ab1a6f70a","0x9e5f589d6b86dcbaafc9b3f8b65290e7a41bf230e9a8295f36597fe0d67f95e4","0xb07b9d076e6daee85548df71665343cf8183823566c642e8db5c9bf947e6c4d6","0x1208761cfebf9a26a99178b7ff3c47955e218530105a3741b2887ff9f7ec9ec6"],"sha256":"299647c45a572bcead140e97fdc27f7724496fb3a1be0c1fdc2e97071bd7c6b3","base":{"transactions":["0x9eaa959c9c09aff639d52e4da00fb5f272d61b796a3daca717961d5477431b15"],"sha256":"a440f554cc4b34510528c8fe0bfa114410b4ba206db37a4621f6d02ed8435a8b","base":{"transactions":["0x8ae3dad1d997ce87fc31f88a1dbfcbd17a290a7dc7b3699cc868b493e3044233","0xe597711b59c415415594b0c03d8fb46cc2b9b51e185915939ca357d4f757ddc0","0xf4e376187774f3f861a7862122e3fe18201bbf1f5854355be750990e16f457d8"],"sha256":"a1d13389bf8b62759672f3ea3f1eca1488085f522f8e3018055063b38e99e44c","base":{"transactions":["0x59ceceace126cb8721c3540adc7b9c767dc62c6cc7e844d2ab1583467fc90568"],"sha256":"656020ec2eead2fc3c09554ff46a6e19963783be026cc45fe5bf12e8780c6c03","base":{"transactions":["0xbd9d21fccb2c7309570976459afdd605892a6c025a863c635dd1865e01ca9870","0x04f6415d00e7be1476f359143fe8d25404a235378ce29981427e80fdd6348fbd","0xd8a734d167518d3e7c78811f9545ebff6aac019b17bf10047b3c1d4fe3a6747b"],"sha256":"0e03b9b966cc95b7c18d22aafbbb00a440cab67cc8066942e61334d1782ffcff","base":{"transactions":["0x9194fb8fda87e95f9b955700c1d7615590358170f65d60a347cc793ce6c80985","0x4cd36f81149067a832b2a601e3ac7483bd41170b7c4b90e00474a16fe566e0a4","0x000a6e493bee9b28e415ed22634027708424e9055843231df3c091d9fc0dadfd","0xb5d6d2f549984a797dc9a0f7d6b23ad305c5b69af4c122895093e9d97fe8782a","0x1305603c51d08dfc2e1517907c0cc85066abacf7b545d3bddb43033bba10746d","0x3f07eae22ed9396d93b9c07844f0e86a6c9854445629b53b0143274f48ba669c","0x51bfa2cf4ddb16a4c3027cefe467f35d24fe14ca9197d6c30399d9df6d40292b","0x233e91c9a3d024c477c6acf4bd728e8389374640ea9919deabad90a76f9de37d"],"sha256":"ffb1ee41abe1cb533350929aa62650b90550fbf9509d89d1b406abba3004a3b6"},"finalDigest":"1748ba4c8621aa68e74ead29d660a5d9c712ca0378ba27ddfb4f398e8dbbdbfa"},"finalDigest":"75ce46255d98d39756733dd08126f55558bfcdf1286288b8e4dbf2fb598c6d06"},"finalDigest":"51234c0590ccc1d5775c54323553752e02fa61594ed3057933371c576353dbbe"},"finalDigest":"35716ecb53a1f5259021a4a4632a69f2c78c6ee22980fd50b3baefea64330a3e"},"finalDigest":"2c0bb4533c8c8fb819676a764343c44ccc02656f69022d1acfcb1a7c1e08bbfa"},"finalDigest":"2d9ca55c8c21743cda48bbc754bc9e99bfcbdbe796a3f6e91e85a63e42baf7c6"},"finalDigest":"42f10038fd96261077ca7785d2c8985eaab4bf0c2e23b35e65fdbab2141cbd9b"});
</script></body></html>