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:
33
scripts/example-using-modules.sh
Executable file
33
scripts/example-using-modules.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
# Example script using shared modules
|
||||
# Demonstrates how to use the modular approach
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Load shared modules
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "$SCRIPT_DIR/lib/ip-config.sh"
|
||||
source "$SCRIPT_DIR/lib/logging.sh"
|
||||
source "$SCRIPT_DIR/lib/proxmox-api.sh"
|
||||
source "$SCRIPT_DIR/lib/ssh-helpers.sh"
|
||||
|
||||
# Now you can use:
|
||||
# - IP variables: $PROXMOX_HOST_ML110, $IP_BLOCKSCOUT, etc.
|
||||
# - Logging functions: log_info, log_success, log_error, etc.
|
||||
# - Proxmox API: proxmox_api_call, check_container_status, etc.
|
||||
# - SSH helpers: ssh_proxmox, ssh_container, test_ssh_connection
|
||||
|
||||
log_header "Example Script Using Modules"
|
||||
|
||||
log_info "Proxmox Host: $PROXMOX_HOST_ML110"
|
||||
log_info "Blockscout IP: $IP_BLOCKSCOUT"
|
||||
|
||||
# Test SSH connection
|
||||
if test_ssh_connection "$PROXMOX_HOST_ML110"; then
|
||||
log_success "Connection test passed"
|
||||
else
|
||||
log_error "Connection test failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
log_success "Example complete!"
|
||||
Reference in New Issue
Block a user