Thanks for your interest in x401. This repository holds the protocol specification and a small local demo of the x401 HTTP Proof Requirement Protocol.
- Node.js (current LTS)
- npm
npm ci
npm run spec:dev # live-reloading spec preview
npm run site:build # build the static site into www/
npm test # run the test suite
x401 defines HTTP proof-requirement semantics only. Please keep changes within that boundary:
- The protocol is header-driven (
PROOF-REQUIRED,PROOF-PRESENTATION,PROOF-RESPONSE). - x401 composes with, but does not redefine, payment protocols — payment stays on
402 Payment Required. - Credential formats and wallet transport (OpenID4VP request construction) are out of scope for the core protocol.
- Fork the repo and branch off of
main. - For substantive protocol changes, open an issue first so the approach can be discussed.
- Include a clear title and description explaining what changed and why.
- Keep changes focused — try to limit one issue or feature per PR.
- Record user-facing spec changes in CHANGELOG.md.
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this standard.