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:
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Check wallet balance on Arbitrum One
|
||||
# Verifies wallet is ready for MEV bot execution
|
||||
|
||||
set -e
|
||||
set -euo pipefail
|
||||
|
||||
PRIVATE_KEY_FILE="/tmp/wallet_key.txt"
|
||||
ALCHEMY_RPC="https://arb-mainnet.g.alchemy.com/v2/d6VAHgzkOI3NgLGem6uBMiADT1E9rROB"
|
||||
@@ -70,7 +70,12 @@ if [ -z "$BALANCE_HEX" ]; then
|
||||
fi
|
||||
|
||||
# Convert hex to decimal (wei)
|
||||
BALANCE_WEI=$(echo $((BALANCE_HEX)))
|
||||
# Handle both with and without 0x prefix
|
||||
if [[ "$BALANCE_HEX" == 0x* ]]; then
|
||||
BALANCE_WEI=$((BALANCE_HEX))
|
||||
else
|
||||
BALANCE_WEI=$((0x$BALANCE_HEX))
|
||||
fi
|
||||
|
||||
# Convert wei to ETH (1 ETH = 10^18 wei)
|
||||
BALANCE_ETH=$(echo "scale=6; $BALANCE_WEI / 1000000000000000000" | bc)
|
||||
|
||||
Reference in New Issue
Block a user