Skip to content

feat: Add Reactive Network action provider for cross-chain event-driven automation #956

@guglxni

Description

@guglxni

Summary

Add a Reactive Network action provider that enables AI agents to deploy and manage Reactive Smart Contracts for cross-chain event-driven automation.

Motivation

Reactive Network is an EVM-compatible execution layer where smart contracts autonomously react to on-chain events across multiple chains without bridges or manual intervention. This is a natural fit for AI agents that need to:

  • Monitor on-chain conditions and auto-execute when triggers are met
  • Orchestrate cross-chain workflows (e.g., "if price drops on Ethereum, execute swap on Base")
  • Set up autonomous DeFi strategies that persist without the agent being online

Reactive Network supports Base, Ethereum, Arbitrum, Avalanche, Linea, Sonic, and more as both origins (event sources) and destinations (callback targets).

Proposed Actions

Action Description
deploy_reactive_contract Deploy a reactive smart contract to the Reactive Network
subscribe_to_events Set up event subscriptions on any supported origin chain
get_reactive_status Check the status of deployed reactive contracts
list_subscriptions List active event subscriptions for an RVM

Use Cases

1. Cross-Chain Price Monitoring

Agent deploys a reactive contract that watches Uniswap V4 pool events on Base. When a large swap moves the price beyond a threshold, it triggers a callback to execute a swap on Arbitrum.

2. Automated Liquidation Protection

Monitor lending protocol health factors. When a position approaches liquidation, auto-repay or add collateral via reactive callback.

3. Event-Driven Portfolio Rebalancing

Watch token transfer events and automatically rebalance across chains when allocation drifts.

Technical Details

  • Reactive Network Mainnet Chain ID: 1597
  • Reactive Network Testnet (Lasna) Chain ID: 5318007
  • Callback Proxy on Base: 0x0D3E76De6bC44309083cAAFdB49A088B8a250947
  • Callback Proxy on Base Sepolia: 0xa6eA49Ed671B8a4dfCDd34E36b7a75Ac79B8A5a6
  • Contracts are Solidity/EVM-compatible, deployed via standard tools (Foundry/Hardhat)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions