With the continuous development of blockchain technology, more and more people are venturing into the mining sector. However, not everyone has high-performance GPU hardware for mining. At this point, cloud mining becomes an excellent choice. vast.ai is a platform that offers GPU rental services, allowing users to easily rent high-performance GPUs for computation. In this article, we will explore how to deploy and run the Xenium/XNM GPU Miner on the vast.ai platform.
vast.ai offers a simple, flexible interface that allows users to select GPUs based on their needs. Its billing model is also very transparent, where users only pay for the actual computation time used. Moreover, the GPU rental prices on vast.ai are typically more favorable than other cloud providers.
Visit the vast.ai official website: First, open your browser and visit vast.ai.
Click on Sign Up: At the top right corner of the page, click the "Sign Up" button.
Fill in the registration details: Follow the prompts on the page to fill in your email, password, and other details, then complete the registration.
Log in to your vast.ai account.
Go to the Billing page: Click on the "Billing" option in the top navigation bar.
Click ADD CREDIT: On the Billing page, you'll see an "ADD CREDIT" button. Click on it.
Choose Coinbase as the payment method: In the pop-up interface, select "Coinbase" as your payment method.
Complete the payment: Follow the instructions on the screen to complete the payment. You can choose to pay with Bitcoin, Ethereum, or other supported virtual currencies.
Confirm the recharge: After the payment is completed, return to the vast.ai Billing page, and you should see your balance updated.
Log in to vast.ai: First, ensure you're logged into your vast.ai account.
Click on the "Templates" tab: Find and click on the "Templates" tab in the top navigation bar.
Set the Docker Image: In the template editing interface, locate the "Docker Image" section and input mirrorlearner/xengpuminer:latest
as the base image.
Choose Launch Mode: In the "Launch Mode" section, select the third option "Docker Run: use docker ENTRYPOINT".
Configure Docker run parameters: Set the following parameters in the appropriate section to ensure the correct port mapping and environment variables:
-p 8888:8888 -p 22:22 -e ACCOUNT="Your Mining Address"
Replace "Your Mining Address" with the address where you wish to submit mining data. For example, if your address is 0x4C51558c2B3f123882B27E749AA46F0B0AFb4a55
, the parameter should be -e ACCOUNT="0x4C51558c2B3f123882B27E749AA46F0B0AFb4a55"
.
Save the template: After configuring, click the "Save" or equivalent button to save your template settings.
Create a GPU instance: Click on "Instances" in the left menu, then select the "Create one" button to create a GPU instance.
Select the template: Click on "Edit Image" on the left, then select the template you just saved.
vast.ai offers a simple and efficient way to rent high-performance GPUs for mining. Through the steps outlined above, you can easily deploy and run the Xenium/XNM GPU Miner on the vast.ai platform without worrying about hardware and configuration issues.
If you encounter any issues during deployment or wish to learn more about Xenium/XNM cloud GPU mining, please join the following Telegram group: t.me/XNMGPU.