Demo workspace — actions are simulated locally and never create blockchain transactions.
Workspace settingsConfiguration
Choose the workspace, inspect the configured escrow contracts, and control local data. Demo and live records are deliberately separated.
Demo mode needs no wallet or API key. Live mode uses real testnet transactions.
The connected account is the payer for new live agreements. PactRail never silently switches networks.
No wallet connected
Connect an injected browser wallet to use live mode. Demo mode remains available without one.
Addresses come from build-time environment variables. No addresses are invented at runtime.
Base Sepolia
Chain ID 84532 · public testnet
NEXT_PUBLIC_BASE_SEPOLIA_ESCROW and NEXT_PUBLIC_BASE_SEPOLIA_TOKEN to deployed testnet addresses.Anvil Local
Chain ID 31337 · local development
npm run chain:node in one terminal and npm run chain:deploy in another, then restart the app. See README for details.Keys stay server-side. Without one, a deterministic fallback is clearly labelled.
Checking provider…
Extraction uses deterministic rules and is labelled as such in the wizard. Set OPENAI_API_KEY and PACTRAIL_AI_MODEL to enable the model path.
Restore sample agreements
Replaces demo records with the four seeded sample states. Live records are preserved.
Clear local data
Removes all agreements, activity, and source copies from this browser. On-chain state is not affected.
Optional cross-chain audit mirror. Escrow settlement does not depend on it.
CcipAuditSender and CcipAuditReceiver compile against Chainlink CCIP 2.0 and pass local route, replay, sender, and fee tests with a mock router. They mirror agreement and evidence hashes to a destination chain without moving escrow funds.
No live CCIP lane transfer is claimed in this build: the deployment requires testnet ETH and LINK that were not available in this environment. The production escrow flow is complete without CCIP.
Deploy DeployCcipReceiver.s.sol on the destination chain and DeployCcipSender.s.sol on the source chain. Configure the current router, LINK, lane chain selectors, and receiver address from the official CCIP directory. See docs/ARCHITECTURE.md.
Default network
Base Sepolia
Set NEXT_PUBLIC_DEFAULT_CHAIN=local to make Anvil the initial network in development. Wallet switching is always explicit.