feat(prod): complete production deployment with Podman containerization

- Migrate from Docker to Podman for enhanced security (rootless containers)
- Add production-ready Dockerfile with multi-stage builds
- Configure production environment with Arbitrum mainnet RPC endpoints
- Add comprehensive test coverage for core modules (exchanges, execution, profitability)
- Implement production audit and deployment documentation
- Update deployment scripts for production environment
- Add container runtime and health monitoring scripts
- Document RPC limitations and remediation strategies
- Implement token metadata caching and pool validation

This commit prepares the MEV bot for production deployment on Arbitrum
with full containerization, security hardening, and operational tooling.

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Krypto Kajun
2025-11-08 10:15:22 -06:00
parent 52d555ccdf
commit 8cba462024
55 changed files with 15523 additions and 4908 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
#!/usr/bin/env bash
# MEV Bot Keystore Setup Script
# Encrypts and stores the private key securely
set -e
set -euo pipefail
KEYSTORE_DIR="keystore/production"
PRIVATE_KEY_FILE="/tmp/wallet_key.txt"
@@ -21,7 +21,8 @@ if [ ! -f "$PRIVATE_KEY_FILE" ]; then
fi
# Check if encryption key is set
if [ -z "${!ENCRYPTION_KEY_ENV}" ]; then
ENCRYPTION_KEY="${MEV_BOT_ENCRYPTION_KEY:-}"
if [ -z "$ENCRYPTION_KEY" ]; then
echo "⚠️ Warning: $ENCRYPTION_KEY_ENV not set in environment"
echo ""
echo "📝 Setting up encryption key..."