-
Notifications
You must be signed in to change notification settings - Fork 578
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
Proposal of a very simple spec for p2p events #1331
Conversation
This comment was marked as spam.
This comment was marked as spam.
sure |
I would change the goal from "p2p events" to "order events" After all, the kind |
Ey @grunch this is awesome, I'm actively investigating exactly this for Robosats, I was taking a look to see if I could just use NIP-15 but would be awesome to work on a specific NIP for this, count with me 😁 |
Maybe it's worth to split it
|
These are some suggestions
|
Hi @KoalaSat Thanks for your feedback, yes I think we should work together to implement this solution in more p2p to have a bigger pool of orders, let's go! |
yeah, makes sense |
Following this nip proposal nostr-protocol/nips#1331
Following this nip proposal nostr-protocol/nips#1331
This is really nice! Two other tags that could be added can be An other suggestion can be to replace |
Hi @jerryfletcher21 thanks for your thoughts, I agree with this two new fields. Now that you brought this, we should also let know to the client if the order will be deleted from the list after a period of time, we have this on lnp2pbot and mostro, we can call it
I disagree with this one because there is not a {
...
"layer": ["onchain", "lightning", "liquid"]
...
} |
@grunch @jerryfletcher21 Don´t you think |
Is this not what the
In my opinion simply specifing |
If |
Not necessarily, right now in lnp2pbot and Mostro is like this, we set expiration to now+24 hours, then the order is taken and then with the change to status is
makes sense, it would be great to see if someone else have an opinion about this, I want to cover most use cases but I don't want to overcharge this spec
Although I think it is not necessary to go so much to the specific ones I think adding this kind of detail doesn't add complexity so let's do it. |
not sure if I understood the intention of this, but doesn´t the tags |
You are right maybe For example with I agree with @grunch though that is better to not add too many details and complexities, a |
The PR for Robosats is ready to be merged https://github.com/RoboSats/robosats/pull/1362/files#diff-7568a241dea682393e9d377f0f3426c46b9c6a7b5759d2835e0b60888a6f3a4bR39, it will stay "hidden" in the back-end so we can test it out in deep with real data, but after 24h coordinators should have published all available orders :) In future PRs I'll implement an additional system to publish notes in relays out of the federation. |
We were publishing all the movements on nostr but this could be used to deanonymize users, so now we are working only with those status on the specs nostr-protocol/nips#1331
Hi all. After 1 week on production, I can confirm Robosats' federation is now fully publishing their global orders book to their own relays. I'm extending the event with a couple of extra tags, but I consider them specific enough to not be taken into consideration for this NIP. I need to work on a sync to wss://satstralia.com so the orders are available in clearnet. In the mid-time, if any strfry runner is interested on automatically receiving these specific events, I'm happy to configure my coordinator for that 🙂 |
* Fixes to follow order NIP proposal We were publishing all the movements on nostr but this could be used to deanonymize users, so now we are working only with those status on the specs nostr-protocol/nips#1331 * Remove non used element from require * avoid duplicate events --------- Co-authored-by: Catrya <140891948+Catrya@users.noreply.github.com>
There seem to be a few implementations of this; is this ready to merge @grunch ? Pls update the NIP number and README 👌 |
requesting a change to the number, 69 has multiple implementations including nostr-tools and development resources like demo.nip69.dev, and r-sequential companion nip 68 |
This kind of events are being used on Mostro and lnp2pbot, the idea is to have an easy to implement specs for p2p platforms