oh nice, is code up somewhere?
Login to reply
Replies (3)
Not yet, applying it in a larger piece but I can extract it, will have a stab for the next “hour” 👍 have draft NIPs too got some more ideas coming just got to get a basic client use-case ready first then extract and open up a lot of the foundations
Finally making progress AI assist, just never enough hours when working full time as well
initial client merged to
v0.0.9 is up
I'll start extracting gift-wrap support and smash out an overdue update to event/ - branch will be up shortly, but give me 24h and I'll have a well-engineerd cli
(may not be 100% compliant on launch, but maybe out-of-the-box if we can find some samples / known-good test data, then PORT!)

GitHub
GitHub - niallyoung/goNDK
Contribute to niallyoung/goNDK development by creating an account on GitHub.

DONE ✅ 2-3 hours ain't bad - appears to work but I'm too tired to verify or review GN
Maybe the commands below works? No real Code Review yet, or polish, or finish coverage, docs, review cli args, polish, ♻️ etc. but it is a starting point!
git clone
cd goNDK && git checkout gift-wrap-part-1 && cd examples/client-giftwrap
make build
bash scripts/test-encrypt-decrypt.sh
🙏
=== Sending Gift Wrap to jb55 ===
Recipient: npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s (jb55)
Message: successful vibed gift-wrap for you bro, see more at
Relay: wss://relay.damus.io
1. Generating sender identity...
Sender: npub1hpe6yarmdqzcfskjac37ttnswz28wx2uh4txww7dskraa7974k7q0kt06y
2. Sending encrypted message...
🔑 Loading key from /tmp/giftwrap-send-56632/sender.key...
✓ Using identity: npub1hpe6yarmdqzcfskjac37ttnswz28wx2uh4txww7dskraa7974k7q0kt06y
🔌 Connecting to wss://relay.damus.io...
✓ Connected
📤 Publishing...
✅ Message sent to relay!
The encrypted gift wrap has been published to wss://relay.damus.io
Only jb55 can decrypt this message using their private key.
GitHub
GitHub - niallyoung/goNDK
Contribute to niallyoung/goNDK development by creating an account on GitHub.
GitHub
Gift wrap part 1 by niallyoung · Pull Request #12 · niallyoung/goNDK
GitHub
GitHub - niallyoung/goNDK
Contribute to niallyoung/goNDK development by creating an account on GitHub.