I am thrilled to announce a substantial update to our installation script for Penumbra nodes, now fully optimized for Penumbra Version: v0.75.1. This update has been meticulously crafted to enhance compatibility and streamline the installation process for the latest version of Penumbra and its dependencies.
Key Enhancements:
- Environment Isolation: The script temporarily changes the
HOME
directory to/tmp
during its run. This prevents any personal shell configurations from interfering with the installation, ensuring a smooth setup process. - Robust Error Handling: Enhanced error checks and a fail-safe mechanism (
set -euo pipefail
) have been integrated. These improvements ensure that the script will halt upon encountering any errors, providing clear diagnostics for easier troubleshooting. - Dynamic Environment Configuration: Essential environment variables such as
GOPATH
andGOROOT
are automatically set if not previously configured, ensuring all dependencies are correctly managed. - Efficient Installation Flow: The script now checks and installs dependencies only when necessary, which speeds up the installation and reduces redundant operations.
Installation Now in Two Steps:
To facilitate a more controlled setup process, the installation is divided into two distinct steps:
1. Download and execute the installation script:
curl -O https://raw.githubusercontent.com/nodesbond/penumbra_guide/main/penumbra_nodes_bond_installer.sh && chmod +x penumbra_nodes_bond_installer.sh && ./penumbra_nodes_bond_installer.sh
2. Start the Penumbra node using tmux:
tmux kill-session -t penumbra
tmux new-session -d -s penumbra '/root/penumbra/target/release/pd start' && tmux split-window -h '/root/cometbft/cometbft start --home ~/.penumbra/testnet_data/node0/cometbft' && tmux attach -t penumbra
3. Wallets
Generate wallet
pcli init soft-kms generate
Restore wallet
pcli init soft-kms import-phrase
This new two-step approach not only simplifies the initial setup but also provides users with more flexibility and control over their node operation.
As a helper in the Penumbra community, my goal is to continually improve the tools and scripts to make running a Penumbra node as straightforward and efficient as possible. This update reflects our ongoing commitment to support our users and enhance the stability and usability of our software.
Stay tuned for further updates and enhancements, and thank you for your continued support and participation in the Penumbra network!