In theory, Onomy chain can be run on Windows and Mac. Binaries will be provided on the releases page and currently scripts files are provided to make binaries. We also suggest an open notepad or other document to keep track of the keys you will be generating.
Start by logging into your Linux server. The following commands are intended to be run on that machine.
-
Clone Onomy repo. (You might need to install git using
dnf install git
).git clone https://github.com/onomyprotocol/onomy.git
-
Run the installation script
cd onomy/deploy/scripts
-
Install dependencies from compiled binaries
For mainnet
./onomy/deploy/scripts/bin-mainnet.sh
For testnet
./onomy/deploy/scripts/bin-testnet.sh
-
Or compile and install
For mainnet
./onomy/deploy/scripts/bin-mainnet-from-sources.sh
For testnet
./onomy/deploy/scripts/bin-testnet-from-sources.sh
To download and install binaries follow these steps
- Create a new directory in your home directory which will save all the onomy
packages.
mkdir -p $HOME/.onomy/bin && cd $HOME/.onomy/bin
- Download binaries using wget and add executable permission
-
Create new bin dir
cd $HOME/.onomy/bin
-
Download binaries
wget https://github.com/onomyprotocol/onomy/releases/download/v1.0.1/onomyd
-
Make binaries executable
chmod +x *
- You can now use these binaries, but in order to use them from anywhere in your terminal, you will need add them to
$PATH variable
export PATH=$PATH:$HOME/.onomy/bin