# Blockchain Protocol

OpenTrade's blockchain protocol is based on Perimeter, an open-source blockchain protocol developed by [Circle Research](https://www.circle.com/en/circle-research), a division of [Circle](https://www.circle.com), to support USDC lending markets and applications. The protocol is largely built on composable, open-source standards, including [ERC-20](https://ethereum.org/en/developers/docs/standards/tokens/erc-20/), [ERC-4626](https://ethereum.org/en/developers/docs/standards/tokens/erc-4626/).&#x20;

The OpenTrade protocol is developed and maintained by Open Trade Technology Ltd.  It has been modified extensively to support a nearly limitless variety of RWA and DeFi backed stablecoin yield vaults.&#x20;

## Overview

The protocol can support a wide variety of on-chain structured credit and lending products, including but not limited to:

* Yield products involving both real world assets ("RWA") and digital assets
* Collateralised and uncollateralized loans
* Single-sided and multi-sided credit markets&#x20;
* Primary and secondary credit markets
* Fixed rate and variable rate products
* Fixed term and open-term products

We intend to continue to extend and enhance the protocol to support an increasingly wide variety of use cases across both RWAs and digital assets.&#x20;

## ERC-4626

The core of the protocol is based on [ERC-4626](https://ethereum.org/en/developers/docs/standards/tokens/erc-4626/), an open-source standard for yield bearing token vaults. It is an extension of ERC-20 token standard. It has been designed to optimise and unify the technical parameters of yield-bearing vaults.&#x20;

It provides a standard smart-contract interface for tokenised yield-bearing vaults. A yield-bearing vault is a smart contract that allows users to deposit different ERC-20 tokens into a pool of tokens in exchange for vTokens (vault tokens). Vault tokens give their holders a claim on underlying asset tokens held by the vault, plus any profits the pool has earned, minus any losses, defaults, and fees.&#x20;

Vault tokens can be converted to asset tokens, and asset tokens can be converted to vault tokens, with the exchange occurring at an exchange rate determined by the smart-contract.

The standard is fully described in [EIP-4626](/welcome-to-opentrade/supported-blockchain-networks.md) as published and maintained by Ethereum.org.

## OpenTrade Implementation

When lenders deposit ERC-20 stablecoin tokens (USDC, EURC, USDT, etc) into the vault, they are issued ERC-20 tokens called vault tokens in return. This is done at the current exchange rate.&#x20;

Each vault token represents a unit of ownership in the vault and its underlying assets, which are principally collateralised and uncollateralized USDC loans and USDC.

Loans are structured and disbursed to borrowers from these vaults. As loans are issued, loan repayments are made, and interest is accrued, the exchange of each vault increases, meaning the value of each vault token increases by a corresponding amount. If defaults occur, the exchange of each vault decreases, meaning each vault token decreases by a corresponding amount.

When a lender withdraws from the vault, they exchange their vault tokens for the underlying asset token (USDC) at the current exchange rate.&#x20;

### Learn More

* [Vaults](/stablecoin-yield/product-overview/vaults.md)
* [Vault Tokens](/stablecoin-yield/product-overview/vault-tokens.md)
* [Exchange Rates](/stablecoin-yield/product-overview/exchange-rates.md)

<figure><img src="/files/XVoFNVRqF8MzIikhjfub" alt=""><figcaption></figcaption></figure>

## Protocol Roles

**Protocol Operator:** The protocol operator is responsible for deploying, maintaining, and upgrading the protocol. Open Trade Technology Ltd. serves as the protocol operator.

**Vault Admin:** Specialised entities that create and manage vaults, source borrowers, and manage liquidity in the protocol. [Open Trade Technology Ltd](/stablecoin-yield/product-overview/key-parties.md) serves as the vault admin for all OpenTrade products.

**Borrowers:** Entities that receive stablecoin loans from liquidity pools and repay those loans plus interest. Borrowers on the OpenTrade platform are bankruptcy remote SPVs overseen by FCA regulated Five Sigma. Currently the only approved Borrower is [OpenTrade SPC](/stablecoin-yield/product-overview/key-parties.md).&#x20;

**Lenders:** Lenders provide liquidity by depositing tokenised cash (USDC and EUROC) to earn interest. Lenders are KYC’d Web3 institutions, businesses, and HNWI. For more information on who is eligible to become a Lender on OpenTrade, please see [Eligibility Requirements](/onboarding/eligibility-requirements.md).&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opentrade.io/welcome-to-opentrade/blockchain-protocol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
