05 · The codewhere is it, and how do I run it?

Open-source code, SDK packages and the public testnet

MintID is an open-source identity protocol, and its whole implementation is public in one main project. The released packages are on PyPI and npm, and the holder binary builds from the main project. A public testnet with a KYC sandbox whose outcomes you choose is the only deployment where a third party may test, and nothing issued there carries weight.

STATUS: LIVENOTHING ISSUED CARRIES WEIGHTTEST TOKENS: NO VALUE
The component

The code

The whole implementation is one main project under the Apache License 2.0, with read-only mirrors for the client libraries. Released versions are on PyPI and npm. MintID’s wire contracts are published as MintID Improvement Proposals, and its transports follow open standards, among them OpenID for Verifiable Credentials and OAuth 2.0 Token Exchange. Every deployment runs the same verifying core, and you run your own verifier. The public testnet is the only deployment a third party tests on. The revocation trace times the revocation bounds against a running deployment.

PROOF

What it proves, and what it does not

Proves

  • Every deployment runs the same single verifying core. The client libraries and the Model Context Protocol (MCP) server carry no cryptography and no policy.
  • The public testnet runs the same software and chain parameters as the single-node production chain, with its own chain and keys.
  • The revocation bounds hold against a running deployment. The trace records the last accepted decision, the first refusal and the root that carried the revocation.

Does not prove

  • The proof does not prove which configuration the agent started with, where it ran or which calls it made. That is provenance, a separate layer, explained in the glossary.
  • It does not make a testnet decision carry weight. Its sandbox issuer verifies nobody, and nothing issued there says anything about any person.
  • It is not an audited implementation. No independent security audit has been completed. Audits are scheduled milestones, and their findings will be published.
The code

Where the code and the packages are

A · The code

The main project and its read-only mirrors

The code. MintID’s implementation is open source under the Apache License 2.0. The main project holds all of it: the chain, the proof core and the holder library, the verifier and issuer services, the self-revocation relay, the SDKs, the test harness, a local stack that runs on your machine, and the developer documentation.

ProjectWhat it is
https://gitlab.com/mintid/mintidthe main project: the whole implementation; issues and merge requests go here
https://gitlab.com/mintid/sdk-typescriptread-only mirror of the TypeScript client
https://gitlab.com/mintid/verifier-mcpread-only mirror of the MCP server
https://gitlab.com/mintid/sdk-holderread-only mirror of the holder in WebAssembly (@mintid-net/holder)
https://gitlab.com/mintid/sdk-pythonread-only mirror of the Python agent client
https://gitlab.com/mintid/sdk-goread-only mirror of the Go holder binding

The specifications whose requirement identifiers the code cites are not part of the repository.

Contributions are welcome as issues and merge requests on the main project, signed off under the Developer Certificate of Origin. We answer them on a best-effort basis, and there is no service-level agreement.

Reporting a vulnerability. Write privately to security@mintid.net. Never open a public issue, merge request or discussion for a suspected vulnerability. There is no bug bounty programme today and no response-time commitment. No independent security audit of this implementation has been completed. Audits are scheduled as quality milestones, not as preconditions of a release, and each audit’s findings will be published with their remediation when it closes.

B · SDKs and MCP

The verifying core, the client packages and the MCP server

The verifier is your own service. A relying party runs the verifier SDK inside its own backend, or as a service next to it. It makes the decision on its own infrastructure. Every deployment runs the same single verifying core. The clients and the MCP server carry no cryptography and no policy. Pointing them at somebody else’s verifier would hand that party the decision.

The packages. Released versions are on PyPI and npm. The main project, or its mirror where there is one, is their source and can be ahead of them.

