stakwork / sphinx-relay

Node.js wrapper for communication between sphinx client and lightning node.
MIT License
247 stars 71 forks source link

New connection string #174

Open ZsZolee opened 3 years ago

ZsZolee commented 3 years ago

I deleted the app on my android phone, but since then I can't connect anymore. How can I get a new connection string without losing any other data? I don't want to lose my tribes.

kevkevinpal commented 2 years ago

In the future, you'll probably want to export your keys from the settings menu before deleting the app. You can technically create a connection string for the account you're using but that would require you to manually input your private key which I would not recommend.

This is how we do it programmatically in the sphinx-mac app https://github.com/stakwork/sphinx-mac/blob/e1f7f643a3195fda8f5b2298b63b5ec434b0ea03/com.stakwork.sphinx.desktop/Configuration/UserData.swift#L179

I would recommend backing up your sphinx.db file and just rejoining the tribes after you've just reinstalled