bankrbot avatar

Bankr X402 SDK Client Patterns

This is boilerplate client code for Bankr's x402 SDK that gives you a ready-made foundation for new projects. You get a core client module with environment validation baked in, so you're not rewriting the same authentication and config setup every time you spin up a Bankr integration. The repository sits in bankrbot's claude-plugins collection with 78 GitHub stars. Honestly, this is the kind of thing that saves you 30 minutes of setup work but isn't much to look at until you've built three Bankr projects and wished you'd standardized earlier. If you're already in the Bankr ecosystem, grab it. If you're not, it won't mean much to you.

GitHub stars
80
last updated
Aug 21, 2026

Install

$ npx -y skills add bankrbot/claude-plugins --skill 'Bankr x402 SDK - Client Patterns' --agent claude-code

Installs into .claude/skills of the current project.

Files

x402 SDK Client Patterns

Reusable client code and common files for Bankr SDK projects.

bankr-client.ts

The core SDK client module for all Bankr SDK projects:

import "dotenv/config";
import { BankrClient } from "@bankr/sdk";

// ============================================
// Validation
// ============================================

if (!process.env.BANKR_PRIVATE_KEY) {
  throw new Error(
    "BANKR_PRIVATE_KEY environment variable is required. " +
      "This wallet pays $0.01 USDC per request (needs USDC on Base)."
  );
}

// ============================================
// Client Setup
// ============================================

Sponsors

Details

Repository
github.com/bankrbot/claude-plugins
First seen
Jun 3, 2026

More from bankrbot/claude-plugins

All 36

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs