Files
proxmox/scripts/gru-m1/README.md
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- 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>
2026-02-12 15:46:57 -08:00

1.4 KiB
Raw Permalink Blame History

GRU M1 Scripts

Scripts for GRU M1 dominance simulation and supply verification.

Scripts

dominance-simulation.sh

Simulates how GRU M1 supply (S0S5) affects BTC/ETH/Stablecoin dominance using CoinGecko global data.

Usage:

./dominance-simulation.sh                    # Output to stdout
./dominance-simulation.sh reports/gru-m1/dominance-$(date +%Y%m%d).md  # Save report

Env fallback (if CoinGecko unavailable):

  • GRU_M1_TOTAL_MARKET_CAP — Total crypto market cap (USD)
  • GRU_M1_BTC_DOMINANCE — BTC dominance %
  • GRU_M1_ETH_DOMINANCE — ETH dominance %
  • GRU_M1_STABLECOIN_DOM — Stablecoin dominance %

check-ciso-supply.sh

Verifies cUSDC and cUSDT totalSupply() on Chain 138. Optionally compares to expected values for supply reconciliation.

Usage:

./check-ciso-supply.sh

Env:

  • CHAIN_138_RPC_URL — RPC URL (default: https://rpc-http-pub.d-bis.org)
  • CUSDC_EXPECTED — Expected cUSDC supply (raw units, 6 decimals)
  • CUSDT_EXPECTED — Expected cUSDT supply (raw units, 6 decimals)

If *_EXPECTED not set, only reports on-chain supply (no pass/fail).

Dependencies

  • dominance-simulation.sh: curl, jq, awk
  • check-ciso-supply.sh: curl, awk