Chain Overview¶
Arsitektur¶
┌─────────────────────────────────────────────────────────┐
│ Garuda Chain Mainnet │
├─────────────┬──────────────┬────────────┬───────────────┤
│ Validators │ RPC Gateway │ API Layer │ Explorer │
│ (IBFT 2.0) │ rpc.* │ api.* │ explorer.* │
├─────────────┴──────────────┴────────────┴───────────────┤
│ Smart Contracts: GAT · PayHub · Staking · Identity · … │
└─────────────────────────────────────────────────────────┘
Komponen Monorepo¶
| Path | Deskripsi |
|---|---|
chain/ |
Konfigurasi Besu IBFT 2.0, genesis, validator keys |
contracts/ |
Smart contracts (Foundry / Solidity) |
packages/sdk/ |
TypeScript SDK @garuda-chain/sdk |
apps/explorer/ |
Block explorer (Next.js) |
apps/wallet/ |
Garuda Wallet (Vite + React) |
apps/api/ |
REST + GraphQL API |
apps/faucet/ |
Testnet faucet |
apps/metrics-exporter/ |
Prometheus metrics |
deploy/ |
Caddy, monitoring, static assets |
Konsensus¶
- Protokol: IBFT 2.0 (Istanbul BFT)
- Block time: ~2 detik
- Genesis validators: 5
- Target validators: 21
- Finality: instant (BFT)
Smart Contracts Utama¶
| Contract | Fungsi |
|---|---|
| GAT | Native ERC-20 token |
| GarudaTreasury | Multi-sig treasury |
| GarudaPayHub | Pembayaran, QR, escrow |
| GarudaStaking | Staking flexible & validator |
| GarudaGovernance | DAO voting |
| GarudaIdentity | DID, KYC/KYB |
| GarudaValidatorRegistry | Manajemen validator |
Detail deployment: Smart Contracts
Monitoring¶
Stack observability: Prometheus + Grafana + Loki
- Block height, TPS, RPC health
- CPU, RAM, disk (node-exporter)
- Validator metrics (Besu :9545)
- Log aggregation (Promtail → Loki)
Lihat Monitoring