-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NIP-47: some clarifications #1827
Comments
I think all the fields except for But here the I don't think there is any benefit of re-including the nostr public key (32-bytes, the same used in the NWC URI) in the response since the client must have in order to do the request in the first place. |
I just went ahead and added the block_hash and changed the pubkey to our node id for coinos |
@asoltys Thanks! This works - I was able to successfully make a connection with NWC from Clams to my Coinos wallet. I am seeing a similar error when I call the
Per the NIP, I think this is the relevant section - https://github.com/nostr-protocol/nips/blob/master/47.md#list_transactions Looks like |
Thanks @johngribbin I've fixed that as well now coinos/coinos-server@118386e |
Awesome, thanks @asoltys ! All looks good on our end, cheers for the quick fixes! |
Make all `GetInfoResponse` fields optional, except for `methods`. Ref nostr-protocol/nips#1827 Closes #795 Signed-off-by: Yuki Kishimoto <[email protected]>
Make all `GetInfoResponse` fields optional, except for `methods`. Ref nostr-protocol/nips#1827 Closes #795 Signed-off-by: Yuki Kishimoto <[email protected]> Signed-off-by: Yuki Kishimoto <[email protected]>
Make all `GetInfoResponse` fields optional, except for `methods`. Ref nostr-protocol/nips#1827 Closes #795 Signed-off-by: Yuki Kishimoto <[email protected]>
Make all `GetInfoResponse` fields optional, except for `methods`. Ref nostr-protocol/nips#1827 Closes #795 Pull-Request: #803 Signed-off-by: Yuki Kishimoto <[email protected]>
Make all `GetInfoResponse` fields optional, except for `methods`. Ref nostr-protocol/nips#1827 Closes #795 Pull-Request: #803 Signed-off-by: Yuki Kishimoto <[email protected]>
Hi, @johngribbin noticed that coinos is not including the
block_hash
field in theget_info
response, causing a deserialization error.Checking the NIP-47, only
notifications
field is marked as "optional", so I would assume that the others are mandatory, right?And, always related to the
get_info
response: is thepubkey
field the "Lightning Node's public key"? Because I see coinos is sending the nostr public key (32-bytes, the same used in the NWC URI) and not the lightning node one (33-bytes).@rolznz @benthecarman @Semisol @asoltys @secondl1ght
The text was updated successfully, but these errors were encountered: