feat: nostr transport layer for HTTP-free API access #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nostr-native-transport-forgejo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Architecture
New module:
lnbits/core/services/nostr_transport/models.pyNostrRpcRequest/NostrRpcResponsepydantic modelscrypto.pyauth.pyrelay_pool.pydispatcher.py__init__.pyRegistered RPCs
rpc_namecreate_invoicePOST /api/v1/payments {out:false}pay_invoicePOST /api/v1/payments {out:true}get_paymentGET /api/v1/payments/{hash}list_paymentsGET /api/v1/paymentsget_walletGET /api/v1/walletcreate_walletPOST /api/v1/walletdecode_paymentPOST /api/v1/payments/decodeConfiguration
Test plan
NOSTR_TRANSPORT_ENABLED=false(no change in behavior)create_invoice/pay_invoice/get_walletRPCs over nostr🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.