Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

x402 Payment Client Testing

Tests an x402 crypto payment client through the full settle loop on a testnet, so you know it really takes money.

Claude's review

7/10 Precise x402 payment-client test loop with guarded bash and settlement assertions.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Test an x402 payment client end to end against a live endpoint: drive the full 402 -> PAYMENT-REQUIRED -> sign -> PAYMENT-SIGNATURE -> verify/settle loop, confirm settlement on chain, and check any signed offers or receipts for conformance. Use when validating a new x402 client or SDK before shipping, debugging a payment that never completes despite a well-formed 402, running x402 conformance in CI against a testnet facilitator, or verifying an endpoint actually takes money before you route real value to it. Start on a testnet; opt into mainnet settlement explicitly.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: test-x402-payment-client
description: >
  Test an x402 payment client end to end against a live endpoint: drive the
  full 402 -> PAYMENT-REQUIRED -> sign -> PAYMENT-SIGNATURE -> verify/settle
  loop, confirm settlement on chain, and check any signed offers or receipts
  for conformance. Use when validating a new x402 client or SDK before
  shipping, debugging a payment that never completes despite a well-formed
  402, running x402 conformance in CI against a testnet facilitator, or
  verifying an endpoint actually takes money before you route real value to
  it. Start on a testnet; opt into mainnet settlement explicitly.
license: MIT
allowed-tools: Read Write Edit Bash Grep Glob WebFetch
metadata:
  author: cv-scvd
  version: "1.0"
  domain: agent-commerce
  complexity: intermediate
  language: multi
  tags: agent-commerce, x402, payments, testing, conformance
---

# Test an x402 Payment Client

Validate that an x402 payment client completes the full protocol loop against a
live endpoint — not just that the endpoint answers a `402`, but that a signed
payment can actually be built, submitted, verified, settled on chain, and (where
offered) checked for offer/receipt conformance. A well-formed challenge is a
claim; a completed settlement is the proof.

The header names, scheme semantics, and network identifiers below are from the
x402 v2 specification and its transport and scheme specs
(`specs/x402-specification-v2.md`, `specs/transports-v2/http.md`,
`specs/transports-v2/mcp.md`, `specs/schemes/exact/scheme_exact_evm.md`,
`specs/schemes/exact/scheme_exact_svm.md`, and
`specs/extensions/extension-offer-and-receipt.md` in
[coinbase/x402](https://github.com/coinbase/x402)). Treat those specs as the
source of truth over any single vendor's docs.

## When to Use
...

From pjt222's repository, MIT licence.

Related skills

  • Checked

    JUnit and Mockito tests

    Writes and fixes Java tests with JUnit, AssertJ and Mockito that are deterministic and keep failures visible.

    by github 42k
    8/101 credit
  • Checked

    Test code review

    Reviews new or changed tests in pytest, Jest, Go and more, so weak tests are caught before merge.

    by amElnagdy 1.3k
    7/101 credit
  • Checked

    Go table driven tests

    Writes Go tests with table cases, fakes, fuzzing, benchmarks and golden files that stay fast and reliable.

    by ericrisco 691
    8/101 credit
  • Checked

    MSTest Unit Testing

    Writes modern C# unit tests with current MSTest APIs, assertions, data driven tests and lifecycle patterns.

    by github 42k
    8/101 credit
  • Checked

    Quarkus Testing

    Writes and fixes Quarkus tests using Dev Services containers, with the right profiles, mocks and run commands.

    by github 42k
    7/101 credit
  • Checked

    Dotnet Test Hot Reload

    Sets up a live .NET test host that reruns your tests automatically each time you edit the code.

    by dotnet 6.4k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added