New
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)
- 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)
- 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 @A₿del fgu and @jb55), 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 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)
GitHub
GitHub - fiatjaf/nak: a command line tool for doing all things nostr
a command line tool for doing all things nostr. Contribute to fiatjaf/nak development by creating an account on GitHub.
how nostr works