Skip to content

Installation

Steven Masley edited this page Oct 14, 2019 · 4 revisions

Installation

pegnetd is a daemon that sits on top of the factom network. Because it is a second layer application, it has dependencies on factomd and factom-walletd. This article does an excellent job detailing the relationship between all the daemons -> https://factomize.com/how-to-setup-the-pegnet-ecosystem-for-conversions-and-transfers/

Prequisites

  • A running factomd
  • Recommended to have a factom-walletd to allow txs/conversions

Download

All pegnetd releases will be on the releases tab on Github (https://github.com/pegnet/pegnetd/releases), and the latest binary can be found and downloaded there. We recommend keeping the pegnetd binary somewhere that you can remember. You can also move the pegnetd binary to it's application folder in your home directory.

From a command prompt/terminal window

echo "Creating the pegnetd application folder"
mkdir $HOME/.pegnetd
echo "Moving the downloaded application into the folder"
mv pegnetd-linux-amd64 $HOME/.pegnetd

Running

The default configuration assumes factomd and factom-walletd are run locally. If this is not the case, you will have to adjust your configuration file once it is created. Running pegnetd for the first time will create a default configuration file at $HOME/pegnetd/pegnetd-conf.toml

From a command prompt/terminal window

cd $HOME/.pegnetd
# If you are on a mac or windows, change this to name of the binary you downloaded.
./pegnetd-linux-amd64

Once it is running, it will begin the sync process. This takes some time, so be patient. As pegnetd syncs, you can start getting familiar with the cli!