wallet-send-bsv
Send BSV transactions using @bsv/sdk. Build, sign, and broadcast transactions to the BSV blockchain.
When & Why to Use This Skill
The Wallet Send BSV skill enables Claude to perform programmatic Bitcoin SV (BSV) transactions directly on the blockchain. By integrating the @bsv/sdk, it automates the entire lifecycle of a transaction—including fetching UTXOs, building the transaction structure, signing with a WIF private key, and broadcasting to the mainnet via the WhatsOnChain API. This tool is essential for developers and businesses looking to incorporate secure, automated cryptocurrency payments and digital asset management into their AI-driven workflows.
Use Cases
- Automated Peer-to-Peer Payments: Streamline the process of sending BSV to specific wallet addresses for services, rewards, or micro-transactions.
- On-chain Transaction Management: Efficiently build, sign, and broadcast custom transactions to the BSV mainnet without manual wallet intervention.
- Financial Workflow Automation: Integrate cryptocurrency transfers into broader business logic, such as automated payroll or settlement systems.
- AI Agent Monetization: Empower AI agents to perform on-chain actions, such as paying for resources or interacting with blockchain-based smart contracts.
| name | wallet-send-bsv |
|---|---|
| description | Send BSV transactions using @bsv/sdk. Build, sign, and broadcast transactions to the BSV blockchain. |
| allowed-tools | "Bash(bun:*)" |
Wallet Send BSV
Send BSV transactions using @bsv/sdk.
When to Use
- Send BSV to an address
- Create payment transactions
- Build custom transactions
- Broadcast signed transactions
Usage
# Send BSV from WIF private key
bun run /path/to/skills/wallet-send-bsv/scripts/send.ts <from-wif> <to-address> <amount-satoshis>
# Example: Send 0.001 BSV (100,000 satoshis)
bun run /path/to/skills/wallet-send-bsv/scripts/send.ts L1abc... 1A2b3c4d5e... 100000
Requirements
@bsv/sdkpackage installed- Private key in WIF format
- Sufficient balance to cover amount + fees
Transaction Flow
- Parse private key (WIF)
- Fetch UTXOs from address
- Build transaction with inputs/outputs
- Sign transaction
- Broadcast to BSV network
Network
Broadcasts to BSV mainnet via WhatsOnChain API.