BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
158 stars 57 forks source link

Make the endpoint to the defid node configurable #1289

Open GuybrushX opened 7 months ago

GuybrushX commented 7 months ago

Which feature is your request related to?

The Desktop Wallet seems to be hardcoded to connect to localhost for RPC calls. Many people are running a Masternode themselves so it would be very useful to connect to your own Masternode via a (Wireguard) VPN -> the Masternode is usually always synced and running 24/7 already so why not to use it?

This change would free up local resources and bandwidth for the user and the servers/network because less snapshots will be downloaded for every upgrade. I think a few people even are running a separate machine only because of this reason.

Furthermore if multiple PCs are used everyone has to sync themselves.

Is your request related to a problem? Please describe.

It is always annoying to start and sync the Desktop Wallet, esp. when it was not running for a few days.

Describe the solution you'd like:

See above + provide a migration guide to use the Light Wallet or to encourage users to change the owner address to a Light Wallet address for rewards etc.

There some scripts available already on how to extract private keys from a seed phrase in case the user wants to use the Desktop Wallet as well -> I prefer both for example depending on the use case and as a backup.

Describe alternatives you've considered:

Modifying the code myself but I don't have the resources right now to set up a build environment to do and test this.

Additional context:

NA

github-actions[bot] commented 7 months ago

@GuybrushX: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details I am a bot created to help the [BirthdayResearch](https://github.com/BirthdayResearch) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/BirthdayResearch/defichain-app/blob/main/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.