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

stage25-woocommerce-payment.php

TEXT FILE

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

Download / RawBack to folder
PHP · 11 lines
1<?php
2function stage25_paid(array $invoice, array $evidence): bool {
3    return $invoice['network'] === $evidence['network']
4        && $invoice['address'] === $evidence['address']
5        && is_int($evidence['confirmed_sat']) && is_int($invoice['expected_sat'])
6        && $invoice['expected_sat'] > 0
7        && $evidence['confirmed_sat'] >= $invoice['expected_sat'];
8}
9$i=['network'=>'test','address'=>'fixture','expected_sat'=>1000];
10$e=['network'=>'test','address'=>'fixture','confirmed_sat'=>1000];
11if (PHP_SAPI === 'cli' && (!stage25_paid($i,$e) || stage25_paid($i,array_replace($e,['confirmed_sat'=>999])))) exit(1);
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