Skip to main content

Smart Contract Requests

Serverless smart contract requests empower dApp contracts to seamlessly connect with serverless services, with both the service execution and payment processes fully managed onchain. Users can also directly submit requests to the Relay or Subscription Relay Contracts, which handle serverless function executions. These contracts act as the primary interface, providing a comprehensive connection between the User and the protocol.

The following provides an overview of the architecture that enables smart contracts to execute serverless functions, either as a single instance or through recurring subscriptions. This architecture facilitates seamless integration between onchain smart contracts and off-chain serverless computations, ensuring secure and automated processing across both environments.

Overview

Begin by examining the definitions to understand each component in the diagram above, then proceed through the subsequent sections in the order presented below.