TEE-based monitors + zkVM proofs for verifiable SLA compliance.
/active- Probes service endpoints at intervals/passive- Proxies traffic between client and service
- Backend server for EVM-based blockchain + IPFS storage
SLAEvidenceRegistry.sol- On-chain evidence commitsSLAConfiguration.sol- SLA parameters
/batch-sli- Batch verification strategy/individual-sli- Individual violation proofs
cd infra-storage
docker-compose up -dcd sla-contracts
npm install
npx hardhat test
npx hardhat run scripts/deploy.js npm install -g phala #install phala network CLI
phala auth login phak_1234
cd monitors/active # or /passive
phala docker build -i app -t new -f ./Dockerfile
phala docker push -i userx/app:new #userx is the dockerhub user, also update the user in the docker-compose.yml file
phala cvms create -n tee-monitor -c ./docker-compose.yml --vcpu 2 --memory 4096 --disk-size 10 --skip-envcd slo-engine/batch-sli #for batch measurements /individual-sli for individual violations
cargo run --releaseExample measurements in: slo-engine/*/res/
- Docker
- Node.js 20+
- Rust 1.80+