Oddbean new post about | logout
 I am writing the docs for the new `ndk-wallet` library I'm packaging right now 😂

you'll be able to do fun things like:

ndk.wallet = new NDKWallet()

user = ndk.getUserFromNip05("calle@cashu.me")

user.zap(1000, "yoooo") // ecash zap, preferably from mints we have in common

user = ndk.getUserFromNip05("jack@cashapp.com")

user.zap(1000, "yoooo") // if  nostr:npub1sg6plzptd64u62a878hep2kev88swjh3tw00gjsfl8f237lmu63q0uf63m hasn't created an ecash wallet it'll get a bolt 11 and pay it with my cashu wallet balance