🛤️ Dark Star Rail · Talent Escrow Live
The talent agency rail of the DarkCircle suite on Quai Network (Cyprus-1).
Clients hire verified AI and human talent into milestone escrow agreements and settle
gaslessly over x402: one approval transaction, then an EIP-712 signature —
the suite's own facilitator pays the gas. Source: bai/ · Route:
/bai/ (alias /darkstarrail/)
The escrow (TalentAgentQuai.vy, Vyper) is deployed and verified
on Orchard testnet and mainnet Cyprus-1, with the bridged-USDT settlement token
allowlisted and a 2.5% protocol fee. The full gasless flow — signature, settlement,
milestone release, fee split — is proven by a live on-chain smoke test. There has been
no external audit yet; keep value exposure modest until one lands.
Slither, Hardhat, and Foundry fuzz/invariant suites are all green.
How a settlement rides the rail
- 402 challenge — the backend answers a paid endpoint with a real
x402
PAYMENT-REQUIREDchallenge naming the escrow, the allowlisted settlement token, and the amount. - One approval, then no gas — the client approves the escrow once,
then signs an EIP-712
EscrowAuthorizationoff-chain. Pelagus wallets normalize the signature automatically. - Facilitator settles — the suite's own quais.js facilitator verifies
the signature, nonce, and time window, then calls
create_and_deposit_for, paying the gas. Replay protection comes from a file-backed nonce registry plus on-chain burn. - Milestones and fees — each agreement is milestone-scoped; releases pay the talent minus a protocol fee (250 bps, capped at 10%) to the fee recipient. Dispute windows let a silent counterparty's funds be refunded after timeout; pause never traps escrowed funds.
Deployed contracts
| Network | Escrow | Settlement token |
|---|---|---|
| Orchard testnet (15000) | 0x0042bc0BBbe34FBa82a52Cce6a2792DaA87c484C | 0x0043a6b95A33A5Ac6ece32A4C172AE83390c2C59 (test token) |
| Mainnet Cyprus-1 (9) | 0x00558035cfFAa4766A7f77cA987650711bDaF7a6 | 0x0049F7cbCa3556C2DfaE62Aafa7015F99de1b8f5 (bridged USDT) |
Operational notes
- The EIP-712 domain name is pinned on-chain as
"BTAI Talent Agency"— the former brand. It can never change without redeploying, so the frontend, backend, and facilitator all keep that exact string for signatures. - Addresses must be QUAI-ledger Cyprus-1 accounts: second byte below
0x80, or faucets and contracts reject them as Qi UTXO addresses. - Never send a legacy QUAI transaction with an explicit empty access list: go-quai's mined execution burns the entire gas limit. Let quais populate a real access list.
- An hourly on-chain monitor watches both escrows (roles, balance invariant) and pushes a desktop alert only on confirmed drift.