Bankr x402 SDK - Wallet Operations

Initialize BankrClient with payment and context wallets from environment variables.

80|30|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/BankrBot/claude-plugins --skill bankr-x402-sdk-wallet-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Bankr x402 SDK - Wallet Operations
Source: https://github.com/BankrBot/claude-plugins/tree/main/x402-sdk-dev/skills/sdk-wallet-operations
Command: npx skills add https://github.com/BankrBot/claude-plugins --skill bankr-x402-sdk-wallet-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handles secure setup and initialization of the Bankr x402 SDK wallet system, enabling developers to configure payment and context wallets, environment variables, and BankrClient options for reliable authenticated transactions.

Core Features & Use Cases

  • Two-Wallet System: Payment (privateKey) signs x402 micropayments; Context (walletAddress) receives swapped tokens and NFTs; separate wallets improve security.
  • Environment & Initialization: Provides guidance on BANKR_PRIVATE_KEY and BANKR_WALLET_ADDRESS usage and per-request wallet override.
  • Use Case: When building apps that require independent payment and receiving wallets, initialize BankrClient with both wallets and flexibly override on a per-request basis.

Quick Start

Initialize BankrClient with your payment wallet private key from BANKR_PRIVATE_KEY and, if desired, specify a receiving wallet via BANKR_WALLET_ADDRESS.

Frequently Asked Questions about Bankr x402 SDK - Wallet Operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a two-wallet system for x402 micropayments?

A two-wallet system separates duties by using a payment wallet's privateKey to sign x402 micropayments and a context walletAddress to receive swapped tokens and NFTs. This division improves security by isolating signing keys from receiving addresses.

How do I initialize BankrClient with environment variables for wallet operations?

To initialize BankrClient for wallet operations, load your payment wallet via the BANKR_PRIVATE_KEY environment variable and your receiving wallet via BANKR_WALLET_ADDRESS. This securely configures authenticated multi-wallet operation across networks.

Why does my blockchain application need separate payment and context wallets?

Separate payment and context wallets enhance security during blockchain transactions. The payment wallet signs micropayments while the context wallet receives assets, ensuring that compromise of the signing key does not expose received tokens.

Can I override the wallet configuration on a per-request basis?

Yes, you can flexibly override the wallet configuration on a per-request basis after initializing BankrClient. This allows developers to dynamically route swapped tokens or NFTs to specific receiving addresses without changing global environment variables.

What is the best way to secure private keys when setting up the Bankr x402 SDK?

The best way to secure private keys during Bankr x402 SDK initialization is loading them from environment variables like BANKR_PRIVATE_KEY. This prevents hardcoding sensitive payment wallet credentials directly into application source code.