PackageWhat it isVersionInstall
mintid-verifier-sdk (Python)the verifier: one verifying core with the proof engine compiled in0.10.0pip install mintid-verifier-sdk
@mintid-net/verifier-client (TypeScript, Node)a transport-only client of your own verifier service, with the holder and agent clients0.9.0npm install @mintid-net/verifier-client
@mintid-net/verifier-mcp (TypeScript)an MCP server: three of the verifier contract’s four operations (not checkStatusRoot) as agent tools, over stdio or Streamable HTTP0.5.0npm install @mintid-net/verifier-mcp
mintid-agent (Python)the agent client: credential custody, witness refresh (updating the proof of inclusion in the latest status root), and the identity leg of a paid request0.10.0pip install "mintid-agent[ed25519]"
@mintid-net/holder (TypeScript, browser and Node)the holder in WebAssembly: the holder library compiled to WebAssembly, with no storage and no network of its own0.5.0npm install @mintid-net/holder
gitlab.com/mintid/sdk-go (Go)the Go binding of the holder libraryv0.20261123.1go get gitlab.com/mintid/sdk-go/holder

The versions above are from release public-v2026-11-23.1. They are built on mintid-proof-core 0.9.0 and the holder binary mintid-holder 0.7.0. The holder in WebAssembly is documented on its own page: @mintid-net/holder.

What to do: upgrade every holder and every verifier to these versions together. A presentation now carries format version 4 and lives 30 seconds, and a verifier of this release refuses presentations of the earlier format; every identity policy asks unexpired, and a request asks for one credential. This release comes with a new chain on the public testnet (mintid-testnet-4) and on the single-node production chain: nothing registered or issued on an earlier chain carries over, so register your verifier again (with a grant) and have every credential and agent issued again.

Every release carries a signed manifest of what it published. Verify a release explains how to check a package or an image against it with the release key alone.

Check a real presentation yourself. Your browser verifies a synthetic presentation with the verifier’s own proof core, compiled to WebAssembly. Nothing is sent anywhere.

Platforms. mintid-verifier-sdk and mintid-proof-core compile the Rust proof engine in at a pinned version. The registry carries a prebuilt wheel for Linux x86-64 only. On any other platform (macOS, Linux on ARM, Windows), pip builds the package from its source distribution, which needs a Rust toolchain. The same holds from a clone of the main project when you run pip install ./verifier-core and pip install ./identity-proof-core/python. The TypeScript identity and agent modules and the Go binding drive the mintid-holder binary. This binary is not on a registry, so you build it with cargo build --release -p mintid-holder in identity-proof-core/.

Network profiles. mintid-proof-core, mintid-agent, @mintid-net/verifier-mcp and the Go holder binding carry the same network registry. MINTID_NETWORK=testnet or --network testnet selects the public testnet. python3 -m proof_core.networks testnet --shell prints its endpoints as shell variables for the commands in this documentation. An endpoint you set yourself wins over the registry everywhere.

The install lines are in the developer documentation, starting at Getting started.

Agents that prove their principal’s age. An agent credential of profile agent_v2 carries the age threshold its principal proved when the agent was minted. It proves age_over N against that threshold. The verifier learns age_over_<N> and nothing else. It does not learn a date of birth or an identity. Ask for it with a challenge of profile: "agent_v2" under verifier contract 1.7.0. This profile is available in production and on the public testnet.

Accept accountable agents. Let your own customers’ agents in, each under a cap and an approval rule you keep, and keep every other agent out. A customer signs in to your service and connects an agent once. Your verifier learns that an accountable principal stands behind it at the grade you require and within the scope you ask. It also learns a pseudonym for that agent at your service only. Your verifier never learns who the principal is, which other agents they run, or where else the agent goes. Every later request carries a fresh 30-second presentation, and your ledger keys the cap by the pseudonym. When the principal switches the agent off, every relying party refuses its presentations within the published bound. Paid routes use the x402 middleware. Ordinary APIs can use the OAuth token-exchange bridge, which is a draft at version 0.1.0.

22. Accept accountable agents is for a business that lets its own customers’ agents in and keeps every other agent out. It covers connecting an agent by its pairwise pseudonym, keeping the cap in your own ledger, and seeing revocation as a refused presentation. It also covers the x402 middleware beside the draft OAuth bridge, and how this compares with a platform’s own agent profiles.

Try the tools on the public testnet. Add the testnet’s MCP endpoint to an agent runtime, for example Claude Code:

claude mcp add --transport http mintid-testnet "$MINTID_TESTNET_MCP"
claude mcp add mintid-testnet -- npx -y @mintid-net/verifier-mcp --network testnet

