Make Prerequisites
Last updated
Last updated
The codebase is currently not public. We will be sharing more details about the validator's role and functionality soon. We appreciate your patience and interest. Thank you for your understanding and continued support.
The following prerequisites are essential for running a validator, a bridge node, and a full/light node.
Ensure your system and tools are up-to-date and equipped with essential development utilities including compilers (clang
), network utilities (curl
, wget
, aria2
), archive tools (tar
), and essential build tools (make
, build-essential
).
This project requires Go version 1.22.1 or higher. Install Go by following the instructions on the . Begin by installing the essential tools required for compiling and building binaries:
Prepare the Python environment for managing AWS services and SSH communications. To maintain a clean and conflict-free environment, it's recommended to use a Python virtual environment. You can create one by installing virtualenv
(pip install --user virtualenv
), then setting it up with python3 -m virtualenv ~/myenv
and activating it using source ~/myenv/bin/activate
.
Note: This step is temporary for the Nubit DA Alpha Testnet phase and can be skipped afterward.
Contact the Nubit team and provide the email associated with your GitHub account. We will grant your GitHub account access to specific private repositories.
Please send your email and contact information to [email protected] to get in touch with the Nubit Team for accessing Nubit DA Alpha Testnet Chain Nodes. The email should include your contact details, a brief introduction of your team, and contact person information.
RiemaLabs Key: Generate an SSH key dedicated to RiemaLabs using the following command:
General GitHub Key: If you haven't already generated an SSH key pair for GitHub, create one using:
Add RiemaLabs Public Key: Copy the content of ~/.ssh/riema_id_ed25519.pub
and ~/.ssh/id_ed25519.pub
:
Set up SSH Configuration: Edit or create the ~/.ssh/config
file to use specific keys for RiemaLabs and other repositories:
Add the following lines to the config
file:
Redirect Git HTTPS URLs to SSH for RiemaLabs:
Set appropriate permissions for your SSH keys and configuration files to secure your connection:
Start the SSH agent:
Add your keys to the SSH agent:
To avoid issues with private repositories lacking records in Go's official SUMDB, set the GOPRIVATE
environment variable:
Add this command to your shell profile file (e.g., ~/.bash_profile
) to apply it to all sessions:
Apply the changes immediately (if in an active session):
By following these steps, you will have securely set up and configured access to RiemaLabs' private repositories using SSH. Make sure each step is completed accurately to maintain a secure and efficient workflow. Should you encounter any issues or require further assistance, contact our support team for help.
Create and switch to the nubit-da
directory in your home directory, setting up a designated workspace.
Add this two public keys to your GitHub account at .