> For the complete documentation index, see [llms.txt](https://robin-protocol.gitbook.io/robin-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://robin-protocol.gitbook.io/robin-docs/undefined/core-components.md).

# Core components

#### API Node Express

* **Functionality**: The API Node Express receives requests from Web3 applications, interacts with the Linea-store to store data, and executes recovery actions using the Meta smart contract.
* **Endpoints**:
  * `POST /monitor`: Registers a new monitor for a compromised account.
  * `POST /tokens/recover`: Initiates the recovery process for a specified account.
  * `POST /tokens/approve`: Approves spending for robin in compromised account

#### Linea-Store

* **Functionality**: The Linea-store is a data storage system on blockchain that keeps track of compromised accounts, monitors activity, and stores recovery-related information.
* **Data Managed**:
  * Compromised account details
  * Monitor register
* **Endpoints**:
  * `POST /user`: Registers a new user, encrypting compromised account.
  * `GET /user/:address`: Retrieves the user data,&#x20;

#### Meta Smart Contract

* **Functionality**: The Meta smart contract facilitates meta transactions, allowing for gasless transactions to recover tokens. It handles the authorization of the Robin Protocol to spend on behalf of the user and ensures secure transfer of recovered tokens.
* **Key Features**:
  * Gasless transactions
  * Secure token recovery
  * Authorization management

#### Monitoring System

* **Functionality**: Deploys containers to continuously monitor compromised accounts on different blockchain networks. It listens for incoming tokens, authorizes the Robin Protocol to manage the account, and transfers recovered tokens to a secure account.
* **Endpoints**:
  * `POST /monitor`: Registers a new monitor and deploy in cloud.
  * `GET /monitor/logs`: Retrieves  the logs of a monitor.
* **Networks Supported**:
  * Base
  * Binance Smart Chain
  * Arbitrum
  * Linea
  * Scroll

###