Its challenges are bound to the testnet’s sandbox verifier, so its decisions carry no weight. If a decision gates your business, run the server yourself, in front of your own verifier.

The MCP server page explains what the three tools do and where the trust boundary sits.

C · Sandbox

How the public testnet and KYC sandbox work

Status: live.

The public testnet. The public testnet is the only MintID deployment a third party may use to test. It runs the same software and the same chain parameters as the single-node production chain, with its own chain, keys and hostnames. The single-node production chain is never a place to test. Admitted verifiers run there under the published admission policy.

Which release the public testnet runs. The testnet usually runs the latest public release (a public-v… tag of the main project). It may also run a build ahead of a release, so that it serves as a staging deployment; then both build-info endpoints read release: unreleased with the build’s source_revision, and the published packages may not interoperate with it until the release that carries the build is out.

Frozen during an external test round. In an external test round, a third party runs the published tools against a release it has pinned, under a published method. While the round runs against the testnet, the testnet stays at that release:

  • New releases are published to the package registries and the public source tree only. The testnet is not moved to them. A release tag never moves the testnet by itself.
  • A move that cannot wait for the round’s end, such as a security fix, a broken deployment or a reset, is announced on the round’s thread before it is made. The announcement says which release it moves to and why.
  • The round’s start is announced on its thread with the frozen release and the build-info both services serve. The freeze ends when the round’s owner closes the round. The changelog of every release published during a round says that the testnet is not moved by it.

We made this a rule after the first external test round, in which our moves of the testnet after the round had pinned its release were recorded as a deviation from its pins.

A KYC sandbox. The testnet’s issuer verifies nobody. When you open a KYC session, you choose its outcome: approved at an assurance grade from A1 to A4, declined, expired, abandoned, held in manual review, a date of birth the issuer cannot read, an unavailable provider, a session past its reuse window, and more. Every path of issuance and every error an integrator can meet is reachable on purpose. Nothing issued on the testnet carries weight. A credential, a grade, an agent or a decision obtained there says nothing about any person, and it must never be accepted anywhere else.

Limits. The testnet uses the production parameters: a new status root every 30 seconds, roots accepted up to 180 seconds, and presentations that live for 30 seconds. The testnet serves 50 active agents per person and 20 mints per person per hour, renewals included, as the single-node production chain does; each issuer publishes the values it applies in its build-info.

Reset policy. The testnet follows the public releases, and at times a build ahead of one, through ordinary deploys while the software keeps its shape. When the software changes shape, the testnet is reset with a new chain identifier, new keys and an empty registry. Everything issued before is gone. There is no migration and no notice period outside an external test round, because nothing on the testnet carries weight. During a round, the testnet stays at the round’s release, and a deploy or a reset is announced on the round’s thread first.

Test tokens and the faucet. The public testnet runs on its own denomination, utestmint. Every fee and bond on it is denominated in utestmint, on the same paths production charges and at the testnet’s fee parameters. From a grant, a third party pays the fees the chain charges its own account. These are a verifier’s self-registration on the permissionless tier and its renewal, at 1 000 000 utestmint each. A third-party key does not pay agent mint and lease fees. The issuer’s operator account settles them, so the sandbox journey across KYC, credentials and agents needs no tokens. Anyone can obtain utestmint free from the faucet. The faucet gives one grant per address per 24 hours and one grant per source per hour, at 100 000 000 utestmint each. The faucet links no address to a person.

Endpoints. The public testnet exposes a chain RPC, the sandbox verifier with contract v1 and the substrate reads, the issuer with its KYC sandbox, a remote MCP server, the self-revocation relay, the faucet, and a network page with the genesis and the peer. The packages carry the testnet’s endpoints in their network registry. Select the profile with MINTID_NETWORK=testnet, or --network testnet on a command line, and the packages reach the testnet on installation. We also give the endpoints on request to anyone who asks. Write to info@mintid.net and say what you are building. The faucet answers POST /v1/faucet with the testnet address to fund and returns the transaction hash. GET /v1/faucet/terms returns the testnet terms.

