Installation
ParallelChain client (pchain_client
) is a command-line tool that allows you to connect and interact with the ParallelChain Mainnet / Testnet. pchain_client
supports both Windows and Linux/macOS. In this tutorial, we will provide you with step-by-step instructions on how to install and use pchain_client
to transfer tokens, deploy smart contracts, and call contracts.
Installation Instructions
Windows
- Download the latest release as a compressed file from Assets of ParallelChain Lab's GitHub release page.
- Unzip the file to extract the executable
pchain_client.exe
. - Open Powershell by pressing WIN+R and typing
powershell
. - Navigate to the directory where
pchain_client.exe
is located using thecd
command. For example, if the executable is located atC:\Development
, typecd C:\Development
. - Follow the instructions in Section Prepare Environment to get ready for interacting with the blockchain.
Linux / macOS
The installation process for Linux and macOS is similar. To install pchain_client:
-
Download the latest release as a compressed file from Assets of ParallelChain Lab's GitHub release page.
-
Head to the directory where the downloaded file is located and extract it using
tar
. For example:tar -xvf pchain_client_linux_v0.4.3.tar.gz
tar -xvf pchain_client_mac_v0.4.3.tar.gz
-
Follow the instructions in Section Prepare Environment to get ready for interacting with the blockchain.
Tips
-
If you're using macOS and encounter a GateKeeper message when trying to run pchain_client, you can remove macOS' "GateKeeper" attributes from pchain_client using the following command:
This is an elevated action, so you will need to enter your password to continue.sudo xattr -rd com.apple.quarantine ./pchain_client
pchain_client
can now be used as normal. -
You might want to store
pchain_client
in a directory of your choice so that it is easier to follow the commands in the tutorial. For example, we created a folder in our home directory called parallelchain_client:$ mkdir -p /home/my_user/parallelchain_client $ cp pchain_client /home/my_user/parallelchain_client/ $ cd /home/my_user/parallelchain_client $ ./pchain_client