SatStack: Connecting LedgerLive to your own FullNode #3929
Replies: 37 comments
-
Just checking in whether there are any updates to this issue? Is it currently possible to connect Ledger Live to the raspiblitz node? Upon trying, Ledger Live seems to find/connect via RPC, but I'm unsure how and where the Ledger satstack application should interact with raspiblitz, should it be installed on the raspiblitz itself? |
Beta Was this translation helpful? Give feedback.
-
hi @rootzoll @henkisdabro, Adrien here from Ledger, I am working on satstack and would like to help if needed. |
Beta Was this translation helpful? Give feedback.
-
Hi there @adrienlacombe-ledger ! I just wanted to pop in to say I'm super excited that work is being done on this again, would love to see a good integration! Personally I don't have enough understanding of the inner working of raspiblitz itself, I'm more of a keen user and Ledger owner. Hence as such, hoping that the Raspiblitz team has some time over to provide you with the answers you need, and again thanks for writing in, I'll be following the thread! |
Beta Was this translation helpful? Give feedback.
-
hi @adrienlacombe-ledger ..
For most services running on raspiblitz we open a local port (so people are able to connect directly in the same local network from their laptops) and on parralel setup a tor hidden service that provides the same service - so on clients that support tor the connection even works when the laptop is outside the local network - for example when people are traveling. Do you think this makes also sense for SatStack? |
Beta Was this translation helpful? Give feedback.
-
thank you @rootzoll for the details! the local port completely makes sense yes! Unfortunately for the hidden services, I am still lacking a feature on Ledger Live to be able to connect it, but we are working on it ;) |
Beta Was this translation helpful? Give feedback.
-
So for the first implementation (bounty) it will be OK to have this just for local IP. |
Beta Was this translation helpful? Give feedback.
-
Excellent! |
Beta Was this translation helpful? Give feedback.
-
Hi I would like to tackle this on the weekend, so will work and report on Sunday |
Beta Was this translation helpful? Give feedback.
-
Looks like its still free, but nevertheless is already someone working on it ? |
Beta Was this translation helpful? Give feedback.
-
@ziggie1984 its all yours for the weekend :) If you have any questions, happy to answer. And please report back - even if you dont see a fit after the weekend. |
Beta Was this translation helpful? Give feedback.
-
Ok just a short update: was testing it successfully on the weekend, now I need to implement the bonus.script and probably finish it this weekend! |
Beta Was this translation helpful? Give feedback.
-
@rootzoll should we build the sources on raspiblitz or download them from the github repo, building is very fast but most of the programs seem to be downloaded from release pages ? |
Beta Was this translation helpful? Give feedback.
-
Normally all resources get downloaded from the github - best to fix to a commithash. You should find examples of best practices if you take a look at the bonus template script: |
Beta Was this translation helpful? Give feedback.
-
@adrienlacombe-ledger when using "importdescriptors" will bitcoin-core always rescan the wallet, it looks like it does so and it always starts from the beginning, did you experience something similar ? |
Beta Was this translation helpful? Give feedback.
-
Was testing satstack with only 1 descriptor and it rescans everything as soon as I restart, maybe bc I have zero funds on the descriptor will test now a descriptor on testnet where bitcoin-core will find founds Ok something is not adding up with the satstack bridge, it somehow restarts scanning everytime. When I just unload and reload the wallet "satstack" with bitcoin-cli commands no second rescan is necessary. I will investigate further |
Beta Was this translation helpful? Give feedback.
-
Hi, yeah I have some updates, currently I am working on the satstack program to make the scanning of the blockchain more reliable, so integrating the current satstack program makes not sense imo, because it rescans the blockchain after every restart, I am about to change that in the satstack program but still a to do |
Beta Was this translation helpful? Give feedback.
-
but this isssue is on the radar, will give you the next steps during the week |
Beta Was this translation helpful? Give feedback.
-
ok first PR on satstack is out, next will follow, if this is merged (and the second one, still working on it) then integrating this in Blitz will be done for breakfast :) |
Beta Was this translation helpful? Give feedback.
-
LedgerHQ/satstack#95 when this final PR is merged, the integration into the blitz infrastructure will start |
Beta Was this translation helpful? Give feedback.
-
Its merged - keep me updated :) I plan a next Release Candidate for RaspiBlitz v1.9 end of month ... do you think you might get a first prototype script ready by then to be included for people to test? |
Beta Was this translation helpful? Give feedback.
-
yes sure, this weekend on sunday integration should be finished, you have my word |
Beta Was this translation helpful? Give feedback.
-
Was the weekend productive or do you still need some more days? |
Beta Was this translation helpful? Give feedback.
-
yes I need still some more days, had to test whats the best way to interact with the user, I decided that the user can either use the ledger-live setup and generate the config file needed for satstack there, but can also import the pubkeys with the provided script. |
Beta Was this translation helpful? Give feedback.
-
Status-Update: So when connecting ledger-live to your own raspiblitz, I was not able to successfully verify the workflow on signet (receive and send a transaction connecting to my raspberrypi), somehow the ledger-live software fails syncing to the tip of the chain after publishing the transaction. So receiving and sending worked, but now the ledger-live software fails to sync. This is not a problem on the bridge side but on the ledger-live side. It needs investigation of the ledger-live software. So I am trying to dig into this, but not sure how fast I will dig into the ledger-live code. Also to make the user workflow way more comfortable some improvements need to be done in the ledger live software. We need to decide how the user wants to get the xpubs on the raspiblitz. Do we want to write a script so that the user connects the device to the rpi, and the xpubs are dumped into a file needed for the bridge connection (tried this but had problems dumping the xpubs bc the device somehow was not found, guess I need some drivers here - so this way could be a problem for every user regarding which device they have etc.) or we let the user export them via the ledger-live software and copy the relevant file to the raspiblitz. This is a bit more user-involved but less error prone. |
Beta Was this translation helpful? Give feedback.
-
@adrienlacombe-ledger so there seems more work on the ledger-live side to get this going - can you give un an idea how feasible it is to get this changes into ledger-live? |
Beta Was this translation helpful? Give feedback.
-
@rootzoll could you please summarize what changes are required please? I would then take this to the appropriate team of devs. Thank you! |
Beta Was this translation helpful? Give feedback.
-
@ziggie1984 can you get more specific what changes on the ledger-live software would be needed? |
Beta Was this translation helpful? Give feedback.
-
@ziggie1984 I was in talks with the node signal podcast about the bounty. I recommended to grant the bounty to you already for your research so far into that topic if you can share your so far progress and summarize the issues that stopped you for others to maybe later pickup on it. Just posting here on this issue would be best. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the recommendation but no need for the bounty until this feature is in. Basically the main problem was an user interface problem, meaning that how to elegantly let the user start the satsback program and have everything needed without much interaction. I need some time in the next couple of days to anlayse what the missing parts were, will get back to you this week. |
Beta Was this translation helpful? Give feedback.
-
@rootzoll @ziggie1984 any news on the satstack integration? |
Beta Was this translation helpful? Give feedback.
-
(EDIT 14th Sep 2022) It would be great to make it possible to conect your ledger hardware wallet with your own Fullnode. The tools needed for this is called "StatStack" :
Bounty
Adding a bounty to a prototype implementation of StatStack to RaspiBlitz thru the NodeSignal Podcast:
https://nodesignal.space/spenden-bitcoin-bounties/
The goal would be to have the bonus script and basic SSH info & install options. The following template can be used that contains lots of documentary on how to add your own bonus app to RaspiBlitz:
https://github.com/rootzoll/raspiblitz/blob/v1.8/home.admin/config.scripts/bonus.template.sh
If you decide to work on the bounty, please let us know by adding a comment on this issue so I can get back to you with the latest details.
Beta Was this translation helpful? Give feedback.
All reactions