NostrRelay: Difference between revisions
Jump to navigation
Jump to search
(→Links) |
No edit summary |
||
Line 14: | Line 14: | ||
*** https://github.com/encode/uvicorn | *** https://github.com/encode/uvicorn | ||
*** https://www.uvicorn.org/ | *** 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) |
Revision as of 19:17, 3 October 2023
Links
- Nostr Relay
- 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)