STORY
Sending sats to npubs using Taproot
AUTHOR
Joined 2023.10.30
DATE
VOTES
sats
COMMENTS

Sending sats to npubs using Taproot

Each nostr npub is secretly a Taproot address. The npub zone (npubz.com) lets you enter an npub or nip05 and shows you the current balance and past transactions of the public key's taproot address.

To withdraw the bitcoin, the owner of the npub can use one of two methods:

  • If the npub was generated by a 12 word seed, then using that 12 word seed and derivation m/44'/1237'/0'/0/0 in a wallet software like Sparrow or Nunchuck, you can access the sats.

  • If the npub was generated by an nsec, then you can convert the nsec to a WIF and access the sats that way.

The code is released under public domain (see the source code of npubz.com/index.html ). Happy hacking!