Going live

Herald runs on Concordium testnet today. This is what it takes to run it for real, and what I'd measure. No traction is claimed here because there isn't any yet. Rows marked Done have happened, with evidence; the rest is a plan.

Not audited. No outside security review of the code, the sponsor wallet handling or the payment path has been done. What this page says about mainnet is a plan, and Herald is testnet only for now.

0. The plan, 27 November 2026 to 31 January 2027

ByPlan
27 Nov 2026Done. The three Concordium ID attestations anchored on chain, one RegisterData tx each from the sponsor: f8d0a624…, 82ef3e97…, fe369e20…. Evidence: docs/evidence/e2e-2026-11-27-r2.md.
27 Nov 2026Done. herald-door published on npm (npm i herald-door): 0.1.0 on 27 Nov 2026, then 0.1.1 the same day with the free-tier IP fix (Vercel's own client-IP header, not x-forwarded-for) and package metadata.
27 Nov 2026Done. Read the mainnet registry addresses from contract_info with network: mainnet (read-only): <10082,0> CCDExplorer ↗ and <10081,0> CCDExplorer ↗, the same as Concordium's docs, on the same module versions as testnet. Evidence: docs/evidence/mainnet-registry-2026-11-27.md.
27 Nov 2026Done. A mainnet badge check in log-only mode (registry lookup only, read-only, no key, no money): pnpm check:mainnet-badge found the mainnet registry at <10082,0> CCDExplorer ↗ with 5,501 agents registered. Herald has no mainnet badge of its own, so none was checked. Evidence: docs/evidence/mainnet-check-2026-11-27.md.
27 Nov 2026Done. Mainnet config written behind a flag that stays off (HERALD_NETWORK=mainnet plus HERALD_MAINNET_ENABLED, in lib/network.ts): it refuses to start without a funded sponsor, and this build refuses to boot on mainnet at all.
27 Nov 2026Today: the door runs on Concordium testnet at useherald.vercel.app. No users, no partners.
31 Dec 2026Register a company, which the grants programme needs. Run the ops checklist below against testnet.
15 Jan 2027Fund a mainnet sponsor account for 5,000 sponsored admissions: €63.50 at the euro-pegged fee (5,000 × €0.0127, from 635 energy at 1/50,000 € each), in CCD at that day's rate.
31 Jan 2027One paid admission on mainnet at a tiny price (not audited), then a grant application with three milestones. First partner slot: open.

What a first outside publisher gets

Their own payTo (payments go straight to their account), their own price, receipts under their own name, and log-only mode first, so nothing is blocked until their numbers say so. It's one HERALD_PUBLISHERS entry, and /publish generates it. No publisher has signed up; the slot is open.

Ops checklist before mainnet

1. The mainnet switch

Mainnet is a config change plus a code change I deliberately haven't made. It is also not audited. lib/config.ts refuses to boot unless CONCORDIUM_NETWORK=testnet, and every signing script refuses too. To go live:

SettingTestnet (today)Mainnet
Chain id (CAIP-2)ccd:4221332d34e1694168c2a0c0b3fd0f27ccd:9dd9ca4d19e9393877d2c44b70f89acb
CIS-8004 Agent Registry<12802,0> CCDExplorer ↗<10082,0> CCDExplorer ↗
CIS-8 External Key Registry<12801,0> CCDExplorer ↗<10081,0> CCDExplorer ↗
gRPCgrpc.testnet.concordium.com:20000grpc.mainnet.concordium.software:20000
Explorerccdexplorer.io/testnetccdexplorer.io/mainnet
x402 networkCONCORDIUM_TESTNET_CAIP2CONCORDIUM_MAINNET_CAIP2

Steps: add mainnet to the allowed values in lib/config.ts, read the registry address from contract_info with network: mainnet at boot and compare it to TRUSTED_REGISTRIES, swap the network constant in lib/x402.ts, and run the full test suite plus one paid admission with a tiny price before announcing anything.

2. Real identities

On mainnet the Identity Providers are real KYC providers, so "a person stands behind it" means a document check, not a mock identity. Herald still only learns that the statement holds (a real person, over 18, birthday never shown, stands behind the badge) and the IdP's name. For users in Nigeria, the plan is to point people at whichever Concordium IdP accepts a NIN-backed identity; I will confirm which providers do before launch rather than guess here.

3. Sponsor account and fees

Who gets what today, plainly: the publisher gets the full price, Herald pays the network fee, and Herald earns nothing. Herald's facilitator sponsors every payment, so paying agents need no CCD for fees, and the whole price goes to the publisher's own payTo. The fee is Herald's cost: one sponsored simple transfer per admission. (On the demo the publisher is The Herald Dispatch, my own dev log.) The door records the sponsor's cost of every settlement from the finalized transaction.

Measured on testnet: 635 energy per sponsored CCD transfer. Fees are pegged in euros (the chain's EUR per energy is 1/50,000, on both testnet and mainnet), so one admission costs €0.0127 whatever CCD trades at. In CCD it came to 5.079346 CCD on f37c09e9… and 5.197665 CCD on the first paid admission, bf32ec8e…, because the CCD price moved.

Per paid sale (testnet, measured)CCD
The agent pays the publisher7.00
The agent pays in fees0 (sponsored)
The publisher receives7.00, the full price
Herald pays the network fee5.079346 (€0.0127)
Herald earns0
Herald's net cost per admissionthe fee, 5.079346 CCD (€0.0127)
Requests the pass coversup to 50
Price per article at full use0.14

A pass works like a ticket: bought by the badge's registered wallet, good for 15 minutes or 50 requests, and usable by whoever holds it, so the fee is paid once per pass, not once per request. The door refuses to run the paid path if its CCD price is below HERALD_FEE_FLOOR_MICROCCD (default 5.2 CCD) × 1.2, so a sale is never smaller than the fee Herald pays to take it. I'll publish the measured mainnet average from the first 100 admissions.

A planned mainnet fee (a plan, not revenue). On mainnet, when Herald holds the door for other API owners, I plan to charge a fee on each admission, first to cover the sponsored network fee and then the cost of running the door. I haven't set its size and nothing like it exists today. Herald has earned nothing so far.

4. Pricing in stablecoins

The stablecoin path is built: HERALD_PRICE_ASSET=EURR (or USDR) with HERALD_PRICE_ATOMIC makes the door's 402 ask for that protocol-level token, and @x402/concordium reads its decimals from chain on the paying side. A unit test checks the EURR 402. The live demo stays in CCD because testnet EURR has no public faucet; Concordium issues it on request. Meanwhile /api/p/dispatch-eurr/fast-lane is a labelled EURR door: without a badge it shows the EURR quote (0.1 EURR, the payee, quoteOnly: true) with the banner "Quote only: Concordium hasn't issued testnet EURR to Herald yet"; with a badge it returns a real x402 402 priced in EURR; and it refuses any payment until HERALD_EURR_ENABLED=true. Once a Herald account holds test EURR, that's the one switch. If Concordium issues Herald its own test token instead (metadata at /plt/htusd.json, HTUSD, no value), the same door can price in it.

5. How people would actually use it

  1. Middleware package herald-door (0.1.1 on npm, npm i herald-door) for Next.js, Express and Hono: one line in front of a route, calling /api/check (free) or running the full door (paid).
  2. An MCP server that wraps any tool: an MCP tool call goes through the door first, so a tool owner can require a badge and a payment per call.
  3. An A2A gateway: Herald sits in front of an A2A agent and checks the calling agent's card and badge before forwarding.

Payment finality is about 10 seconds, so paying per request suits pay-per-report APIs, not chatty ones. For those, the door will issue a short-lived access token after one payment: bound to the badge, signed by Herald, valid for N requests or M minutes. The badge check still runs on every request (cached), so a revoked agent is cut off within a minute.

Three segments I'd go after, in this order. None of them is a partner; I haven't talked to anyone yet.

  1. Indie and news publishers who are being crawled by AI agents and want paid access for the accountable ones without losing their free readers. That's what The Herald Dispatch demonstrates.
  2. Paid data and API sellers already on x402, who have the payment part and lack a way to know who's paying.
  3. Metered MCP tool servers, where every tool call costs the owner money and a badge plus a pass is a cleaner gate than an API key.

The install path for all three is log-only first: a week of numbers on how much of their agent traffic already carries a valid badge, then enforce.

6. Abuse model

AttackWhat stops it
Copying someone else's badgePayer binding: the payment must be signed by the badge's registered agentWallet. The facilitator verifies the signature against the account's on-chain keys. A copied badge fails before any funds move.
Swapping the agent's card after registrationHerald re-fetches the card and compares its SHA-256 with the hash pinned on chain, as well as trusting the registry's own check.
Replaying an old PAYMENT-SIGNATUREConcordium account nonces make a settled transaction unrepeatable; Herald also refuses a payment header it has already seen. Expiry is at most 5 minutes.
A revoked agent still getting inThe badge check is cached for 60 seconds, so revocation reaches the door within a minute. A paying customer could set this lower at the cost of more registry calls.
Draining the sponsorSponsoring only for registered payees, per-seller budgets, the demo runner's per-IP and daily caps.
Registry or chain downFail closed: the door refuses with "I couldn't reach the Agent Registry, so I'm keeping the door shut." Nobody is let in on a guess.
Fake registryOnly registries on the TRUSTED_REGISTRIES allow-list are accepted.

7. Funding

The Concordium grants programme pays in milestone tranches and needs a registered company. Plan: register a company, then apply with three milestones (mainnet launch with one paying API, middleware package with two integrations, stablecoin pricing and per-seller budgets).

8. What I'll report

Only numbers the receipts table can produce: admissions and refusals per week, refusals by reason (no badge, revoked, borrowed badge, card changed), distinct agents (by badge), distinct owners (by owner hash), sponsored fees spent, and median time from knock to admitted.

This page is built from docs/GO-LIVE.md in the repo.