Requirements
- Ledger Nano S set up to use with NIX or Trezor model 1/T set up to use with NIX.
- VPS capable of running a Ghostnode.
- NIX-QT desktop wallet.
- Ghostnode Tool app.
1. Send 40000 NIX to your hardware wallet
For Ledger and Trezor, use this guide to fund a ‘G’ address key to your hardware wallet using the NIX-Electrum wallet. (Note: the guide in the previous sentence is mentioned towards use through ledger, however, trezor set up follows the same exact steps)
2. Set up your VPS to run your Ghostnode
If you have an already running VPS Ghostnode, you will need to retrieve the ip & GHOSTNODEPRIVKEY which can be found in the ~/.nix/nix.conf file. You can also skip to step 3.
Use this guide to set up a Ghostnode on your VPS: https://medium.com/@nixplatform/ghostnode-setup-guide-d2b7616fbba3
Note that your GHOSTNODEPRIVKEY will be generated later in step 6, so on the VPS you can leave it blank for now.
3. Download the GhostnodeTool app
The Ghostnode Tool is for managing Ghostnodes (NIX masternodes) with a hardware wallet (Trezor 1/T, Ledger Nano S).
Download it here: https://github.com/nixplatform/ghostnode-tool/releases.
4. Download the NIX-QT wallet
- Download the NIX-QT desktop wallet.
- Browse to your NIX data directory:
Linux: ~/.nix
OSX: ~/Library/Application Support/nix/
Windows: %appdata%\nix - Open and edit nix.conf (or create a nix.conf if it is not there already) to include:
rpcuser=user
rpcpassword=pass
rpcport=8862
rpcallowip=127.0.0.1
server=1 - Start your NIX-QT wallet.
5. Set up the GhostnodeTool RPC connection
Open the Ghostnode Tool app, navigate to settings (gear button top left), and add the RPC connection to your NIX-QT wallet.
Clicking the “Test connection” button with all information filled out should respond with a “Connection successful” dialogue. If not, make sure your information is filled out correctly and the NIX wallet is actually running.
6. Add your Ghostnode details to the app
Create a new Ghostnode profile and fill out the information below.
If you have created a new VPS and do not have a Ghostnode private key, click the “Generate new” to receive one.
NOTE: If the Ghostnode tool is having trouble finding your address, enter 44’/400'/0'/0/0 into the BIP32 path and allow it to start its scan from there.
7: Edit and start the Ghostnode VPS
On your Ghostnode VPS, edit the ~/.nix/nix.conf file and add the “Ghostnode private key” you generated in the previous step to your configuration to your configuration.
~/.nix/nix.conf contents:
…
GHOSTNODEPRIVKEY=xxx
…
Once this is saved, you can launch nixd and wait until it is fully synced with the network.
8: Start your Ghostnode
Establish connection with your NIX wallet by clicking the connect button (highlighted red button).
Choose the type of hardware wallet you will be using by navigating to the “Miscellaneous” tab in the settings i.e. configuration tab of the main window (gear button top left).
Establish connection to your hardware wallet by clicking the connect button (highlighted red button).
Now click the “Start Ghostnode using hardware wallet” button and confirm on your hardware device.
8: Confirm your Ghostnode has started
Through your VPS, the command “nix-cli ghostnode status” will alert you if your node has been successfully started.
Conclusion
The Ghostnode Tool lets you safely start and manage your Ghostnodes via supported hardware wallets.