Repository navigation
Conversation
mk-Denver
marked this pull request as ready for review
October 19, 2026 12:21
Contributor
Author
|
@okjodom Please review this PR at your earliest convinience. |
This was referenced Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #25
Adds standing swap offers as NIP-69 kind
38383peer-to-peer order events toprofiles/swap-v1.md, so Pontmore swap Agents are discoverable by the wider Nostr P2P ecosystem (Mostro, lnp2pBot, RoboSats, Peach).Changes
profiles/swap-v1.md
38383, addressabledslotpontmore/swap@1:<currency>:<k>, NIP-69 tags (k,f,s,amt,fa,pm,premium,network,layer,expires_at,expiration,y,z), and Pontmore profile tags (protocol,price,channels,aescrow address,presolver)content; no payment instructions in the offerfiat_to_btc→sell,btc_to_fiat→buyprotocoltag check,d-slot currency/kconsistency,expires_atlater thancore/acceptcreated_at,network/layerdistinction, and Bitcoin amount derivationfloor(fiat.amount × 100000000 ÷ price)with exact arithmetic[0, <pubkey>, <created_at>, <kind>, <tags>, <content>]as the committed bytes, media typeapplication/json, digestsha256:+ event IDamtDeviation subsection: documents thatamt0is derived frompriceat binding time, not from a public API; aggregators can list but cannot quote satsfamaximums that reveal exact liquidity; MAY round down to a coarse valuequotekey scoped to the standing public price offered through the NIP-69 event; validation wording corrected (Nostr event signature,core/accept-time expiry)PIP-01-escrow-descriptor.md
PIP-02-coordination-event-chains.md
README.md
.gitignore
drafts/to exclude working drafts from commitsInteroperability notes
NIP-69 aggregators can list Pontmore offers. Cross-platform settlement (e.g. with Mostro) requires implementing
pontmore/swap@1— the interop gain is aggregator visibility, not shared settlement. A Pontmore offer is a standing quote that stayspendingand is republished, unlike NIP-69's per-tradein-progress/successlifecycle.Open questions (from the profile)
channelsreference a named registry or remain any versioned identifier?expirationon a withdrawn (canceled) offer be required so relays drop it?