Files
mev-beta/setup-env.sh
2025-10-04 09:31:02 -05:00

24 lines
728 B
Bash
Executable File

#!/bin/bash
# Setup script for MEV Bot environment
echo "Setting up MEV Bot environment..."
# Copy the fixed .env file
cp .env.fixed .env
# Create required directories
mkdir -p keystore backups logs
# Set proper permissions
chmod 600 .env
echo "Environment setup complete!"
echo ""
echo "IMPORTANT: Please update the following variables in .env:"
echo " - ETHEREUM_PRIVATE_KEY: Your actual private key"
echo " - ETHEREUM_ACCOUNT_ADDRESS: Your Ethereum account address"
echo " - CONTRACT_ARBITRAGE_EXECUTOR: Your deployed arbitrage contract address"
echo " - CONTRACT_FLASH_SWAPPER: Your deployed flash swapper contract address"
echo ""
echo "You can generate a new encryption key with:"
echo " openssl rand -base64 32"