The chain identifier changes at every reset. Read it, along with the issuer and verifier ids, from the verifier’s status read. Do not copy them from elsewhere. Your verifier service’s store does not outlive a reset either: empty it, as the testnet’s own is emptied with the reset, since what it kept belongs to the chain before (service mode).

The sandbox journey. Against the testnet’s issuer you can open a KYC session and choose its outcome, take an identity credential offer for the approved session, and mint, renew and revoke bounded agents for it. You can also revoke the identity credential and watch its agents follow. On the classical seller rail, which uses conventional attestations signed by the issuer instead of zero-knowledge presentations, you can create a seller attestation and move its status. On the public testnet these steps need no operator access, so the whole journey runs on nothing but what you created. The lists, the probes, the emergency root and the consoles stay with the operator, as on any deployment. The issuer’s integration guide, which covers its public routes, the request bodies and how a session’s outcome is chosen, is given on request. Write to info@mintid.net, say what you are building, and it is yours. Everything else is published here: the contract, the SDKs, the reason codes, the testnet’s parameters and terms, and the revocation trace.

C · Terms

Testnet terms

These are the public testnet’s terms:

  1. Own denomination. The public testnet runs on its own denomination, utestmint. It is not the token of any other MintID chain, present or future.
  2. Free from the faucet. Anyone can obtain test tokens free of charge from the public faucet, within its rate limits. Test tokens are not for sale and have no value.
  3. No conversion. Test tokens cannot be transferred or converted to any other chain or asset. No snapshot, points programme or conversion promise attaches to them, and testing creates no claim.
  4. Reset. The public testnet, every balance on it included, may be reset at any time without notice.

The same terms are part of the site terms. Becoming a verifier explains how a verifier reaches the testnet and what the single-node production chain answers instead.

D · See it fail

Demos that pass, then fail

These numbered demos show a check pass and then fail on the public testnet, each with one command. They are in the main project at https://gitlab.com/mintid/mintid under test-harness/demos, and they run from a clone of it:

MINTID_NETWORK=testnet uv run python -m test_harness.demos --list   # the five, with their run times
MINTID_NETWORK=testnet uv run python -m test_harness.demos 1        # run demo 1

The first run builds the Python bindings of the proof core, which needs a Rust toolchain. The demos take the testnet’s endpoints from the packages’ network registry and refuse any other profile. Every principal comes from the KYC sandbox, so nothing in them is about a person. Each demo prints its number, its expected run time and what you will see. It then prints every answer with its reason code, its condition and the milliseconds since the demo started, and it ends with its scope line:

