ICN Demo - Current System Status

Date: 2025-12-18 17:25 Status: Historical demo snapshot Readiness: 90% for full stack demo

Historical demo-environment snapshot from 2025-12-18. For current CI posture, use docs/ci/CI_CURRENT_STATUS.md and re-run runtime checks.


๐Ÿ”Ž Current Notes (2026-01-19)

  • This report captures a point-in-time demo environment.
  • Validate current runtime status before demoing (daemon, gateway, UI processes).

๐ŸŸข Running Services

ICN Daemon

  • Status: โœ… Running
  • Process: PID from daemon-fixed session
  • DID: did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh
  • Data Directory: <demo-data-dir>/data

Gateway API

  • Status: โœ… Operational
  • URL: http://localhost:8080
  • Health: {"status":"ok","version":"0.1.0"}
  • API Version: v1

Pilot UI

Network Layer


๐Ÿงช Verified Working

Health Check

$ curl http://localhost:8080/v1/health
{"status":"ok","version":"0.1.0"}

All Actors Running

  • โœ… Identity Actor
  • โœ… Network Actor (QUIC + mDNS)
  • โœ… Gossip Actor
  • โœ… Ledger
  • โœ… Governance Actor
  • โœ… Compute Actor
  • โœ… Dispute Actor
  • โœ… Cooperative Actor

Services Initialized

  • โœ… Cooperative Manager
  • โœ… Compute Manager
  • โœ… Budget Store
  • โœ… Notification Service
  • โœ… Notification Processor
  • โœ… Recurring Payments Scheduler
  • โœ… Escrow Store
  • โœ… Ledger Triggers

๐ŸŽฏ Next Steps to Complete Demo

Phase 1: Test Gateway Endpoints (30 min)

# 1. Test health (already working)
curl http://localhost:8080/v1/health

# 2. Try auth endpoint
curl -X POST http://localhost:8080/v1/auth/challenge \
  -H "Content-Type: application/json" \
  -d '{"did":"did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh"}'

# 3. List cooperatives
curl http://localhost:8080/v1/coops

# 4. Test members endpoint
curl http://localhost:8080/v1/members

# 5. Test ledger endpoints
curl http://localhost:8080/v1/ledger

Phase 2: Initialize Cooperative (30 min)

# Option A: Via icnctl
cd <repo-root>/icn
./target/release/icnctl -e 127.0.0.1:15602 init-coop

# Option B: Via Gateway API
curl -X POST http://localhost:8080/v1/coops \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Rochester Tool Library",
    "type": "timebank",
    "founder_did": "did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh"
  }'

Phase 3: Test UI Connection (30 min)

  1. Open http://localhost:3000 in browser
  2. Fill in login form:
    • Gateway URL: http://localhost:8080
    • Cooperative ID: [whatever we create]
    • DID: did:icn:zBFnhJhgvRjgukhQmkq9ddBz5wiEt32ptkQkBDjWx6uPh
    • Token: [get from auth endpoint]
  3. Check browser console for errors
  4. Verify dashboard loads

Phase 4: Test Transaction Flow (1 hour)

  1. Create test members (need 2+ for transactions)
  2. Create a test transaction via API
  3. Verify it appears in UI
  4. Check balances update correctly

โš ๏ธ Known Issues

1. STUN Discovery Disabled

Impact: Node only reachable on local network Workaround: Fine for demo on localhost Fix Needed: Reuse endpoint socket or bind before endpoint creation File: icn-net/src/session.rs:170-193

2. Gateway "Address in Use" Warning

Impact: None - warning only, gateway works Status: Can investigate later if needed

3. Authentication Flow Unknown

Impact: Don't know exact JWT flow yet Status: Need to test auth endpoints

4. Cooperative Initialization Unknown

Impact: Don't know if init-coop works or needs API Status: Need to test both methods


Status: READY FOR API TESTING โœ