Grass Mining Auto bot||Python Script
Overview:
Grass is an innovative decentralized physical infrastructure network (DePIN) project built on the Solana blockchain. It allows users to share their idle internet bandwidth, enabling them to earn passive income while contributing to AI training companies. Participants receive Grass Points, which will later be used as criteria for airdrop distributions. The project aims to transform unstructured web data into structured datasets through its two main components: Grass nodes and Sovereign Data Rollup, which work together to facilitate data sourcing and transformation.
The Grass project has successfully raised $4.5 million through two funding rounds, with notable investors including Polychain Capital and Tribe Capital. The development team remains largely anonymous, with Andrej Radonjic, co-founder of Wynd Network, being the only member to disclose his identity. Grass is also partnering with Solana Phone — Saga to integrate its application into mobile devices, as well as Alignment Lab AI, which focuses on developing large language models. This collaboration is expected to enhance the project’s capabilities and reach.
Caution: Risks of Using Proxies on VPS for Web Scraping or Automation
In this article, we delve into the technical aspects of running automation scripts on a VPS using proxies to mask your IP. While this method offers anonymity and helps in bypassing certain restrictions, it’s crucial to understand the potential risks involved. By utilizing proxies, there is a possibility that your activity could be flagged, and you may be subjected to the Sybil attack detection mechanism or even face a ban from the services you’re accessing. Therefore, it’s essential to proceed with caution and take full responsibility for any consequences. Always ensure that you’re following best practices and using proxies ethically to avoid running afoul of platforms or getting your VPS flagged.
The following items will be required:
- I created a new Grass account. Please don’t use your new one; instead, use my referral link.
- You need your Grass user ID. I will guide you later on how to get it.
- VPS is required here OS- Ubuntu, you can get a free VPS from Oracle.
- A socks5 proxy is required here to avoid the ban. You can purchase it from my referral link. Proxies.fy
⭐Before we jump into the step-by-step guide, feel free to follow me on Medium and my social media platforms for more valuable insights on node farming.
➡️Telegram: https://t.me/cryptonodehindi
➡️Youtube: https://www.youtube.com/@CryptonodesHindi
Buy VPS:
In this guide, I recommend Contabo because it was tested and fully functional, if you decide to use another VPS, you can encounter issues with this node.
Please use my affiliate link if you purchase a VPS from Contabo.
VPS1: https://www.contabo.com/vps1
VPS2: https://www.contabo.com/vps2
VPS3: https://www.contabo.com/vps3
VPS4: https://www.contabo.com/vps4
VPS5: https://www.contabo.com/vps5
Proxies.fy setup:
- I recommend Proxies. fy an affordable proxy solution. You can buy the proxy here: https://app.proxies.fo/ref/36cc4dd3-e8f2-b975-1863-a6ffc1d415c0 (Please buy it with my referral link as support me for keep sharing great articles)
- We required the ISP socks5 proxy (An ISP proxy is a proxy server provided by an Internet Service Provider (ISP). It combines the speed and reliability of residential IP addresses (linked to real devices) with the scalability of data center proxies. ISP proxies are ideal for tasks requiring high anonymity and speed, such as web scraping, bypassing geo-restrictions, or automating online tasks, without appearing suspicious.)
- You can go with the 1GB AT&T USA plan. If needed, you can choose a higher plan, but I recommend starting with the 1GB plan. Later, you can renew it if required.
- You can pay with crypto. Once the payment is completed, you will be automatically redirected to your dashboard. If not, click on the dashboard and then select “Generate Proxy”.
- Now, choose the protocol type as “SOCKS5” and set the format to username:password@hostname:port. Next, select the desired quantity of proxies. Once done, copy your proxies from the Sticky Proxies box.
You have successfully purchased the SOCKS5 proxies
Let’s set up the bot:
Step 1:
- You can obtain the automated script I created by joining my Telegram channel and subscribing to my YouTube channel.
- Once you execute the Grassbot.sh script, it will download all the necessary packages and install all the required Python 3 packages.
- If you see any errors in the script while installing the Python3 pip packages, don’t worry. The script has auto-healing features and will try all alternative methods to install the pip packages.
Step 2:
- That script will create a proxy.txt file. It will prompt you to enter your proxy details.
- Ensure proxies are in the following format:
username:password@hostname:port
Example: socks5://2l4243pE33seQ4tQ:mf7rrfMnddHjd5S0@66.168.255.400:32209 - Once you have pasted your proxies details, press Ctrl + X, then Y, and hit Enter to save it.
Step-3:
- After it. It will prompt you for the USER_ID.
- Open the grass dashboard: On your Chrome.
Press F12 on the page to open the console and enter the code (Ctrl + Shift + i) inspect
Write the below word in the console
localStorage.getItem('userId')
- Now paste the user_id in your VPS.
Step 4:
- You will be prompted to specify the number of proxies you intend to use. For added safety, it’s best to limit this to a maximum of 30. If you choose to use 30 proxies, ensure that you include all 30 in step 2 while creating the proxy.txt file.
- If you would like to add or remove proxies, you can do so later by editing the proxy.txt file using the nano editor.
Step 5:
Create a screen for the grass bot.
screen -S grassbot
Step 6:
Now run the Python script
python3 CryptonodeHindiGRASSBOT.py
To detach from the screen session, press: CTRL + A + D
Congratulations! Your node has deployed successfully!!
- To remove/delete the script follow the below command
rm -f CryptonodeHindiGRASSBOT.py grassbot.sh proxy.txt
❤️Thank You for Reading!
I appreciate you taking the time to read this article. If you found it helpful, give it a clap and share it with others who might benefit from it.
For more insightful content on Crypto node, don’t forget to follow me on Medium and connect with me on my social media channels:
- ➡️Telegram: https://t.me/cryptonodehindi
- ➡️Youtube: https://www.youtube.com/@CryptonodeHindi