sandwich's avatar
sandwich
bread@sandwich.farm
npub1uac6...99rx
author of nips that you use every day but have no idea exist. infamous shit-stirrer. former full-time nostr developer.
sandwich's avatar
sandwich 5 days ago
Did you know that https://nostr.watch has both a v2 rest API with L402/P2PK payments and a CVM with CEP-8 payments? NIP-66 is always free of course, and can derive all of the data from these endpoints. Both have been live but unannounced for roughly ~5 months, running with payments enabled for about a month. The purpose of deploying these was to exercise the deployment of an end-to-end, self-managed payment solution that implements novel payment protocols. image https://nostr.watch runs its own lightning node, with it's own liquidity management and a private mint for internal use. Both the CVM and REST API run a @nostrwatch/rstate instance, a state machine derived from aggregate NIP-66 data. USEFUL LINKS: https://cvm.nostr.watch CONTEXTVM SANDBOX: https://www.contextvm.org/s/65a334b02f5913cf2c1f73376044df11254166676e7d499d0c34e2ca10cf3e16 RSTATE SOURCE: LMK if you have issues or feedback. Disclaimer: Due to the complexity of testing P2PK payments, the stability of the implementation is unknown. However, when I shipped it, it worked beautifully.