Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ test-ledger/
vendor/
frontend/

# Dev Tools (not needed in production image)
tools/

# OS & Editor Junk
.DS_Store
.vscode/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.25.3'
cache: true

- name: Verify Dependencies
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
*.out

__pycache__/
test-ledger/
config/alertmanager.yml
test-ledger/
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ SentinelSOL/
├── .env.example # Local configuration template
├── docker-compose.yml # Local orchestrator
├── docker-compose.prod.yml # Out-of-Band (OOB) Server orchestrator
├── tools/
│ └── mock-jito/
│ └── main.go # Simulated Jito metrics for demo
├── Dockerfile # Multi-stage Go compilation
└── Makefile # Infrastructure abstraction commands
```
Expand All @@ -91,8 +94,9 @@ docker-compose up -d --build

| Service | URL |
|---------|-----|
| **SentinelSOL Frontend** | `http://localhost:3001` |
| **Grafana Dashboard** | `http://localhost:3000` |
| **Prometheus** | `http://localhost:9090` |
| **SentinelSOL Frontend** | [sentinelsol-sre.vercel.app](https://sentinelsol-sre.vercel.app/) |

**Full setup:**

Expand Down
17 changes: 15 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@ services:
network_mode: "host"
environment:
- RPC_URL=${RPC_URL}
depends_on:
prometheus:
condition: service_healthy

prometheus:
image: prom/prometheus:latest
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- ./config/alerts.rules.yml:/etc/prometheus/alerts.rules.yml
- prometheus_data:/prometheus
network_mode: "host"
healthcheck:
test: ["CMD", "wget", "-q", "--tries=1", "--spider", "http://localhost:9090/-/healthy"]
interval: 10s
timeout: 5s
retries: 3

alertmanager:
image: prom/alertmanager:latest
Expand All @@ -26,7 +35,8 @@ services:
grafana:
image: grafana/grafana:latest
depends_on:
- prometheus
prometheus:
condition: service_healthy
env_file:
- .env
environment:
Expand All @@ -35,4 +45,7 @@ services:
- ./config/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./config/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./config/grafana/dashboards:/var/lib/grafana/dashboards
network_mode: "host"
network_mode: "host"

volumes:
prometheus_data:
2 changes: 1 addition & 1 deletion frontend/components/sentinel/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function About() {
telemetry layer. By predicting hardware exhaustion and monitoring
ShredStream latency, it protects operators from stake pruning and
Jito MEV loss before failures occur. Built for the Colosseum
Frontier Hackathon.
Hackathon 2026.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/sentinel/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Hero() {
The Solana Foundation Delegation Program is actively pruning underperforming nodes. Bad performance now equals immediate removal and loss of delegated stake. SentinelSOL was engineered to give operators a predictive edge, catching hardware degradation and network exhaustion before it results in on-chain delinquency and stake-stripping.
</p>
<div className="mt-4 flex gap-4 text-sm font-semibold">
<a href="https://blockworks.com/news/solana-foundation-pruning-validators-delegation" target="_blank" className="text-red-400 hover:text-red-300 transition-colors">Read the Blockworks Report ↗</a>
<a href="https://blockworks.com/news/solana-foundation-pruning-validators-delegation" target="_blank" rel="noopener noreferrer" className="text-red-400 hover:text-red-300 transition-colors">Read the Blockworks Report ↗</a>
</div>
</div>

Expand Down
Loading