Setting up your Node (v1.4.21.1)
6. Setup your ceremonyclient
Create an empty ceremonyclient directory
echo "1. Creating the ceremonyclient directory for your new Quilibrium node..."
mkdir ceremonyclient && cd ceremonyclient
echo "... ceremonyclient directory created"
Setting release OS and arch variables
- Please adjust the variable values below (default os=linux, arch=amd64)
echo "2. Setting release OS and arch variables..."
release_os="linux"
release_arch="amd64"
echo "... \$release_os set to \"$release_os\" and \$release_arch set to \"$release_arch\""
Create node folder, and download all required node-related files (binaries, .dgst and *.sig files)
echo "3. Creating node folder, and downloading all required node-related files (binaries, .dgst and *.sig files)..."
mkdir node && cd node
echo "... node folder created"
files=$(curl https://releases.quilibrium.com/release | grep $release_os-$release_arch)
for file in $files; do
version=$(echo "$file" | cut -d '-' -f 2)
if ! test -f "./$file"; then
curl "https://releases.quilibrium.com/$file" > "$file"
echo "... downloaded $file"
fi
done
chmod +x ./node-$version-$release_os-$release_arch
cd ..
echo "... download of required node files done"
Create client folder, and download qclient binary
echo "4. creating client folder, and downloading qclient binary..."
mkdir client && cd client
echo "... client folder created"
files=$(curl https://releases.quilibrium.com/qclient-release | grep $release_os-$release_arch)
for file in $files; do
qclient_version=$(echo "$file" | cut -d '-' -f 2)
if ! test -f "./$file"; then
curl "https://releases.quilibrium.com/$file" > "$file"
echo "... downloaded $file"
fi
done
mv qclient-$qclient_version-$release_os-$release_arch qclient
chmod +x ./qclient
echo "... \"qclient-$qclient_version-$release_os-$release_arch\" renamed to \"qclient\""
cd ..
echo "... download of required qclient files done"