Skate AVS (Actively Validated Service) is a decentralized validation system built on the Othentic stack. This AVS provides secure and efficient validation of cross-chain operations and maintains consensus across distributed operators.
Skate AVS utilizes the Othentic stack to provide a robust validation framework with the following components:
- Backend: Node.js/TypeScript service with database integration
- Frontend: Svelte-based web interface with Tailwind CSS
- Features:
- Real-time operator activity monitoring
- AVS metrics and analytics
- Task validation status tracking
- Storybook component library integration
- Key Registry: Delegate key management system
- Mock Strategy: Testing and development contracts
- Integration: Hooks to base
AttestationCenterandAvsGovernancecontracts - Built with: Solidity, Foundry framework
- Purpose: Monitors AVS operational status and processes verified data
- Features:
- Real-time event indexing from AttestationCenter
- Task aggregation and processing
- Database persistence for historical data
- RESTful API endpoints
- Aggregator Node: Consensus coordination and finalization
- Attester Nodes: Distributed validation nodes (4 default attesters)
- Network: P2P communication with libp2p
- Deployment: Docker Compose orchestration
- Responsibility: Retrieves and pre-processes tasks from Skate MessageBox
- Features:
- ZeroMQ message queue integration
- Multi-protocol support (AMM, Polymarket, Shuffle)
- AVS proof generation and verification
- Task watcher and sender services
- Deployment: Automated deployment scripts
- Configuration: AVS parameter management
- Utilities: Operator management and strategy configuration
- Built with: TypeScript, ethers.js
- Purpose: Pre-validation services for attesters
- Features:
- Task validation before aggregation
- Health monitoring endpoints
- Rate limiting and security middleware
- CORS configuration for cross-origin requests
- Node.js 18+
- Docker and Docker Compose
- Foundry (for smart contracts)
# Install all dependencies
make install-all
# Build all components
make build-all# Start staging environment
make start-staging
# Stop staging environment
make stop-staging# Start production environment
make start-production
# Stop production environment
make stop-productionCreate a .env file in the root directory with the following variables:
# Othentic Configuration
OTHENTIC_BOOTSTRAP_ID=your_bootstrap_id
# Validator Private Keys
PRIVATE_KEY_VALIDATOR1=your_validator1_key
PRIVATE_KEY_VALIDATOR2=your_validator2_key
PRIVATE_KEY_VALIDATOR3=your_validator3_key
PRIVATE_KEY_VALIDATOR4=your_validator4_key
# Additional configuration variables...# Format all components
make format-all# Run tests for specific components
cd dashboard/frontend && npm test
cd extension-contracts/key-registry && forge test- Dashboard:
http://localhost:3000 - API Endpoints:
http://localhost:4002 - Aggregator RPC:
http://localhost:8545
- Uses Othentic's BLS signature aggregation
- Minimum 3/4 attesters required for consensus
- Automatic slashing for malicious behavior
- Task Generation: Performer watches MessageBox for new tasks
- Pre-processing: Tasks are validated and prepared
- Distribution: Tasks sent to attester nodes
- Validation: Each attester validates independently
- Aggregation: Aggregator collects and verifies signatures
- Finalization: Consensus reached and data committed
- Indexing: Results indexed for dashboard and APIs
- Multi-signature validation
- Stake-based security model
- Automatic slashing conditions
- Rate limiting and DDoS protection
- Secure key management
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests and formatting
- Submit a pull request
This project is licensed under the MIT License.
For technical support and questions:
- Documentation: Othentic Docs
- Issues: Create an issue in this repository
- Community: Join our Discord/Telegram channels