Skip to main content
Rail402 is Apache-2.0. Every package that runs in the service is under a permissive licence, and no copyleft licence appears anywhere in the tree, development tooling included, except the exceptions flagged below. The policy is enforced on every CI run by pnpm license:gate (tools/license-gate/src/policy.ts).
  • Permissive allowlist: 0BSD, Apache-2.0, BlueOak-1.0.0, BSD-2-Clause, BSD-3-Clause, CC0-1.0, ISC, MIT, MIT-0, PostgreSQL, Python-2.0, Unicode-3.0, Unlicense, Zlib.
  • Forbidden anywhere: AGPL*, GPL*, LGPL*, SSPL*, EUPL*, OSL*, CPAL*, CC-BY-SA*, CC-BY-NC*, BUSL*, Elastic*, Commons-Clause*.
  • The OpenZeppelin Relayer, its x402 plugin and the relayer SDK are AGPL and are not used.

Summary

Flagged items

Refused whatever licence they declare: Tolerated in development tooling only; never shipped: Dual or compound licences (a permissive branch is always available):

Artifacts outside the package manager

Service packages

Outside the service (published agent packages and workspace tools), by licence

Development only, by licence

Contract dependencies (Rust)

Resolved from each contract’s Cargo.lock with cargo metadata --locked, development dependencies included. Every package must be permissive; only normal dependencies are compiled into the deployed contract.

contracts/stellar/upto

contracts/testing/approve-spending-limit

contracts/testing/composition

contracts/testing/ed25519-account

contracts/testing/test-token

contracts/testing/upto-adversarial