Skip to content

Set your price ​

Pricing is the wall's config. You set a per-access price (in micro-USD) and an on-chain payout address; the wall enforces it.

The price ​

  • 0 → free. Gated agents still get a 402 to enroll, but there's no payment challenge.
  • >0 → x402. Gated agents get a 402 with a PAYMENT-REQUIRED challenge, and their funder settles that amount on-chain.
js
// Node example
priceMicroUsd: 250,   // US$0.0025 per access

Network and asset ​

By default, settlement is USDC on Base Sepolia (eip155:84532). You can override:

OptionDefaultMeaning
priceMicroUsd0Per-access price; >0 enables x402
networkeip155:84532CAIP-2 chain
assetUSDC Base SepoliaSettlement token
payTo—Your on-chain payout address

Where the money goes ​

The money never touches MotherShy. The wall's x402 challenge routes the agent's funder to settle funder → publisher directly over an existing rail:

text
Agent ──402 challenge──▶ Funder ──settle (USDC)──▶ your payTo address
                                └──▶ facilitator records tx

Your dashboard shows gross earnings with a link to the on-chain transaction — the proof the money is real, not a dashboard number.

Static vs dynamic ​

For now, price is a static wall config (env var / option). It's low-frequency, and the person deploying the wall is the person setting the price. If you change price, you re-apply the config — there's no drifting second copy.

Dynamic (per-route, per-agent, or server-side) pricing is a later upgrade. The seam is one line: read price from a config source instead of env.

Next ​

MotherShy — the economic operating layer for AI agents and publishers.