Built for Build Before Q-Day. Live on the QoreChain testnet, qorechain-diana. Read the source
For dApps and agents

Ask for the window you need. Nothing wider.

Today a QoreChain dApp has to tell its users to open an EVM window by hand, and the wallet can only make an unscoped one. With one call your app states its contracts, count, cap and duration; the user sees your origin and approves in their wallet.

Try it

This page plays the dApp. It asks for 3 transactions, 0.5 QOR, about 10 minutes, to the one address below (the testnet fUSD token by default).

The whole integration

// npm install @fenestella/connect
import { requestWindow } from "@fenestella/connect";

const granted = await requestWindow({
  reason: "Pay this month's invoices from the Bills contract.",
  allowedTargets: ["0xYourContract"],
  maxTxs: 10,
  maxValueUqor: "2000000", // 2 QOR, value plus fees
  blocks: 1200,            // about an hour
  network: "testnet",
});

// granted.window is what the chain now reports for the account.
// Send your EVM transactions; the chain refuses anything outside it.

The caller never chooses what the user sees: Fenestella restates the bounds in words, shows the origin the browser reports, and returns the window as the chain stores it. Use windowCovers() to skip the request when a suitable window is already open.