NostrRelay: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
No edit summary
 
(3 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 (toolkit used by Nostr Relay)
** It is a module for running in LNbits: https://github.com/lnbits/lnbits
** Similar to Flask - app server toolkit
* 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