VERITAS Shield

Bot Setup — Easy Mode

No terminal experience needed. The AI generates your config files, you download them and click one button. That's it.

⏱ ~15 min total
🤖 AI-assisted
🔰 Beginner friendly

⚡ Before You Start — Get These (Free)

Alchemy Account

Get it

Free RPC endpoint. Sign up at alchemy.com → create an app → copy the WebSocket URL.

MetaMask Wallet

Get it

Your profit wallet. Install the browser extension and copy your wallet address.

Node.js 18+

Get it

The runtime for the bots. Download LTS version from nodejs.org. Takes 2 minutes.

Fill in your info below. The AI will create your complete configuration files — no editing required.

AI Bot Configuration Generator

Powered by AI

Fill in your details below. The AI will generate your complete bot configuration files — no terminal needed. Just download and you're ready.

Download these files into a new folder on your computer called veritas-bots.

package.json — Project Setup

Tells Node.js what packages to install. Put this in your veritas-bots folder.

hardhat.config.js — Smart Contract Config

Required for deploying contracts to the blockchain. Put this in your veritas-bots folder.

setup.sh — One-Click Installer (Mac/Linux)

Run this script once to install everything automatically. Windows users: skip this, use npm manually.

💡Also download the scanner.js, executor.js, and db-connector.js files from the Code Export page (sidebar → Code Export).

Open a terminal in your veritas-bots folder and run:

# Mac/Linux — double-click setup.sh, or run:

bash setup.sh

# Windows — open Command Prompt in the folder and run:

npm install --legacy-peer-deps

⚠️If you see red error messages, make sure Node.js 18+ is installed. Run node --version to check. Should say v18 or higher.
✅Yellow "warning" messages are normal and can be ignored. Only red errors matter.

Your bots need a smart contract deployed on-chain. Always deploy to testnet first to make sure everything works.

1Deploy to Sepolia Testnet (Free, No Real ETH)

npx hardhat run scripts/deployAll.js --network sepolia

You need Sepolia test ETH — get it free at sepoliafaucet.com

2When Testnet Works → Deploy to Mainnet

npx hardhat run scripts/deployAll.js --network mainnet
🚨Mainnet deployment costs real ETH (~$20–$80 in gas). Make sure your testnet run worked perfectly first.

After deploying, copy the contract address from the terminal output and add it to your .env file:

FLASH_ARB_CONTRACT=0xYOUR_DEPLOYED_CONTRACT_ADDRESS

Once your contract is deployed and .env is configured, start the bots:

# Start both scanner and executor together:

npm start

# Or start them separately:

npm run scanner # finds opportunities

npm run executor # executes trades

✅You'll see live logs in your terminal. The scanner finds price differences, the executor submits flash loan transactions. All trades appear in your Veritas Terminal dashboard.
⚠️Keep the terminal open while the bots are running. If you close it, the bots stop. For 24/7 operation, use a VPS or cloud server (see Step 6).

For continuous operation, run the bots on a cheap cloud server so they work even when your computer is off.

🟢 DigitalOcean

Recommended

$6/mo Droplet — easiest setup, great docs, Ubuntu 22.04.

Visit

🔵 Vultr

Fast

$5/mo VPS — very fast, good for low-latency MEV bots.

Visit

⚪ AWS EC2

Advanced

Free tier available (t2.micro). More complex setup.

Visit

# On your VPS (after uploading bot files):

npm install -g pm2 # process manager

pm2 start scanner.js # start scanner

pm2 start executor.js # start executor

pm2 save && pm2 startup # auto-restart on reboot

# View live logs:

pm2 logs

You've already bought your domain. Here's exactly how to connect it to your Veritas Terminal app.

Option A — Base44 Custom Domain (Easiest)

1. In your domain registrar (GoDaddy, Namecheap, Cloudflare, etc.), go to DNS settings

2. Add a CNAME record:

Type: CNAME

Name: @ (or www)

Value: your-app.base44.app (your current Base44 URL)

TTL: Auto / 3600

3. In Base44 editor → Settings → Custom Domain → enter your domain

4. DNS propagation takes 5 minutes to 48 hours

✅Base44 automatically handles SSL/HTTPS for your custom domain — no extra config needed.

Option B — If Hosting Yourself (Netlify/Vercel)

1. In Netlify/Vercel dashboard, go to Domain Settings

2. Click Add Custom Domain → enter your domain

3. Follow their instructions to add an A record or CNAME at your registrar

4. They'll auto-issue SSL (Let's Encrypt)

⚠️If using Cloudflare as your DNS, set the proxy status to "DNS only" (grey cloud) first. You can enable the orange proxy cloud after the domain is verified.

Go-Live Checklist

Alchemy RPC URL obtained (free)
MetaMask wallet address ready
AI Config generated & .env downloaded
Bot files downloaded from Code Export
npm install completed (no red errors)
Contract deployed on Sepolia testnet
Testnet bots ran successfully
Contract deployed on Mainnet
npm start — bots running!
Dashboard shows live trade data
Custom domain connected (optional)
VPS set up for 24/7 running (optional)