İçeriğe geç
TakoAPI
Becerilere dön

get-hba

matbalez tarafından

AI & LLMs
288İndirme sayıları clawskills.sh tarafından bildirilir
1Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Register and update Human Bitcoin Addresses (BIP-353) on clank.money using MoneyDevKit L402 flow and management tokens.

Açıklama

Bu Beceri Ne Yapar

Registers and manages Human Bitcoin Addresses (BIP-353) on clank.money via Lightning payments. A Human Bitcoin Address maps a username like 'satoshi@clank.money' to a BIP-321 URI containing payment instructions. Registration costs 999 sats paid through the L402 Lightning payment protocol.

Handles the multi-step L402 challenge-response flow automatically, including invoice extraction, preimage collection, and management token persistence, which would otherwise require manual HTTP sequencing.

Ne Zaman Kullanılır

  • Registering a human-readable Bitcoin payment username
  • Updating the BOLT12 offer linked to an existing address
  • Checking username availability before registering
  • Rotating payment credentials behind a stable address
  • Automating BIP-353 address setup in a Bitcoin application

Örnek İş Akışı

GİRİŞ

User asks: Register the username 'satoshi' on clank.money with my BOLT12 offer URI

AJAN
  1. 1

    Submit POST to clank.money/api/v1/registrations with username and bip321Uri

  2. 2

    Read 402 response to extract macaroon and Lightning invoice

  3. 3

    Present invoice to user for payment and collect the payment preimage

  4. 4

    Retry POST with Authorization: L402 macaroon:preimage header

  5. 5

    Save the returned managementToken to ~/.clank/satoshi.management_token with restricted permissions

ÇIKIŞ

Username registered at satoshi@clank.money, management token saved securely for future updates

Gereksinimler

  • Lightning wallet capable of paying a 999 sat invoice to complete registration
  • BIP-321 URI with a BOLT12 offer (requires a Lightning node or wallet that supports BOLT12 offer generation)

Kurulum

clawhub install matbalez/get-hba

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar