TOKENSHARE / policy

POLICY

Platform Policy & Risk Notice. Seven short sections — what this is, what can go wrong, and exactly where the responsibility sits. Read it before you sell or buy.

MONAD TESTNET · 10143 POLICY VERSION · 2026-10-08
01

WHAT THIS ISthe prototype, in one paragraph

TokenShare is a decentralized marketplace prototype that lets sellers rent out unused LLM API quota per request. Buyers lock USDC in an on-chain escrow contract (Monad testnet); sellers are paid per relay-reported usage, backed by EIP-712 signed receipts; the un-captured remainder is refundable on-chain under the escrow rules. Shared mode is live on the platform TEE relay (single-relay mode remains available for self-hosted sellers); section 04 states exactly who holds keys in each.

02

TESTNET TOKENS ≠ FREE SERVICEchain ID 10143 · real costs still exist

This deployment runs entirely on Monad testnet (chain ID 10143) with test USDC and test MON. These tokens have no real-world value. Never send mainnet funds to any contract or address shown in this app. Test tokens do not make the underlying service free: upstream LLM providers and cloud infrastructure bill real money for real usage. A seller's upstream subscription, quota, and cloud spend are genuine costs with genuine consequences.

03

UPSTREAM PROVIDER TERMS — SELLER RISKsellers: read twice

Sellers share access to LLM provider subscriptions (e.g. Kimi, OpenCode Zen) through an upstream base URL and API key. You must be authorized to use the upstream endpoint and key you enroll, and you remain bound by your provider's Terms of Service. Many providers prohibit reselling, sharing, or redistributing account access. Selling quota through TokenShare can trigger suspension or termination of your upstream account and the loss of remaining quota or subscription value. TokenShare does not guarantee that reselling is permitted, does not appeal or mediate provider decisions on your behalf, and does not compensate you for any action a provider takes. Sellers act at their own risk.

04

KEY CUSTODY — TWO MODES, STATED PLAINLYnot zero-custody, not trustless

Single mode: the seller operates their own relay; API keys stay inside that relay and the platform never receives them.

Shared mode (live): a platform-operated shared relay inside a Trusted Execution Environment (TEE) — a Phala TDX CVM — receives seller API keys — encrypted at the application layer before transmission — processes them inside the enclave, and persists them encrypted at rest. The keystore holds the seller keys enrolled to date (Kimi and Qwen), and their listings point their endpoints at this TEE relay. Listings are owner-controlled and can change at any time — this page and the market always read the Registry live: the currently active listing is Kimi; a Qwen listing existed and was deactivated by its owner on 2026-10-09. This is not a zero-custody design and we do not claim the platform or any provider is fully trustless: trust shifts onto the TEE deployment, its operators, and its governance — the enclave runs under Phala Cloud KMS.

Attestation, stated with its limits: the running instance's DCAP quote has been verified locally with the open-source dcap-qvl verifier — its reportData binds the quote to the deployed identity (the relay signer and upload key) — and the app's attestEvidence record names the official Phala cloud verifier as the reference verifier for this deployment. The quote has not been compared against Intel's root of trust or reference measurement values, and the TEE itself is governed by Phala Cloud KMS. Treat attestation here as deployment-pinning evidence: it shows the serving process runs inside a genuine enclave, that the TEE-KMS-derived keys bind to it, and that the identity stays continuous — it does not prove that the code running inside the enclave equals the code in any published repository. Live cloud verification of the running relay is available in the console (the CLOUD VERIFY button asks the relay to run the verifier, and the copied curl lets you run it yourself); enclave measurements are pinned as soft evidence for now and are not enforced as a hard gate.

05

RECEIPTS, DELEGATES & ESCROW LIMITSwhat the cryptography does — and does not — prove

Every charge carries an EIP-712 signed receipt that anyone can verify. A valid receipt proves the signature and the integrity of its contents (usage, amount, payment id) — it does not prove that any LLM service was actually delivered, or that the reported tokens reflect a real completion.

In shared mode the seller explicitly authorizes an on-chain settle delegate. The escrow version that adds this opt-in delegate function is deployed on Monad testnet (chain ID 10143) at 0xe4D5…514c ↗. Both sellers enrolled in the shared deployment to date (Kimi and Qwen) have authorized the settle delegate — the TEE relay's signer 0x49CA…fb2D — and the flow is exercised for real: verified buyer calls and delegate settlements are on-chain and explorer-verifiable. Under this design the delegate could settle existing locks — up to the full maxAmount, even after the lock TTL — though funds would always accrue to the seller: the delegate could never redirect payouts or withdraw the seller's balance. However, a compromised delegate or TEE could settle a buyer's entire locked budget while delivering zero service. After any settle, only the un-captured balance remains refundable; captured amounts cannot be recovered by waiting out the TTL. Trusted deployment pins, independent hardware attestation, and sound KMS governance are real trust requirements of this design — we state them openly rather than hide them.

06

SERVICE INTERRUPTION — BUYER RISKupstream is outside our control

Service can degrade or stop without warning: an upstream provider may ban or rate-limit the seller's account, exhaust its quota, or change its API; a seller may revoke their enrolled key or deactivate their listing. When this happens mid-lock, the on-chain escrow refunds only the un-captured remainder under the escrow contract's rules — nothing already captured comes back, and no off-chain provider decision is reversible by this platform.

07

NO WARRANTYas-is, hackathon build

To the extent permitted by applicable law, this prototype is provided strictly as-is, without warranty of any kind — no SLA, no uptime guarantee, and no liability for loss of funds, accounts, quota, or data arising from its use. This notice is a plain-language risk disclosure, not legal advice and not a lawyer-drafted agreement. Use at your own risk.