x402 Facilitator

Build on the compliance-native payment network.

Everything you need to integrate x402 payments with OFAC screening, ACS credit scoring, and BARUCH compliance receipts.

Quick Start

Three paths into the Shulam network — pick the one that matches your role.

BUYR

BUYR — Buyer Integration

Provision wallets, set spending policies, make x402 payments.

npm install @shulam/sdk
Read the docs
SELLR

SELLR — Seller Integration

Register services, accept x402 payments, track revenue.

npm install @shulam/sdk
Read the docs
CaaS

CaaS — Compliance API

Screen addresses, generate receipts, query ACS scores.

curl https://api.shulam.io/api/v1/screen
Read the docs

API Reference

Core endpoints at https://api.shulam.io. Full spec at docs.shulam.io.

The Agentgorithm Pipeline

Every x402 payment flows through 8 deterministic steps — each executed by a dedicated compliance soul.

1

Discover

Agent discovers a service endpoint via the Bazaar or trust graph.

2

Request

HTTP GET → server returns 402 Payment Required with price.

3

Screen

SAMUEL soul screens buyer and seller addresses against OFAC SDN.

4

Authorize

Buyer signs an EIP-3009 transferWithAuthorization for the exact amount.

5

Verify

JAMES soul validates the signature and checks spending policy.

6

Settle

LEVI soul submits the on-chain USDC transfer (gas sponsored by Shulam).

7

Receipt

BARUCH soul issues a compliance receipt — EIP-712 signed, chain-anchored.

8

Score

DEBORAH-C updates the Agent Credit Score (300–850) and trust graph.

NOTE

Steps 3–4 (SAMUEL screen + JAMES verify) run in parallel. Gas for step 6 is sponsored by Shulam on Base — zero cost to the buyer agent.

SDKs & Tools

Official packages and CLI for building on Shulam.

@shulam/sdknpm version for @shulam/sdk

Main SDK — ShulamClient with verify, settle, screen, trust, and discover methods. Zero runtime deps. MIT.

View docs →
@shulam/x402npm version for @shulam/x402

x402 protocol primitives — paywall middleware, auto-payment client, token registry, fee calculator.

View docs →
Shulam CLI

Command-line interface for provisioning wallets, running settlements, and managing spending policies.

View docs →
Agent Skills

16 pre-built agent skills (npm) — buyr-pay, buyr-discover, create-sellr-service, shulam-screen, and more.

View docs →

Resources

Ready to build on x402?

Join the compliance-first payment network. OFAC screening on every transaction, gas sponsored by Shulam.