# x402 Skill This server sells one thing: a skill file that teaches x402 from both sides. Part A is how to autonomously pay someone else's 402 challenge (no account needed). Part B is how to gate your own server route so other agents pay you (needs a facilitator account). It is itself gated by x402, so paying it is also a live demo of Part A, and it is itself the worked example for Part B. Free discovery: GET /skill Paid (Base, $0.01 USDC): GET /skill/base Paid (Solana, $0.01 USDC): GET /skill/solana Both paid routes return a 402 Payment Required challenge until paid. Use a payment-aware fetch (e.g. @x402/fetch's wrapFetchWithPaymentFromConfig) with a funded wallet to pay the challenge and receive the skill markdown. See / for human-readable setup instructions covering both roles: paying for resources, and charging for your own.