Hot answers tagged

2

This might not be a satisfying answer but if you look at the eclair git repo and their Wiki you will find that the eclair API is a JSON API and is exposed via http and web sockets and can be queried with regular http requests. If you look at the c-lightning python client it is a tool that talks via a unixDomainSocket to the exposed lightningd api. So I ...


1

While Eclair itself doesn't provide the information, you can use the information from Eclair to look up the capacity using some other block information provider. The capacity of channels is not part of the gossip information broadcast over the Lightning Network. The capacities are looked up on the blockchain from the shortChannelId, which fortunately is ...


1

Click the three dots in the top right corner, tap "Network Info". Your NodeId is visible on this screen Now, go to the URL ip.tyk.nu to find your IP address. Now, in a Linux prompt (or WSL), install the PyPI qrcode package. On Ubuntu, it is available in the python3-qrcode package. Now, execute this command (substitute the values you just learnt): echo -...


1

Here is a simple implementation that just works import requests class EclairClient(): def __init__(self,host, port, password, service_name=None, session=None): self._host = host self._port = port self._password = password self._session = session if session is None: self._session = requests.Session() ...


Only top voted, non community-wiki answers of a minimum length are eligible