@swader/x402-cli
v0.1.6
Published
CLI tester for X402 endpoints
Readme
x402 CLI tester
A simple tool to test x402-gated API endpoints.
Make sure you have funds on the chain of your choice, and that there is a .env
file present in the folder where you're running this which contains the KEY env
variable, which is a private key of a wallet that can be used.
Alternatively, provide the KEY as an environment variable.
Example usage:
bunx @swader/x402-cli <URL>e.g.
bunx @swader/x402-cli https://fs9cqhm1.nx.link/random_joke