Particl-cli on Raspberry Pi

Particl comes with arm build, which makes running it on Raspberry Pi a breeze.

  1. download latest wallet (for arm architecture - particl-<version>-arm-linux-gnueabihf.tar.gz)
  2. copy/upload/download it to your Pi (you can always use Filezilla via SSH or wget via SSH)
  3. extract the contents (tar xvf particl-<version>-arm-linux-gnueabihf.tar.gz)
  4. navigate to cd particl-<version>/bin
  5. run the daemon: ./particld -daemon

If you created your wallet elsewhere, you can easily import it by issuing extkeygenesisimport. You will be asked for your mnemonic (or “Recovery Phrase”) and your Passphrase (if you have any):

$ ./particl-cli extkeygenesisimport
Please enter a mnemonic or private extkey and press return:
diamond aisle such opera uncover rebuild cabbage enrich defense assault grab acid
Please enter passphrase, leave blank for none:
my secret passphrase
  "result": "Success.",
  "master_id": "xFzvsp3aK1yLCfQSnc2ebbD58FkBU19Q7t",
  "master_label": "Master Key",
  "account_id": "aVUZpKcrZV3pXMbbjJg1P6FxWx6cp72P5T",
  "account_label": "Default Account",
  "note": "Please backup your wallet."

You should then encrypt your wallet:

$ ./particl-cli encryptwallet "<your long passphrase>"
wallet encrypted; Particl server stopping, restart to run with encrypted wallet. You need to make a new backup.

You'll need to start the particld daemon again:

$ ./particld -daemon
Particl server starting

As this is your “dedicated staking device”, you want to stake your coins. Let's unlock your wallet for staking only.

Tip: start this command with a “space” symbol – it won't be saved to your command history (another security measure):

$  ./particl-cli walletpassphrase "<your long passphrase>" 0 true

Few notes:

  • if your passphrase contain spaces, be sure to wrap the whole passphrase “in quotes”
  • 0 is number of seconds for which the wallet should be unlocked (0 = forever)
  • true at the end is for “staking only”

Then make another backup, just in case:

$ ./particl-cli backupwallet <destination of backup>

Eg.: for saving your wallet.dat in the home directory, you would enter ./particl-cli backupwallet ~/particl-backup.dat