Enable Cold Staking on Your Ledger Nano S


#1

Original tutorial (Wiki): https://particl.wiki/ledger_staking

Enable Cold Staking on Your Ledger Nano S

This tutorial will walk you through the steps of setting your Ledger Nano S hardware device up for cold staking on the Particl blockchain. This tutorial assumes Particl has been properly installed on your Ledger Nano S hardware device and that your Particl-Qt wallet is set up for Particl on Ledger.

Thanks to our great community member Ben for putting most of this tutorial together!

Requirements

Before starting the setup process, make sure you have:

(Step 1) Get Your Staking Node Public Key

./partyman stakingnode new

  • Note the public key somewhere, you will need it for later

(Step 2) Connect Particl-Qt to Your Staking Node


  • Open Particl-Qt

  • Plug your Ledger Nano S to your computer and make sure it is ready to transact (verify if there isn’t any required update and that everything is okay on Ledger Live)

  • Unlock Particl-Qt

  • Open the Debug Window by going in Help -> Debug Window -> Console

  • Enter the following command and make sure to replace key from your staking node by the public key you noted earlier :

walletsettings changeaddress “{“coldstakingaddress”:“Key from your staking node”}”

Note: If you are experiencing JSON parsing issues (Error: Error parsing JSON:“{”coldstakingaddress“:”Key with the walletsettings command) copy the command from this link instead of from this Wiki page. The problem has to do with the formatting of the " character.

(Step 3) Initiate Cold Staking


To initiate cold staking on your Ledger Nano S using Particl-Qt, your coins need to be on a cold staking address (which at that point, they aren’t yet). To do just that, you will need to:

  • Create a brand new standard address on Particl-Qt by going to the Receive tab and by clicking on Request Payment

  • Note the newly generated address somewhere

  • Go to Particl-Qt settings by clicking on Particl Core -> Preferences

  • Activate Coin Control by clicking on the Wallet tab and checking Enable coin control features

  • Click OK to close the Preferences window

  • Go to the** Send page** by clicking on the Send tab

  • Click on the new Inputs button to open Coin Control Features

  • Select one output (an address containing coins) by checking the box next to it and close Coin Control by clicking OK

  • Do not enter anything in Custom change address

  • Enter 0.01 PART as the transaction amount and the new address you just created moments ago as the destination address. This will move the remaining of this output’s balance to be transferred over to a cold staking address.

  • Click Send -> Yes

  • Particl-Qt will prompt you to follow the steps displayed on your Ledger hardware wallet’s screen

  • Confirm the transaction on your device if the transaction details are correct

  • Repeat the above Coin Control steps with other outputs if necessary, doing it one by one, and do so until all outputs have been transferred over to cold staking addresses. When selecting your next outputs, be sure not to select any output starting with 2 as these are cold staking outputs that have already successfully delegated their staking weight to your staking node.

  • You can either leave the dust amounts contained in the address you used to send the 0.1 PART transactions or transfer them somewhere else. It shouldn’t matter too much as that address shouldn’t contain any considerable balance anyway.

(Step 4) Verify Everything was Properly Set Up

  • Go back to your staking node’s terminal screen
  • Go to your partyman folder by typing the following:

sudo -i

cd /root/partyman/

  • Verify the status of your staking node by typing the following:

./partyman status

  • The output of that command should indicate particld staking currently?: YES as well as display the number of coins being staked by the staking node next to particld staking wallet weight:

Unlock wallet on partyman