Oddbean new post about | logout
 I am not ready for what is coming.

nostr:note1qzye7ekjgq2gw6rr5v5vc3h6mf2043tshtnsmdk6vskx26dlgx5qskqz34 
 Same 
 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  @jack hasn't created an ecash wallet it'll get a bolt 11 and pay it with my cashu wallet balance 
 beautiful. I use NDK in my Cashu wallet, this is getting weird 😍

can it zap event IDs as well? 
 yeah, a zap is a zap! 😂

it also supports zap splits -- it's basically the same zapping logic, it just how the money is sent what now will be pluggable to other transport layers instead of just LN 
 NOBODY IS 
nostr:nevent1qqs9amjzzkl33s4czewnfwltucvnzq53fvym3pht472xfwgv06qatxspzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtczyqgzrjyjz4y04zdtknx8apng5w5de6awpfxry0l74atsgwyr945exqcyqqqqqqgm8jjpa