Replies: 2 comments 4 replies
-
Here are the instructions to reproduce my proof of concept: Dockerfile:
Build it using: Note that the container size is huge and could be optimized in many ways, but it is mainly meant to show it can be done. In order to point the app to your own node, I hardcoded the following changes: In webapp/src/utils/rpc-client.ts:
In webapp/src/containers/WalletPage/saga.tsx:
Now the big question is, how to improve this hacky solution... :) |
Beta Was this translation helpful? Give feedback.
-
Rather than the Webapp I liked to use the Defi-Wallet app. Maybe it's possible to add the Raspberry Defi-Wallet to defich/app/releases as well?
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I'm running a node on my Raspberry Pi, but in some cases, would also like a nice GUI to check my wallet. The Wallet app at the moment does not support pointing it to a node on another machine. Running it as a web app on the Pi could be a solution.
Describe the solution you'd like
Running the Wallet app as a webapp, served from my Raspberry Pi. I managed to get a proof of concept running, by hardcoding the rpc settings in the code. It would be nice to have a better solution to override the rpc settings. Theoretically, with a good set up, this could also allow pointing the Electron version of the app to a node running on another machine.
The main point here is to discuss a good way to override the rpc settings.
Describe alternatives you've considered
n/a
Additional context
Originating reddit post: https://www.reddit.com/r/defiblockchain/comments/mfzsuy/defichain_node_and_wallet_app_on_raspberry_pi/
Beta Was this translation helpful? Give feedback.
All reactions