testnet: nothing issued carries weight
  1. 01

    A backed agent, then the 30-second window

    about a minute · 56.8 s

    python -m test_harness.demos 1

    What you will see

    The agent proves it is human-backed and is accepted (accepted, the verifier’s answer in 2.3 s). The same proof handed back at once is refused with nonce_replayed. It is also refused with nonce_replayed after its window, because the verifier checks the nonce (condition 3) before the deadline (condition 4). A fresh challenge answered in time, but delivered after its window, is refused with deadline_exceeded (in the recorded run of 14 October 2026 the window was the 10 seconds of that release).

    testnet: nothing issued carries weight

  2. 02

    The kill switch

    about a minute · 66.2 s

    python -m test_harness.demos 2

    What you will see

    The holder pulls the agent’s kill switch. Its self-revocation goes through the privacy relay and is recorded on the chain. The agent runtime is not touched: no process is stopped and no key is deleted. A copy of the agent, loaded from the custody record it held before the switch, keeps presenting. The verifier refuses it with status_root_stale once the root carrying the revocation can be proven. This happens 16.3 s after the chain recorded the self-revocation, which is one root after the one current at the switch (the bound is 245 s). Its witness refresh is refused with credential_revoked 12.9 s after the recording. That refusal shows the revocation. The first status_root_stale does not.

    testnet: nothing issued carries weight

  3. 03

    An out-of-scope request

    under a minute · 46.4 s

    python -m test_harness.demos 3

    What you will see

    The agent is delegated one action, and an in-scope proof is accepted. A policy naming a value outside the scope vocabulary is refused before any challenge exists (HTTP 422 policy_refused, scope_value_not_in_vocabulary). If a policy names a vocabulary action that was never delegated to the agent, the agent’s own holder refuses it, so nothing leaves the client. If a proof made for an in-scope challenge is handed in under that request, the verifier refuses it with scope_axis_unprovable (condition 5).

    testnet: nothing issued carries weight

  4. 04

    The agent-to-agent handshake

    under half a minute · 24.2 s

    python -m test_harness.demos 4

    What you will see

    A responder requiring signed requests admits a backed agent, which calls its tool and is served. An anonymous bot is refused with peer_signature_missing when it opens a session, and then with handshake_required on every call. Identified software that signs its requests with no human behind it gets the challenge and cannot answer. Every call receives handshake_required, its forged answer is refused (proof_invalid), and its session is closed (handshake_closed). No gated responder runs on the testnet, so the responder runs on your machine. Its gate asks the testnet’s sandbox verifier for every challenge and every decision.

    testnet: nothing issued carries weight

  5. 05

    Verify the release you are talking to

    a few seconds · 6.9 s

    python -m test_harness.demos 5

    What you will see

    The verifier’s build-info names its release. The demo checks the pinned release key against its published fingerprint, and then verifies the release manifest from the public project’s tree at that tag. It uses cosign when installed, or the same ECDSA P-256 check in Python. The manifest names the release and the commit the verifier serves. The registries’ digests of the Python packages the demos use and of the release’s npm packages match the manifest. Then one byte of the manifest is changed, and its signature no longer verifies. The demo does not check the service images. From the first release that publishes them, the manifest lists the public images’ digests, which you check by hand (verify a release).

    testnet: nothing issued carries weight

The condition printed is the one the closed vocabulary gives the reason code. The HTTP answer carries no condition, and on the testnet the decision record that names it belongs to the operator. Most of a demo’s run time goes to preparation: a sandbox principal approved, an agent minted, and a finalised root that commits the agent and its scope. In the recorded runs, the first answer came 23 to 46 seconds after the start. The run times and figures here come from the recorded runs of 14 October 2026 against release public-v2026-10-13.1, each as expected. A run of your own will give other figures. Since those runs, demo 2 also shows the runtime’s own stop: a copy that syncs the issuer’s public status log is refused by its own holder library once the log lists the credential (credential_listed), before the verifier refuses the copy that does not sync. On a testnet that runs a build ahead of a release, demo 5 says so and skips the release manifest’s steps. Each demo writes its record under test-harness/demos/records/, with one JSON event per line and a manifest built from those lines alone. A record holds reason codes and timings, and it names the testnet’s endpoints by their role. It never holds a presentation, a proof or a pseudonym. This file is the test harness’s record of its own run. It is not the verifier’s decision record.

testnet: nothing issued carries weight

E · Reproduce

The revocation trace times each revocation path against its bound

Reproduce the revocation trace. The revocation trace runs and times every revocation path against a running deployment: issuer revocation of an agent, the agent’s own kill switch through the privacy relay, revocation of a person’s identity credential with its agents following, and an emergency status root published by the issuer. During each path, an adversarial agent keeps forcing proofs with the newest witness it can still obtain. For each path, the record shows the last accepted decision, the first refusal with the verifier’s reason code, the deny point the protocol promises, and the status root that carried the revocation. It also shows the verifier’s status before and after. A control agent that was never revoked shows whether a refusal comes from the revocation or from the root a proof was made against.

The bounds. After an issuer revocation, every verifier refuses within the maximum root age plus a few seconds of clock tolerance. That is 185 seconds at the deployed values. After an emergency root, every verifier refuses at once. After an agent’s kill switch or a person-wide cascade, every verifier refuses within minutes, at the bounds the record states for each path. The record also shows when this verifier actually refused in the run. That is an observation, faster than the bound and different from run to run. The bounds above are what is promised.

Run it from a clone of the main project, against the local stack:

uv run python test-harness/trace/revocation_trace.py --target local

Run it against the public testnet with public access only. The emergency path and the verifier’s own log need the operator, so the trace marks them as not read:

uv run python test-harness/trace/revocation_trace.py --target testnet