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

intent.py

TEXT FILE

423 B · Public source code for developers, search crawlers and AI agents

Download / RawBack to folder
Python · 16 lines
1from dataclasses import dataclass
2from uuid import uuid4
3
4
5@dataclass(frozen=True)
6class PaymentIntent:
7    intent_id: str
8    wallet: str
9    destination: str
10    total_debit_sat: int
11
12
13def new_intent(wallet: str, destination: str, total: int) -> PaymentIntent:
14    if type(total) is not int or total <= 0:
15        raise ValueError("invalid total debit")
16    return PaymentIntent(str(uuid4()), wallet, destination, total)
Read-only source · Select a line number to link directly · Raw download above

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