For the Lucidity project, Bell Coding provides comprehensive node validation and performance optimization services. We begin by setting up nodes that are not only secure but also highly efficient. Our team conducts regular performance assessments and implements optimization strategies to ensure the network runs smoothly. Additionally, we perform periodic security audits to identify and mitigate vulnerabilities, helping Lucidity maintain a secure and high-performing blockchain infrastructure.

Code📜

sudo apt update && sudo apt upgrade -y

sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu -y

wget <https://golang.org/dl/go1.20.6.linux-amd64.tar.gz>
sudo tar -C /usr/local -xzf go1.20.6.linux-amd64.tar.gz

echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
source ~/.profile

go version

git clone <https://github.com/Lucidity-Network/lucidity.git>
cd lucidity

make install

lucidityd init BellCodingNode --chain-id lucidity-1

wget -O $HOME/.lucidity/config/genesis.json <https://raw.githubusercontent.com/Lucidity-Network/networks/main/lucidity-1/genesis.json>

SEEDS="[email protected]:26656,[email protected]:26656"
PEERS="[email protected]:26656,[email protected]:26656"
sed -i -e "s/^seeds *=.*/seeds = \\"$SEEDS\\"/" $HOME/.lucidity/config/config.toml
sed -i -e "s/^persistent_peers *=.*/persistent_peers = \\"$PEERS\\"/" $HOME/.lucidity/config/config.toml

sed -i -e "s/^pruning *=.*/pruning = \\"custom\\"/" $HOME/.lucidity/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \\"100\\"/" $HOME/.lucidity/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \\"10\\"/" $HOME/.lucidity/config/app.toml

lucidityd start

sudo nano /etc/systemd/system/lucidityd.service

[Unit]
Description=Lucidity Node
After=network.target

[Service]
User=bellcoding
ExecStart=/usr/local/bin/lucidityd start
Restart=always
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

sudo systemctl enable lucidityd
sudo systemctl start lucidityd

sudo systemctl status lucidityd