
Bankr Dev Client Patterns
This is a client library pattern for working with the Bankr API, giving you reusable TypeScript code you can drop into projects instead of writing the same API integration from scratch each time. The core module handles authentication via API keys, job status tracking (pending, processing, completed, failed, cancelled), and endpoint configuration through environment variables. It's the kind of boilerplate you'd otherwise copy between repositories or rewrite slightly differently every time you spin up a new Bankr integration. If you're building multiple tools or services that talk to Bankr, this gives you a consistent starting point. The repo has 78 stars, so it's seeing some real use in the wild.
- GitHub stars
- 80
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bankrbot/claude-plugins --skill 'Bankr Dev - Client Patterns' --agent claude-codeInstalls into .claude/skills of the current project.
Files
Bankr Client Patterns
Reusable client code and common files for Bankr API projects.
bankr-client.ts
The core API client module for all Bankr projects:
import "dotenv/config";
const API_URL = process.env.BANKR_API_URL || "https://api.bankr.bot";
const API_KEY = process.env.BANKR_API_KEY;
// ============================================
// Types
// ============================================
export type JobStatus = "pending" | "processing" | "completed" | "failed" | "cancelled";
export interface JobStatusResponse {
success: boolean;
jobId: string;
status: JobStatus;
prompt: string;
response?: string;
transactions?: Transaction[];
richData?: RichData[];
statusUpdates?: StatusUpdate[];
error?: string;
createdAt: string;
startedAt?: string;
completedAt?: string;
cancelledAt?: string;
processingTime?: number;
cancellable?: boolean;
}
export interface StatusUpdate {
message: string;
timestamp: string;
}
Sponsors
Details
- Repository
- github.com/bankrbot/claude-plugins
- Category
- Backend & APIs
- First seen
- Jun 3, 2026
More from bankrbot/claude-plugins
All 36- Bankr Dev Leverage Trading
- Bankr Dev Market Research
- Bankr Dev NFT Operations
- Bankr Dev Polymarket
- Bankr Dev Portfolio
- Bankr Dev Project Templates
- Bankr Dev Token Deployment
- Bankr Dev Token Trading
- Bankr Dev Transfers
- Bankr X402 SDK Balance Queries
- Bankr X402 SDK Capabilities
- Bankr X402 SDK Client Patterns
- Bankr X402 SDK Job Management
- Bankr X402 SDK Project Templates
- Bankr X402 SDK Token Swaps
- Bankr X402 SDK Transaction Builder
- Bankr X402 SDK Wallet Operations
- Bankr Agent Agent Profiles
- Bankr Agent Arbitrary Transactions
- Bankr Agent Automation
- Bankr Agent Error Handling
- Bankr Agent Job Workflow
- Bankr Agent Leverage Trading
- Bankr Agent LLM Gateway