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

receipt_test.go

TEXT FILE

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

Download / RawBack to folder
Go · 24 lines
1package stage2
2
3import (
4	"os"
5	"strings"
6	"testing"
7)
8
9func TestReceipt(t *testing.T) {
10	b, e := os.ReadFile("send_fixture.json")
11	if e != nil {
12		t.Fatal(e)
13	}
14	r, e := ParseSend(b)
15	if e != nil {
16		t.Fatal(e)
17	}
18	s := Receipt(r)
19	for _, v := range []string{"10000", "9000", "58000", "4b862b31", "Confirmation has not been verified"} {
20		if !strings.Contains(s, v) {
21			t.Fatalf("missing %s", v)
22		}
23	}
24}
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