NostrRelay: Difference between revisions
Jump to navigation
Jump to search
(→Links) |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* Nostr Relay | * Nostr Relay | ||
** https://github.com/lnbits/nostrrelay | ** https://github.com/lnbits/nostrrelay | ||
* FastAPI | ** It is a module for running in LNbits: https://github.com/lnbits/lnbits | ||
** | * FastAPI (web app toolkit used by Nostr Relay) | ||
** Broadly similar to Flask - web app toolkit | |||
** Built for production speed (typechecking in Rust, Starlette asynchronous gateway interface (ASGI)) | ** Built for production speed (typechecking in Rust, Starlette asynchronous gateway interface (ASGI)) | ||
** https://en.wikipedia.org/wiki/FastAPI | ** https://en.wikipedia.org/wiki/FastAPI | ||
** https://fastapi.tiangolo.com/ | ** https://fastapi.tiangolo.com/ | ||
* ASGI Based (FastAPI apps run inside an ASGI server) | |||
** WSGI is synchronous (as opposed to asyncio, for example), so it does not do websockets and other long-connection things well. | |||
** https://en.wikipedia.org/wiki/Asynchronous_Server_Gateway_Interface | |||
** Uvicorn | |||
*** https://github.com/encode/uvicorn | |||
*** https://www.uvicorn.org/ | |||
* Lightning | |||
** Bitcoin micropayment network. | |||
** About $0.01 per transaction. | |||
** https://coincharge.io/en/how-much-does-a-lightning-payment-cost/ | |||
** Sats (Satoshis) are BTC/100,000,000 (100mm) |
Latest revision as of 02:25, 4 October 2023
Links
- Nostr Relay
- https://github.com/lnbits/nostrrelay
- It is a module for running in LNbits: https://github.com/lnbits/lnbits
- FastAPI (web app toolkit used by Nostr Relay)
- Broadly similar to Flask - web app toolkit
- Built for production speed (typechecking in Rust, Starlette asynchronous gateway interface (ASGI))
- https://en.wikipedia.org/wiki/FastAPI
- https://fastapi.tiangolo.com/
- ASGI Based (FastAPI apps run inside an ASGI server)
- WSGI is synchronous (as opposed to asyncio, for example), so it does not do websockets and other long-connection things well.
- https://en.wikipedia.org/wiki/Asynchronous_Server_Gateway_Interface
- Uvicorn
- Lightning
- Bitcoin micropayment network.
- About $0.01 per transaction.
- https://coincharge.io/en/how-much-does-a-lightning-payment-cost/
- Sats (Satoshis) are BTC/100,000,000 (100mm)