Repository navigation
Mint data for P2PK escrow: list mints with NUT-10/11 and no input fee #653
hroomnik007
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Shopstr team, I'm behind MintRadar (mintradar.org), an open-source Cashu mint monitor. I saw that the P2PK escrow checkout checks the mint's keyset input fees and supports an allowlist of mints (NEXT_PUBLIC_P2PK_ESCROW_ALLOWED_MINTS). Our public Wallet API can list mints that support NUT-10/11 and charge no input fee:
mintradar.org/api/v1/wallets/mints?nuts=10,11&maxInputFeePpk=0&unit=sat
Every entry has measured facts with timestamps and sample sizes (uptime, latency, fees, keysets, a log of pubkey/fee changes, and
scoreStale/downSinceif a mint is down). The score is a documented formula you can ignore. There is also a signed health feed on Nostr (kind 30385). It could help you build or review the allowlist, or notice when a mint starts charging fees and would break checkout. Would that be useful? Happy to adapt the API to what you need.Repo: github.com/hroomnik007/MintRadar
Docs: mintradar.org/for-wallets (OpenAPI spec and examples in the repo)
All reactions