If you use your SN lightning address as your lightning address in your nostr client, you can now get zaps to your SN wallet.
How:
- add your nostr pubkey in the NIP-05 section of your SN settings
- add your SN lightning address to your nostr client
- post on nostr
- profit - literally
NIP-57 spec: https://github.com/nostr-protocol/nips/blob/master/57.md
I was all set up for this without realizing it. I couldn't imagine where all the sats were coming from.
I have done all of the above. But, I my account balance is staying the same. LOL It does not work for everyone--only for the popular people.
Either that or you have to post really interesting and valuable posts there.
No you just have to be part of the in crowd
For what it's worth I send sats to randos in global...
Are we accelerating the adoption of Nostr for stacker.news? 😄
Update: looks like I only half implemented it. I don't yet broadcast the zap.
Doh. Please tag me when it's working. I'd like to use stacker.news for NIP-57 until I can host it myself like I previously was for my lnaddress. Thank you for doing this.
Testing it now
I think I just missed it. https://snort.social/e/note1w2v34vmzzs9w7493uwq98ls6m0cra7f28nwtn4hn6l525xkgheps95t4r6 Any way to re-broadcast?
No. Going to push an update with the complete impl in a moment.
Wohoo! You rock!
Shipped but it doesn't appear to be working still. Need to test it more thoroughly I guess ...
Haven't been able to figure it out. I must be doing something silly.
Need to be a valentine ... Will try to troubleshoot tomorrow. Need to write/find a decent nostr cli client that lets me read from relays.
Who understands these things?
What are #NIP?
https://github.com/nostr-protocol/nips
nostr improvement possibilities ... kind of like Bitcoin Improvement Proposals (BIPs) but for nostr ... they define the spec
.
i got zapped yesterday. i received the funds in my SN wallet but didn't see a zap note come through. this still in progress? just wondering.
Zaps are fully implemented, meaning when you get zapped you should see it on your posts - assuming you are connected to the relays the zap note is sent to (which are suggested by the zapper's client).
Can I zap someone else with sn wallet on nostr?
I don't think so. We are a browser wallet so you'd have to copy and paste it. It also requires paying to a lnurl-pay code, which we don't support yet.
Ok.. thank you
I tried zapping myself and the invoice is stuck at 1000. Changing the tip amount default to lower numbers under stacker settings didn't change it on nostr.
How do I change the default invoice amount?
It’s a setting on your client. Some of them might not let you change it.
that was fast @k00b, great job!
Can you tell me if this is valid from snort's perspective? Clients don't seem to be registering the zap notes that I'm generating and I can't tell what I'm doing wrong.
{ kind: 9735, pubkey: '00009483d5e84e8850e5430654e61802fd2838cdf0ffa8fe774b4e9a63f52428', created_at: 1676482365, content: '', tags: [ ['p','3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24'], ['e','9c5147fca3447c9d626d496a429543044df215502dfa392e2f1e3051a68ec482'], ['bolt11','lnbc10u1p3769espp52wauu3aa52c062daa9qc2ea373qxca7sy9r6dq9s9wy7xqqf6ayqhp5jah42tp0ulvq70jc9t42ygr4plfywce79jegh6xry8qcf6v9h3fscqzpgxqzpusp59tdnj99axa449ns29mas838kmazrvgdglst0cvhsyv396sxrkyxs9qyyssq4c4e6sqva4ms0sqsa7axg62wz8u3xhmxw4vgk2eyjvzm9kt7s5mxyxzwyh8sy3gnzasyj99n7z6dzw4uqeuwlacah00nq6pyyjkg89cqdepceq'], ['description','{"content":"","created_at":1676482351,"id":"1e1ed6819b7d8ab6bae762e8ad3bb593b2d6a2510629fa9b19b5439a5a37b88e","kind":9734,"pubkey":"199a8ef55ac0e4c80cd034caffe3702724255a3e4d1aaed12b245c5156e230a6","sig":"ad021980229ca796ca9473f36c68683eaca71715fcd9364cb604fbd3c7c163e00e3527f1a14e32a6ac5c50de67289095973e0bb418f7bf39259f309499267eac","tags":[["e","9c5147fca3447c9d626d496a429543044df215502dfa392e2f1e3051a68ec482"],["p","3f770d65d3a764a9c5cb503ae123e62ec7598ad035d836e2a810f3877a745b24"],["relays","wss://relay.damus.io","wss://nostr-pub.wellorder.net","wss://nos.lol","wss://relay.current.fyi","wss://nostr.bitcoiner.social","wss://eden.nostr.land","wss://nostrafrica.pcdkd.fyi","ws://umbrel:4848","wss://nostr.fmt.wiz.biz","wss://relay.nostr.info"]]}'], ['preimage','bfd5f0098040777e96cc182c9bea90089a5c2fa95458ce3aad3e0ae729ef8b33'] ], id: '943463fdb592a81453c353fbd27daca4d4edd2c3b5d8a7e1178a2e8c3492ab2c', sig: 'd6e16643ed6fcd7ebba6f694d8477bb21772ce33c15980e149fcbc32a577115e8dc33c8a7caa6de9b888e1389deb247bc04b523734ec3dfdbd7657da6c5630ff' }Lol one address format to rule them all
Outstanding…Thanks!!
Thanks for the simple steps. Works like a charm.
Works like a charm, cheers SN fellas.
I have a really old keypair. Pre npub usage/adoption. It doesn't let me put it into the field. Not sure if that's a bug or feature on your end, but just a heads up.
It supports 64 chars of hex or the npub format. Which do you have?
I've been using this as my pubkey.
ad5aab5be883a571ea37b231cd996d37522e77d0f121cedfd6787b91d848268e...can I just switch to the npub version of that, without confusing apps and relays and followers?
I think my npub is/would-be : npub144d2kklgswjhr63hkgcumxtdxafzua7s7ysuah7k0paerkzgy68qurzyy7
I used @rot13maxi's tool just now.
It's valid when I enter it on my end. Make sure there's no whitespace or anything extra in the field.
And yes, the npub is just a difference encoding.
I only did step 2 and it seemed to work
It'll pay your lightning address but it won't show how many zaps you've received on a note ... This mostly just logs metadata to nostr about which note got zapped.
Mama mia! ⚡⚡⚡
Why is the point 1 (NIP-05) a requisite to enable zaps on the ln address?
I need your pubkey to make zaps work. You don't need to use us for nip-05 though.
Ah ok, NIP-05 is an easy way to obtain the npub, make sense!
Tried to zap myself on note1nukx0afm8qynyj5k0d70awvlz462yx06ejkn4c5n5nwa8tcx0z6qylpdyc, I received the sats but no zap on the note. I didn't specify a relay in the settings, can this be the culprit?
Will be the possibility to see the message by the payer?
It could be on my end. I'm still debugging this.
I suspect my zap notes might not be properly formed.
No problem. Let me know if I can help to test!
fire fire fire