How To Set Up Your NIX Ghostnode With Ledger & Trezor

NIX app on a Ledger nano S

Requirements

  • Ledger Nano S set up to use with NIX or Trezor model 1/T set up to use with NIX (support coming soon).
  • VPS capable of running a Ghostnode.
  • NIX-QT desktop wallet.
  • Ghostnode Tool app.

1. Send 40000 NIX to your hardware wallet

For Ledger, use this guide to fund a ‘G’ address key to your hardware wallet using the NIX-Electrum wallet.

For Trezor, support coming soon.

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

  1. Download the NIX-QT desktop wallet.
  2. Browse to your NIX data directory: 
    Linux: ~/.nix
    OSX: ~/Library/Application Support/nix/
    Windows: %appdata%\nix
  3. 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
  4. 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.

Ghostnode Tool with connection set up to local NIX 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.

Details filled out on the Ghostnode Tool app

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).

Connect to RPC network

Establish connection to your hardware wallet by clicking the connect button (highlighted red button).

Connect to hardware wallet

Now click the “Start Ghostnode using hardware wallet” button and confirm on your hardware device.

Click “Start Ghostnode” and approve on your hardware device
Sign and confirm the start ghostnode message
Successful response

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.

Website
Discord
Twitter
Reddit
Telegram