Particl Desktop

Tips and notes for getting you up and running for Particl Desktop development in minutes

Particl Desktop is Particl’s flagship client/wallet for interacting with PART network, including Particl Open Marketplace.

For latest development set up info
check official repo of Particl Desktop (on dev branch)

Contribute

Snyk Build Status Coverage Status Code Climate Greenkeeper badge

Join us in #particl-dev:matrix.org on Element (formerly Riot) for more info and/or assistance.

Keep in mind that the development currently happens on a private fork of this repo.

Requirements

Installation

Clone the repo & fetch dependencies:

git clone https://github.com/particl/particl-desktop
cd particl-desktop
yarn install

Development

Note: most recent development happens on dev branch

In project’s folder:

  1. Run ng serve to start the dev server and keep it running
  2. In another terminal window, run yarn run start:electron:dev -testnet --devtools to start Particl Desktop on testnet (daemon will be updated and launched automatically)
    • -testnet – for running on testnet (omit for running the client on mainnet)
    • -reindex – reindexes the blockchain (in case you’re stuck)
    • --devtools – automatically opens Developer Tools on client launch

Interact with particl-core daemon

You can directly interact with the daemon ran by the Electron version:

./particl-cli -testnet getblockchaininfo

Packaging

Windows-only requirements

Building for Windows requires the 32-bit libraries to be available:

sudo apt-get install gcc-multilib
sudo apt-get install g++-multilib

Packaging commands

  • yarn run package:win – Windows
  • yarn run package:mac – macOS
  • yarn run package:linux – Linux

Troubleshooting

Development issues

Blockchain syncing stuck

Restart the app with -reindex flag:

yarn run start:electron:dev -testnet --devtools -reindex

Marketplace fails to load

Delete marketplace database folder and restart app:

OSpath
Linux~/.particl-market/testnet/03/
Windows%APPDATA%/Particl Market/testnet/03/
macOS~/Library/Application Support/particl-market/testnet/03/

Other issues

See our Particl Wiki for most common problems or join #particlhelp:matrix.org on Element for community help.

Updated