
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
Server-side SDK to verify EIP-712 x402 debit authorizations against a PCHEscrow contract, look up Path Score, and accept paid calls.
Server-side SDK to accept x402 signed-debit-per-call payments: verify EIP-712 DebitAuthorizations against a PCHEscrow deployment, compute settlement digests, and forward verified paid calls. A standalone, third-party-hostable mirror of what the PCH gateway does internally.
Phase E E.1 greenfield skeleton (worktree-e). DRAFT, NOT PUBLISHED. The JS core is tested; the Python port is a skeleton pending the Phase E full build. Source is fully readable in this package (Principle 13). Documentation and source links resolve to https://pathcoursehealth.com.
const { verifyDebitAuthorization } = require('pch-x402');
const result = verifyDebitAuthorization(authorization, {
domain: { name: 'PCHEscrow', version: '1', chainId: 8453, verifyingContract: ESCROW_ADDRESS },
method: 'POST',
canonicalUrl: 'https://your-gateway.example.com/v1/chat/completions',
rawBody: rawRequestBodyBytes,
});
if (!result.ok) reject(result.error);
result.error is one of: missing_authorization, invalid_authorization, invalid_signature,
signer_mismatch, authorization_expired, request_binding_mismatch.
DebitAuthorization(address wallet,uint256 amount,uint256 nonce,bytes32 requestHash,uint256 expiry)
requestHash = keccak256(abi.encode(keccak256(METHOD), keccak256(canonicalURL), keccak256(rawBody)))
binds each signature to a single request. See contracts/specs/EIP712Spec.md.
npm test # node test/verifier.test.js
Greenfield skeleton. Not on npm/PyPI. Publication is a Phase E hard stop.
FAQs
Server-side SDK to verify EIP-712 x402 debit authorizations against a PCHEscrow contract, look up Path Score, and accept paid calls.
The npm package pch-x402 receives a total of 2 weekly downloads. As such, pch-x402 popularity was classified as not popular.
We found that pch-x402 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.