This repository contains a bot designed to interact with the Datapig API. The bot can generate random preferences, sign messages, generate analysis, and mint files to the blockchain. It runs every 24 hours to process wallets automatically.
First of all register with your burner wallet in DataPig
Before you begin, ensure that you have met the following requirements:
-
Node.js: Version 16 or higher.
sudo apt update && sudo apt upgrade -y sudo apt install git screen
NODE_MAJOR=18
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
sudo apt-get update
sudo apt-get install -y nodejs
node --version
-
npm: Package manager to install dependencies.
sudo apt install npm
-
Private keys for the wallets you want to interact with.
-
Reference Codes (optional but recommended for additional rewards) use
hj7dh9
.
For more bots and tutorials you can join our Telegram channel
also you can follow me on X(iamshaho)
Follow these steps to set up the project on your local machine:
- Clone the repository:
git clone https://github.com/TheShaho/datapig-xyz.git cd datapig-xyz
- Install Dependencies:
npm install
- Setup private_keys.txt
Create a file named private_keys.txt in the root directory of the project.
nano private_keys.txt
Ctl+X => Y => Enter
Once you've completed the setup, you can run the bot with the following command:
create a screen
screen -S datapig
run the bot
node index.js
detach with Ctl + A + D