are there any command-line tools for making giftwraps or should I add this to nostril? ๐ค
Login to reply
Replies (10)
vibed it fairly nicely in Go, will be looking for sample data next to expand test suite
havenโt even read NIPs or papers yet ust sat back to see where weโre at now and .. ๐ฎ ๐โโ๏ธ
oh nice, is code up somewhere?
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
๐คช ok maybe more than 1 hour lol
"Timeline
4 weeks for core extraction across 4 phases, with clear success criteria and risk mitigation."
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.
perfect timing, am about to test giftwrap support in nostrdb. trying this now
getting an error on decrypt: unknown version 141
fixed - sorry entire sub-dir got caught up in .gitignore
Try:
git clone
cd goNDK
git checkout origin/gift-wrap-part-1
cd examples/identity-generator
make build
cd ../client-giftwrap
make build
bash scripts/test-encrypt-decrypt.sh
GitHub
GitHub - niallyoung/goNDK
Contribute to niallyoung/goNDK development by creating an account on GitHub.
any luck receiving / decrypting?