Skip to content

A desktop app for easy voting with your DeFiChain master nodes.

License

Notifications You must be signed in to change notification settings

DerFuchs/defichain-voting-helper

Repository files navigation

DeFiChain Voting Helper

A desktop app for easy voting with your DeFiChain Masternodes.

tl;dr

Use this app on the computer which is also running the DeFiChain full wallet which is connected to your master nodes.

Restrictions & How It Works

This app needs a full wallet running on the same computer. This full wallet has to hold the OWNER address(es) of the masternode(s). That's usually the setup you already have when you are running master nodes.

That full wallet is neccessary because this app connects to the DeFiChain Node, running underneath the full wallet and performs actions remotely. It's basically like you're executing commands via CMD, but automated.

Download

Latest Version: 4

Latest version for Windows

https://defichain-votings.com/app/DeFiChain-Voting-Helper-App-Setup.exe

Latest version for MacOS

Apple Silicon (M1 / M2): https://defichain-votings.com/app/DeFiChain-Voting-Helper-App-Apple-Silicon.dmg

Intel: https://defichain-votings.com/app/DeFiChain-Voting-Helper-App-Intel.dmg

(Move to Applications => Right click => Open || Double click will not work because it's not signed yet)

Usage

  1. Start your DeFiChain Full Wallet, holding your masternode's owner addresses on the same computer
  2. Open the app
  3. Set up the connection to your Full Wallet by providing the "rpcauth" key from the defi.conf file.

defi.conf location

Windows: C:\Users\username\.defi\defi.conf

MacOS: ~/Library/Application Support/Defi/.defi/defi.conf

Contact

@dt_buzzjoe on Twitter (https://twitter.com/dt_buzzjoe)

@Buzzjoe on Telegram (https://t.me/Buzzjoe)

FAQ

I have hosted my MN at mydefichain, can I use this app?

Yes! It does not matter where your MN is hosted because it is the OWNER address which is performing the vote. So, all you need is a Full Wallet, running on the same machine as this app. This Full Wallet has to hold the OWNER address, of course.

Someone sent me this app as a download via Telegram or Twitter, can I trust it?

NO! The only trusted source to download this app is the domain https://defichain-votings.com. I will NEVER send you this app from any other source. If this happens to you, the other guy is most likely an attacker, pretending to be me. Please report this account immediately and do NOT download or execute the application!

Is it secure to save my rpcauth key within the app?

Decide on your own. These are the key facts:

  • The key itself is being saved in an encrypted app container.
  • Almost every software on your computer can access the defi.conf file.
  • The key is only allowed to perform read actions per default. Writing only gets possible when your wallet is unlocked.

Mac Users: I can't find the defi.conf file

Did you try to open the folder ~/Library/Application Support/Defi/.defi/ or was it /Library/Application Support/Defi/.defi/? The little ~/ stands for a short link to your user folder. You might have been searching withing the /Library base folder on your hard disk. That's the wrong folder. ~/Library is also hidden by default in Finder. Therefore, just open Finder, click on "Go to" in the menu bar, then "Go to folder" and put ~/Library/Application Support/Defi/.defi/ into the input field. This should open the folder you're looking for.

The app tells me to transfer some DFI to my wallet, why?

Performing a vote costs a small amount of DFI. This is because the vote is being written to the blockchain and writing costs a fee. Voting helper spawns a new transaction for every vote. Therefore, the wallet blocks several small amounts of DFI to ensure that the transaction can be performed. It blocks way more than will be taken as a fee, just to have some wiggle room. This causes the wallet to not accept any further voting transaction until the running ones are done. Long story short: Just send some DFI to your wallet and you're good to go. Rule of thumb: 1 DFI per master node shoud be sufficient. Voting tx will cost just a few small fractions of a DFI, but the blocked amount during the TX is way higher.

This is how it looks

Overview Voting Detail Node Connection

Geek Land - Build on your own

If you don't trust the builds, you can build it on your own!

Attention, this is Geek Land starting. You should better not do this your first time and know what you're doing.

Prerequisites

First of all, clone this repo.

Then install:

Then cd into the directory and proceed...

Install the dependencies

yarn
# or
npm install

Build the app for production

for the system you're currently running

quasar build -m electron

force building for Windows

quasar build -m electron -T win32 --arch x64

force building for MacOS

For Apple Silicon:

quasar build -m electron -T macOS --arch arm64

For Intel Macs

quasar build -m electron -T macOS --arch x64

Geek Land^2

Customize the configuration

Quasar utilizes Vite as build tool. You can customize it.

See Configuring quasar.config.js.

About

A desktop app for easy voting with your DeFiChain master nodes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published