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

approval.rs

TEXT FILE

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

Download / RawBack to folder
Rust · 15 lines
1#[derive(PartialEq, Eq)]
2pub struct Intent {
3    pub id: String,
4    pub wallet: String,
5    pub network: String,
6    pub address_type: String,
7    pub destination: String,
8    pub total_debit_sat: u64,
9}
10
11pub fn matches_approval(proposed: &Intent, approved: &Intent,
12                        now: u64, expires: u64) -> bool {
13    proposed == approved && proposed.network == "test"
14        && proposed.total_debit_sat > 0 && now < expires
15}
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