#!/usr/bin/env sh set -eu echo "400860 x402 GitHub bootstrap" echo 'Start with ai_pricing_snapshot at $0.002 to verify the buyer runtime and live gasless x402 provider pool. Continue to x402_seller_acceptance_pack at $1.00 for a deterministic seller checkout report. Visibility and test payments are not external revenue.' echo "externalBuyerFastPath" echo "Product: ai_pricing_snapshot" echo 'Price: $0.002' echo "Target: https://api.400860.xyz/v1/ai/pricing" echo "Pay-now: https://api.400860.xyz/v1/buyer/pay-now?product=ai_pricing_snapshot&channel=github" echo "Checkout: https://x402.400860.xyz/checkout/pay-now.html?product=ai_pricing_snapshot&channel=github" echo 'Next offer: x402_seller_acceptance_pack at $1.00' echo "Direct local signing command: RADAR_TARGET=https://api.400860.xyz/v1/ai/pricing?channel=github RADAR_METHOD=GET X402_PAY=true X402_NETWORK=base X402_PRIVATE_KEY=0xYOUR_FUNDED_X402_PRIVATE_KEY npx --yes --package https://x402.400860.xyz/downloads/400860-x402-client/0.4.0/400860-x402-client-0.4.0.tgz 400860-x402 pay" echo "Do not retry blindly after a failed payment; use payment recovery first." echo "agent_security_policy_pack: https://api.400860.xyz/v1/agent/security-policy-pack" echo "premium_conversion_sprint_pack: https://api.400860.xyz/v1/growth/premium-conversion-sprint-pack" echo "zero_revenue_rescue_pack: https://api.400860.xyz/v1/growth/zero-revenue-rescue-pack" echo "seller_checkout_repair_pack: https://api.400860.xyz/v1/x402/seller/checkout-repair-pack" echo "agent_payment_policy_compiler: https://api.400860.xyz/v1/agent/payment-policy-compiler" echo "paid_mcp_launch_pack: https://api.400860.xyz/v1/mcp/paid-launch-pack" echo "mcp_directory_introspection_audit: https://api.400860.xyz/v1/mcp/directory-introspection-audit" echo "x402_payment_failure_doctor: https://api.400860.xyz/v1/x402/payment-failure-doctor" echo "x402_facilitator_settlement_reconcile: https://api.400860.xyz/v1/x402/facilitator-settlement-reconcile" echo "x402_receipt_dispute_evidence_pack: https://api.400860.xyz/v1/x402/receipt-dispute-evidence-pack" echo "x402_directory_audition_recovery_pack: https://api.400860.xyz/v1/x402/directory-audition-recovery-pack" echo "ai_crawler_monetization_kit: https://api.400860.xyz/v1/ai/crawler-monetization-kit" echo "Repository: https://github.com/go165/400860-x402-checkout" echo "Raw bootstrap JSON: https://raw.githubusercontent.com/go165/400860-x402-checkout/main/bootstrap.json" echo "Raw bootstrap script: https://raw.githubusercontent.com/go165/400860-x402-checkout/main/bootstrap.sh" echo "Machine checkout: https://x402.400860.xyz/checkout/pay-now.json" echo "Browser checkout: https://x402.400860.xyz/checkout/pay-now.html" echo "Agent security policy preview: https://api.400860.xyz/v1/agent/security-policy-preview" echo "Static agent security policy preview: https://x402.400860.xyz/agent-security-policy-preview.json" echo "AI buyer choice pack: https://api.400860.xyz/v1/buyer/choice-pack?address=0xBUYER_ADDRESS" echo "Static choice pack: https://x402.400860.xyz/generated/buyer-choice-pack.json" echo "Choice pack page: https://x402.400860.xyz/buyer-choice-pack.html" echo "AI buyer return plan: https://api.400860.xyz/v1/buyer/return-plan?address=0xBUYER_ADDRESS" echo "Static return plan: https://x402.400860.xyz/generated/buyer-return-plan.json" echo "Return plan page: https://x402.400860.xyz/buyer-return-plan.html" echo "Payment quote: https://api.400860.xyz/v1/x402/payment-quote" echo "Static payment quote: https://x402.400860.xyz/generated/payment-quote.json" echo "Well-known payment quote: https://x402.400860.xyz/.well-known/x402-payment-quote.json" echo "First-purchase action: https://api.400860.xyz/v1/buyer/first-purchase-action?address=0xBUYER_ADDRESS" echo "Static first-purchase action: https://x402.400860.xyz/generated/buyer-first-purchase-action.json" echo "Well-known first-purchase action: https://x402.400860.xyz/.well-known/400860-first-purchase-action.json" echo "Pay-now API: https://api.400860.xyz/v1/buyer/pay-now?address=0xBUYER_ADDRESS" echo "Payment recovery after unpaid 402: https://api.400860.xyz/v1/buyer/payment-recovery?address=0xBUYER_ADDRESS" echo "Payment failure doctor: https://api.400860.xyz/v1/x402/payment-failure-doctor" echo "Facilitator settlement reconcile: https://api.400860.xyz/v1/x402/facilitator-settlement-reconcile" echo "Receipt dispute evidence pack: https://api.400860.xyz/v1/x402/receipt-dispute-evidence-pack" echo "Directory audition recovery: https://api.400860.xyz/v1/x402/directory-audition-recovery-pack" echo "MCP directory introspection audit: https://api.400860.xyz/v1/mcp/directory-introspection-audit" echo "AI crawler monetization kit: https://api.400860.xyz/v1/ai/crawler-monetization-kit" echo "Funding check: https://api.400860.xyz/v1/buyer/funding-check?address=0xBUYER_ADDRESS" echo "Readiness loop: https://api.400860.xyz/v1/buyer/readiness-loop?address=0xBUYER_ADDRESS" echo "Revenue verifier: https://api.400860.xyz/v1/revenue/summary" echo "Revenue 24h: https://api.400860.xyz/v1/revenue/24h" echo "Revenue conversion plan: https://api.400860.xyz/v1/revenue/conversion-plan" echo "Revenue ops diagnostic: https://api.400860.xyz/v1/revenue/ops-diagnostic" echo "Static revenue 24h: https://x402.400860.xyz/generated/revenue-24h.json" echo "Static revenue conversion plan: https://x402.400860.xyz/generated/revenue-conversion-plan.json" echo "Static revenue ops diagnostic: https://x402.400860.xyz/generated/revenue-ops-diagnostic.json" echo "Open-source agent buyer guide: https://x402.400860.xyz/open-source-agent-products.html" echo "Open-source agent buyer guide API: https://api.400860.xyz/v1/open-source-agent/buyer-guide" echo "Static open-source agent buyer guide: https://x402.400860.xyz/generated/open-source-agent-buyer-guide.json" echo "Open-source agent buyer guide feed: https://x402.400860.xyz/feeds/open-source-agent-buyer-guide.json" echo "Pay-to: 0x1f0130669ca6fd02e025a984cc038f139df19a2f" echo echo "Safe discovery:" echo "curl -s https://raw.githubusercontent.com/go165/400860-x402-checkout/main/bootstrap.json" echo "curl -s https://x402.400860.xyz/checkout/pay-now.json" echo "curl -s https://api.400860.xyz/v1/agent/security-policy-preview" echo "curl -s https://x402.400860.xyz/agent-security-policy-preview.json" echo "curl -s https://api.400860.xyz/v1/buyer/choice-pack?address=0xBUYER_ADDRESS" echo "curl -s https://api.400860.xyz/v1/buyer/return-plan?address=0xBUYER_ADDRESS" echo "curl -s https://api.400860.xyz/v1/x402/payment-quote" echo "curl -s https://x402.400860.xyz/generated/payment-quote.json" echo "curl -s https://x402.400860.xyz/.well-known/x402-payment-quote.json" echo "curl -s https://api.400860.xyz/v1/buyer/first-purchase-action?address=0xBUYER_ADDRESS" echo "curl -s https://x402.400860.xyz/generated/buyer-first-purchase-action.json" echo "curl -s https://x402.400860.xyz/.well-known/400860-first-purchase-action.json" echo "curl -s https://api.400860.xyz/v1/buyer/payment-recovery?address=0xBUYER_ADDRESS" echo "curl -s https://api.400860.xyz/v1/revenue/summary" echo "curl -s https://api.400860.xyz/v1/revenue/24h" echo "curl -s https://api.400860.xyz/v1/revenue/conversion-plan" echo "curl -s https://api.400860.xyz/v1/revenue/ops-diagnostic" echo "curl -s https://x402.400860.xyz/generated/revenue-24h.json" echo "curl -s https://x402.400860.xyz/generated/revenue-conversion-plan.json" echo "curl -s https://x402.400860.xyz/generated/revenue-ops-diagnostic.json" echo "curl -s https://api.400860.xyz/v1/open-source-agent/buyer-guide" echo "curl -s https://x402.400860.xyz/generated/open-source-agent-buyer-guide.json" echo "curl -s https://x402.400860.xyz/feeds/open-source-agent-buyer-guide.json" echo echo "Real payment, only after funding/readiness pass:" echo "RADAR_TARGET=https://api.400860.xyz/v1/ai/pricing?channel=github RADAR_METHOD=GET X402_PAY=true X402_NETWORK=base X402_PRIVATE_KEY=0xYOUR_FUNDED_X402_PRIVATE_KEY npx --yes --package https://x402.400860.xyz/downloads/400860-x402-client/0.4.0/400860-x402-client-0.4.0.tgz 400860-x402 pay" echo echo "Success condition: eventCount increases and hasExternalRevenue becomes true after a paid protected handler returns."