docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Load IP configuration
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
source "${PROJECT_ROOT}/config/ip-addresses.conf" 2>/dev/null || true
|
||||
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
||||
SOURCE_PROJECT="/home/intlc/projects/smom-dbis-138"
|
||||
@@ -31,7 +37,7 @@ log_info ""
|
||||
implement_dynamic_gas() {
|
||||
log_info "1. Implementing Dynamic Gas Pricing..."
|
||||
|
||||
RPC_URL="${RPC_URL_138:-http://192.168.11.250:8545}"
|
||||
RPC_URL="${RPC_URL_138_PUBLIC:-http://${RPC_PUBLIC_1:-192.168.11.221}:8545}"
|
||||
CURRENT_GAS=$(cast gas-price --rpc-url "$RPC_URL" 2>/dev/null || echo "1000000000")
|
||||
MULTIPLIER=1.5
|
||||
OPTIMAL_GAS=$(echo "scale=0; $CURRENT_GAS * $MULTIPLIER / 1" | bc)
|
||||
@@ -49,11 +55,12 @@ implement_status_check() {
|
||||
#!/usr/bin/env bash
|
||||
# Quick bridge status check
|
||||
source /home/intlc/projects/smom-dbis-138/.env
|
||||
RPC_URL="${RPC_URL_138:-http://192.168.11.250:8545}"
|
||||
RPC_URL="${RPC_URL_138_PUBLIC:-http://${RPC_PUBLIC_1:-192.168.11.221}:8545}"
|
||||
DEPLOYER=$(cast wallet address --private-key "$PRIVATE_KEY" 2>/dev/null)
|
||||
|
||||
echo "=== Bridge Status ==="
|
||||
echo "WETH9 Allowance: $(cast call 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 'allowance(address,address)' $DEPLOYER 0x89dd12025bfCD38A168455A44B400e913ED33BE2 --rpc-url $RPC_URL)"
|
||||
WETH9_BRIDGE="${CCIPWETH9_BRIDGE_CHAIN138:-0x971cD9D156f193df8051E48043C476e53ECd4693}"
|
||||
echo "WETH9 Allowance: $(cast call 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 'allowance(address,address)' $DEPLOYER $WETH9_BRIDGE --rpc-url $RPC_URL)"
|
||||
echo "WETH10 Allowance: $(cast call 0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f 'allowance(address,address)' $DEPLOYER 0xe0E93247376aa097dB308B92e6Ba36bA015535D0 --rpc-url $RPC_URL)"
|
||||
EOF
|
||||
|
||||
@@ -149,7 +156,7 @@ implement_health_check() {
|
||||
# Comprehensive health check for bridge system
|
||||
|
||||
source /home/intlc/projects/smom-dbis-138/.env
|
||||
RPC_URL="${RPC_URL_138:-http://192.168.11.250:8545}"
|
||||
RPC_URL="${RPC_URL_138_PUBLIC:-http://${RPC_PUBLIC_1:-192.168.11.221}:8545}"
|
||||
|
||||
echo "=== Bridge System Health Check ==="
|
||||
echo ""
|
||||
@@ -165,8 +172,8 @@ fi
|
||||
# Check bridge contracts
|
||||
echo ""
|
||||
echo "2. Bridge Contracts:"
|
||||
WETH9_BRIDGE="0x89dd12025bfCD38A168455A44B400e913ED33BE2"
|
||||
WETH10_BRIDGE="0xe0E93247376aa097dB308B92e6Ba36bA015535D0"
|
||||
WETH9_BRIDGE="${CCIPWETH9_BRIDGE_CHAIN138:-0x971cD9D156f193df8051E48043C476e53ECd4693}"
|
||||
WETH10_BRIDGE="${CCIPWETH10_BRIDGE_CHAIN138:-0xe0E93247376aa097dB308B92e6Ba36bA015535D0}"
|
||||
|
||||
if cast code "$WETH9_BRIDGE" --rpc-url "$RPC_URL" >/dev/null 2>&1; then
|
||||
echo " ✅ WETH9 Bridge deployed"
|
||||
|
||||
Reference in New Issue
Block a user