Developer Documentation

Introduction

AI Trader is a mainet protocol application. it makes transactions cheap. Real cheap. We aim to make transacting on Ethereum and BSC affordable and accessible to anyone.

This document is intended for anyone looking for a deeper understanding of how the protocol works 'under the hood'.

AI Trader is meant to look, feel and behave like Ethereum and BSC but cheaper and faster. For developers building on our AI Trader, we aim to make the transition as seamless as possible. With very few exceptions, existing Solidity smart contracts can run on mainet exactly how they run on mainet. Similarly, off-chain code (ie. UIs and wallets), should be able to interact with mainet contract with little more than an updated RPC endpoint.

#Overview

The smart contracts in the AI Trader protocol can be separated into a few key components. We will discuss each component in more detail below.

  • Chain: Contracts on mainet, which hold the ordering of layer-2 transactions, and commitments to the associated layer-2 state roots.

  • Verification: Contracts on layer-1 which implement the process for challenging a transaction result.

  • Bridge: Contracts which facilitate message passing betweenmainet.

  • Predeploys: A set of essential contracts which are deployed and available in the genesis state of the system. These contracts are similar to BSC's precompiles, however they are written in Solidity, and can be found at addresses prefixed with 0x48.

Last updated