First, add the Lamina1 repository and install the Betanet node package:
echo "deb [trusted=yes arch=amd64] <https://snapshotter.lamina1.global/ubuntu> jammy main" | sudo tee /etc/apt/sources.list.d/lamina1.list
sudo apt update && sudo apt install lamina1-betanet
This will install all required packages and dependencies for running the Betanet node.
Once installed, you may need to configure your node depending on the specific network settings or performance tuning you desire. By default, the node will run using the configuration provided by the installation, but if you need to adjust parameters, edit the configuration file located in:
/etc/lamina1/config.toml
Common configurations include setting node IDs, adjusting peer discovery settings, and configuring logging. After modifying any configurations, you can restart the node service.
After installation, manage the node service using systemctl. Start the service and check its status with:
sudo systemctl start lamina1-node.betanet
sudo systemctl status lamina1-node.betanet
This ensures your node is active. Logs can be checked via journalctl to confirm successful startup:
journalctl -u lamina1-node.betanet -f
This will provide real-time logs for troubleshooting.
To ensure your node has successfully bootstrapped and synchronized with the Lamina1 Betanet, use the provided check-bootstrap.sh script. This script checks the status of the node's connection to the blockchain and whether it has fully synced:
bash /path/to/check-bootstrap.s
You may need to replace /path/to/ with the correct directory where the script is located. Once fully bootstrapped, the node will participate in validating blocks on the network.
From time to time, updates to the node software will be released. To upgrade to the latest version, run: