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>
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# GRU M1 Scripts
|
||
|
||
Scripts for GRU M1 dominance simulation and supply verification.
|
||
|
||
## Scripts
|
||
|
||
### dominance-simulation.sh
|
||
|
||
Simulates how GRU M1 supply (S0–S5) affects BTC/ETH/Stablecoin dominance using CoinGecko global data.
|
||
|
||
**Usage:**
|
||
```bash
|
||
./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:**
|
||
```bash
|
||
./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`
|
||
|
||
## Related Documentation
|
||
|
||
- [docs/gru-m1/](../../docs/gru-m1/)
|
||
- [GRU M1 Listing Dry-Run Runbook](../../docs/runbooks/GRU_M1_LISTING_DRY_RUN_RUNBOOK.md)
|