NostrRelay
Jump to navigation
Jump to search
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)