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

main_test.go

TEXT FILE

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

Download / RawBack to folder
Go · 20 lines
1package main
2
3import (
4	"encoding/hex"
5	"github.com/btcsuite/btcd/btcec/v2"
6	"testing"
7)
8
9func TestGenerator(t *testing.T) {
10	b := fixture().PubKey().SerializeCompressed()
11	if hex.EncodeToString(b) != "0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" {
12		t.Fatal("generator mismatch")
13	}
14	if _, e := btcec.ParsePubKey(b); e != nil {
15		t.Fatal(e)
16	}
17	if _, e := btcec.ParsePubKey([]byte{2}); e == nil {
18		t.Fatal("bad key accepted")
19	}
20}
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