pull down to refresh
0 sats \ 0 replies \ @beorange 27 Jan 2023 \ on: Easiest way to talk to a lightning node from a JavaScript frontend bitcoin
Assuming you are using a browser and not an app:
- Do it through a custom backend or adapt the CORS headers in order for the browser.
- You main problem will be securing the authentication tokens/credentials, specially for the later approach.
- You could use https://github.com/Ride-The-Lightning/RTL as inspiration.