evansmj / cln-node-visualization

Core Lightning channel visualizer. Connect to your node, and see the channel graph. Used in workshops at Unconfiscatable, Bitcoin Atlantis, bitcoin++ Buenos Aires, and more. In conjunction with LNPlay (lnplay.guide).
https://lnplay.network
MIT License
6 stars 1 forks source link

Feature: Accept connection info (websocket interface & rune) via query string #12

Open farscapian opened 11 months ago

farscapian commented 11 months ago

It would be handy to construct special links that convey the connection information (websocket URI & rune). Clams does this for example:

https://beta.clams.tech/wallets/add?label=Bob&larp=true&type=coreln&configuration=%7B%22address%22%3A%2202c405aeb9ec1b484f4392a25b5cfaaf121db779c025d82cddc72001627774bec4%40roygbiv.money%3A6002%22%2C%22token%22%3A%22NiQlAwlBo4ThvsSZsYF_B-nOqJsoKw6HI2_uyfG0JbE9MQ%3D%3D%22%2C%22connection%22%3A%7B%22type%22%3A%22direct%22%2C%22value%22%3A%22wss%3A%22%7D%7D

We may want to ask the Clams guys if that functionality from Clams can be factored out into a library of sorts so that any fork this repo can have that functionality.