Loading...
Loading...
This skill should be used when the user asks to "send BSV", "transfer satoshis", "create payment transaction", "broadcast transaction", "send from WIF", or needs to build, sign, and broadcast P2PKH transactions using @bsv/sdk.
npx skill4agent add b-open-io/bsv-skills wallet-send-bsvbun run skills/wallet-send-bsv/scripts/send.ts <from-wif> <to-address> <amount-satoshis>
# Show help
bun run skills/wallet-send-bsv/scripts/send.ts --help
# Example: Send 1000 satoshis
bun run skills/wallet-send-bsv/scripts/send.ts L1abc... 1BvBMSEY... 1000| Argument | Description |
|---|---|
| Private key in WIF format (starts with K, L, or 5) |
| Recipient BSV address (starts with 1 or 3) |
| Amount to send (1 BSV = 100,000,000 satoshis) |
@bsv/sdkGET /v1/bsv/main/address/{address}/unspentPOST /v1/bsv/main/tx/raw