Skip to content

Ava Protocol

Enhance cross-chain functions with private autonomous transactions

AVA Protocol, or On-chain Autonomous Kernel, is a decentralized and trustless architecture designed to execute automated actions on the blockchain based on specific triggers. These triggers can include time, price, on-chain events, and interactions with smart contracts. OAK Network aims to provide a reliable, flexible, and secure way to automate financial transactions, metaverse actions, and other on-chain interactions, especially within a multi-chain environment.

The Need for Ava Protocol

Automation on the blockchain is currently limited by centralized or semi-centralized solutions that are not fully trustless. OAK Network addresses this by enabling decentralized automation that is fully under the control of its creator. This is particularly important in a multi-chain ecosystem, where different blockchains can offload expensive and complex automation computations to OAK Network. This approach ensures ownership, security, and flexibility for users and developers.

Ava Protocol Key Components

  • Substrate Framework: Ava Protocol is built using the Substrate framework, which is also the foundation for Polkadot and its canary network Kusama. Substrate provides extensive out-of-the-box functionality, including peer-to-peer networking, consensus mechanisms, governance features, and an Ethereum Virtual Machine (EVM) implementation. This allows OAK Network to leverage these features without needing to build them from scratch, reducing development time and effort.
  • Polkadot Parachains: As a parachain on Polkadot, OAK Network can directly integrate with other parachains and parathreads, facilitating token transfers and ensuring security through the relay chain. This interoperability is crucial for OAK’s cross-chain automation goals, allowing seamless interactions between different blockchain networks.

The Ava Protocol Kernel

The Ava Protocol Kernel is the core component of Ava Protocol, featuring a persistent event registry for managing automated tasks. It includes the following data structures:

  1. Task Map: Stores information about tasks, including their owners and actions to be performed.
  2. Trigger Map: Stores information about triggers, such as time intervals and associated tasks.
  3. Task Queue: Stores task IDs that are ready to be executed.
  4. Missed Queue: Stores task IDs and execution times for tasks that missed their scheduled slots.

Ava Protocol Network Key Features

  • Registration: Users or remote calls can interact with OAK Network to set up recurring events. The system verifies the inputs, generates a unique task ID, and adds the task to the appropriate maps and queues.
  • Cancellation: Tasks can be canceled by authorized users or remote calls. The system verifies the cancellation request, deletes the task from the maps and queues, and ensures that all future occurrences of the task are also removed.
  • Time-triggered Execution: Ava Protocol executes tasks based on pre-defined time intervals. The system calculates the current time slot, identifies tasks to be executed, and processes them within the allocated block weight. Missed tasks are moved to the missed queue for later execution.
  • Conclusion: Ava Protocol is poised to revolutionize on-chain automation by providing a trustless, decentralized, and flexible platform for executing automated actions. Its integration with the Polkadot ecosystem and use of the Substrate framework ensures robust security, interoperability, and scalability. As OAK Network continues to evolve, it aims to support a wide range of automation use cases, driving innovation and efficiency in the blockchain space.

Ava Protocol Community Videos


Unlocking Smart Contract Automation with Ava Protocol

Join Chris Li, founder of Ava Protocol and former Microsoft senior software engineer, as he unveils how Ava Protocol is transforming the future of smart contract automation

Welcome to Ava Protocol | Supercharging Web3

Ava Protocol is an intent-based Eigenlayer AVS that seamlessly enables private autonomous transactions for numerous use cases, such as DeFi, NFTs, and games.