Welcome to the Nimble Miner setup guide. This document is designed to help you get started with the NEW Nimble Miner. New mining tasks are optimized to reduce GPU computing cost to 95%. This guide makes the setup process as easy as possible.
Nimble Miner allows users to contribute to the Nimble network by performing AI training and inferencing tasks in exchange for rewards. This guide will take you through the necessary steps to set up your mining operation.
Linux OS
Nvidia GPU with Cuda
4GB RAM
1 GB disk space
GNU LIBC >= 2.34
This guidline working good with Cuda:12.0.1-Devel-Ubuntu22.04 template for only one times to copy and paste
If this is first time you use vast and dont know how to connect, please see it first: https://www.youtube.com/watch?v=KraLVgFS4vU
Select the proper version for your Nvidia GPUs drivers and install like following
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-driver-550-server
sudo apt install nvidia-cuda-toolkit
sudo apt install curl
sudo apt-get install -y libcurl4-openssl-dev
cd && cd $HOME/nimble && cd wallet-public
./nimble-networkd keys add YOUR_WALLET_NAME
After you've entered your passphrase, your wallet shoud be successfully created and the “address: nimblexxxx” output can confirm that! Copy the generated Nimble address and save your wallet information in a safe place.
If you already have seed pharse of wallet, u can recover it by command
cd && cd $HOME/nimble && cd wallet-public
./nimble-networkd keys add YOUR_WALLET_NAME --recover
After you've entered your seed pharse and pass pharse, you wallet should be successfully create and the “address: nimblexxxx” output can confirm that!
Put your nimble address in /etc/nimbleservice/nimbleservice.conf file in following format. Make sure you have read permission for this file.
NIMBLE_PUBKEY=nimble17haajcrvtnkcu85h8l9qvdxs9vzc63mvlen4qt
Run the ssh-keygen command: The following command will generate an SSH key pair using the RSA algorithm with a 4096-bit key length:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Explanation:
- -t rsa: Specifies the type of key to create (RSA in this case).
- -b 4096: Specifies the key length (4096 bits for enhanced security).
- "[email protected]": A comment to help identify the key (typically your email address).
By default, the public key file will be located at /home/your_username/.ssh/id_rsa. If you choose a different location, make sure to remember it as you’ll need it later.
Just copy all these command and paste to your terminal.
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor --yes -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo apt-get update; sudo apt-get install -y nvidia-container-toolkit nvidia-driver-550-server
sudo nvidia-ctk runtime configure --runtime=docker
Download the script using the following commands. This script will read your SSH public key from the default location (~/.ssh/id_rsa.pub). If your key is stored in a different location, you can modify the script accordingly.
Once you’ve downloaded the script, ensure the current user has sudo privileges, execute it (without sudo).
wget -O startMinerSetup.sh https://raw.githubusercontent.com/nimble-technology/nimble-miner-public/main/scripts/startMinerSetup.sh
chmod +x startMinerSetup.sh
./startMinerSetup.sh
That’s it! You’re ready to begin mining.
# show running containers
docker ps
# get logs from container
docker logs container_id
Logs will be printed on console
NIMBLE_PUBKEY=nimble17haajcrvtnkcu85h8l9qvdxs9vzc63mvlen4qt
Nimble Miner Service Output:
GPU 0: Tesla M60 (UUID: GPU-ac3583f3-6ead-2168-43bd-61d3a55a4dfa)
GPU 1: Tesla M60 (UUID: GPU-63864136-feb7-6eb3-ac43-9dade00c1f77)
nimble17haajcrvtnkcu85h8l9qvdxs9vzc63mvlen4qt
Try to get task...
Got one task...
Finish 1 percent of task ...
Finish 2 percent of task ...
Finish 3 percent of task ...
Finish 4 percent of task ...
Finish 5 percent of task ...
You can contact us if have any issue related this guideline Discord Twitter