/homebrew-pchain

Homebrew Tap for pchain

Primary LanguageRuby

homebrew-pchain

you can use our Homebrew tap to install pchain. If you don't have Homebrew,install it first

Then run the following commands to add the tap and install pchain:

brew tap pchain-org/pchain
brew install pchain

Upgrade the latest pchain client

brew upgrade pchain

Make sure to check the different options and commands with pchain --help

After installing, run pchain account new to create an account on your node.

Building from source

Building pchain (command line client)

Clone the repository to a directory of your choosing:

git https://github.com/pchain-org/pchain.git

Building pchain requires the Go compiler:

brew install go

Finally, build the pchain program using the following command.

cd pchain
make pchain

If you see some errors related to header files of Mac OS system library, install XCode Command Line Tools, and try again.

xcode-select --install

You can now run ./bin/pchain --help to check the different options and commands.