fiatjaf on Nostr: New https://github.com/fiatjaf/nak release has some unexciting new features: - nak ...
New https://github.com/fiatjaf/nak release has some unexciting new features:
- nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame PABLOF7z (npub1l2v…ajft))
- nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame Kieran (npub1v0l…qj49))
- nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame Abdel (npub1hr6…2e29) and jb55 (npub1xts…kk5s)), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely
- nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like https://how-nostr-works.pages.dev/#/pathological) in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool
- now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)
- nak wallet: implements NIP-60 token receiving, sending and swapping, there is also a nutzap command for sending to others but I forgot to test that so let me know where exactly is broken (blame PABLOF7z (npub1l2v…ajft))
- nak curl: this wraps the actual curl command you must have installed and adds a NIP-98 header to it so you can call APIs with Nostr authorization (blame Kieran (npub1v0l…qj49))
- nak mcp: you can use this to allow AIs to search people on Nostr, publish notes, mention people, read notes with built-in outbox model (blame Abdel (npub1hr6…2e29) and jb55 (npub1xts…kk5s)), I don't understand the MCP protocol and I don't really know if this works, I could only test it twice because Goose has stopped answering me completely
- nak outbox: in its default form this just lists NIP-65 relays for a given pubkey, but if you enable persistent mode by calling 'nak outbox init' then it will start storing relay hints from multiple contexts for every person every time you use Nostr and use those in a more robust outbox relay algorithm strategy (like https://how-nostr-works.pages.dev/#/pathological) in other contexts, like when doing 'nak fetch' -- inside nak this is not very important, but it serves as a learning tool
- now you can pipe multiline JSON into 'nak event' or 'nak req' (you probably didn't notice but before if you want to pass an event for it to modify, sign or publish you had to pass the entire JSON in a single line -- not anymore)