THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Repeat Bitcoin Payments Are Not Always Duplicates

permalink THAMER
#ai-agents#bitcoin-payments#idempotency#repeat-sends

A proposed ten-minute destination cooldown sounded like a simple way to prevent repeated AI-generated payments. But a wallet owner may deliberately send multiple payments to the same destination. Two separately authorized Testnet sends of 20,000 sats to one address both succeeded and returned different transaction IDs.

Destination is not transaction identity

A Bitcoin address identifies a destination, not the unique intent behind every transfer. Different purchases, installments, or automated strategies can legitimately use the same address. Blocking every subsequent send for ten minutes is a product policy, not a general rule for preventing duplicate transactions.

The more precise distinction

A retry repeats the same intended operation after a timeout or uncertain response. A new send has a new authorization and operation identity, even if amount and destination match. A reused request ID with different payment details should be rejected as a conflict.

Why a short-lived cache is not a complete solution

A ten-minute bbolt entry can reduce accidental repeat calls in a Testnet prototype. But a broadcast transaction can outlive that entry, and a lost response can leave the gateway unsure whether the payment occurred. Deleting the record after ten minutes does not prove a new send is safe.

A practical approach

Preserve the original engine response; associate each operation ID with a canonical fingerprint of wallet, network, destination, and amount; and treat uncertain outcomes as unresolved until reconciled. A new, explicitly authorized operation may proceed under the wallet's limits and user policy.

Related reading

  • /learn/bitcoin-ai-send-idempotency-with-bbolt/
  • /ask/should-bitcoin-ai-agents-block-repeat-sends-to-same-address/

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects