Skip to content

theSynthOS/synthos-contracts

Repository files navigation

SynthOS Smart Contracts

SynthOS is a Verifiable DeFAI Agent Marketplace that implements a cross-chain policy validation system between Base and Scroll networks. The system enables secure validation of agent transactions against predefined policies across different chains.

System Architecture

The system consists of four main smart contracts:

  1. PolicyRegistry.sol

    • Manages the registration and storage of policies
    • Defines rules and constraints for agent actions
    • Handles policy lifecycle (creation, activation, deactivation)
  2. AgentRegistry.sol

    • Manages agent registration and metadata
    • Links agents to their associated policies
    • Tracks agent status and capabilities
  3. PolicyCoordinator.sol

    • Core contract for transaction validation
    • Coordinates between agents and their policies
    • Validates transactions against time, function, and resource constraints
    • Receives cross-chain messages from Base network
    • Deployed on Scroll Sepolia
  4. CrosschainSender.sol

    • Handles cross-chain communication from Base to Scroll
    • Integrates with Hyperlane for secure message passing
    • Acts as an AVS Logic hook for task validation
    • Deployed on Base Sepolia

Cross-Chain Flow

Image

Key Features

  • Cross-Chain Validation: Enables policy validation across Base and Scroll networks
  • Policy Management: Flexible policy definition with time, function, and resource constraints
  • Agent Registry: Secure registration and management of DeFi agents
  • Hyperlane Integration: Secure cross-chain message passing
  • Task Validation: Comprehensive validation system for agent actions

Deployed Contracts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published