hackquest logo
  • 學習
  • 課程探索
  • 實戰
  • 黑客松探索
  • 往期項目
  • 社區
  • 論壇
  • 全球活動
  • 我的社區
  • 共學營
  • 組織中心
  • 更多
    • 詞彙表
    • 博客
    • 水龍頭
    • 工作機會
    • 媒體工具包
    • 創始人
hackquest logo

CortexRails Protocol

Liquidations shouldn't be a guess. CortexRails is an onchain policy layer returning deterministic ALLOW, LIMIT, REVIEW, or BLOCK decisions for financial actions before execution.

視頻

專案圖片 1
專案圖片 2
專案圖片 3
專案圖片 4

技術堆疊

Web3
Next
Ethers
Rust
Solidity

描述

CortexRails Protocol is an onchain policy layer for tokenized-asset finance.

Financial protocols and autonomous agents increasingly need to make decisions before executing actions such as borrowing, withdrawing, transferring, or increasing leverage. Today, policy and execution are often tightly coupled inside individual applications — and liquidation thresholds in particular are usually implicit, buried in application code rather than enforced as an explicit, checkable rule.

That gap is real, not theoretical. A position entered on 2021-11-04 at $409.97 was liquidatable once TSLA fell to $327.98. It actually crossed that price on 2021-12-13 — 26 trading days later. Across 14 years of TSLA price history, 70% of entry points eventually crossed their liquidation trigger, with a median of 72 trading days and a fastest case of just 1 day. Every one of those crossings is a moment where a lending protocol needs a deterministic, enforceable answer — not a guess.

CortexRails separates policy from execution. An application or agent submits a structured financial intent. CortexRails evaluates the request against asset state, position state, risk parameters, lifecycle conditions, and action-specific rules, then returns a deterministic decision:

ALLOW — LIMIT — REVIEW — BLOCK

If an action exceeds its permitted amount, CortexRails returns the permitted amount rather than silently changing the request. The caller can then adjust and resubmit the intent before execution.

The architecture is:

Agent / Protocol → Intent → CortexRails Policy → Decision → Financial Adapter → Onchain Execution

CortexRails currently runs on Robinhood Chain testnet using Arbitrum Stylus/Rust and Solidity contracts. The deployment demonstrates policy-controlled interactions involving real tokenized TSLA and Paxos USDG, with adapters for lending (borrow/repay/deposit), vault withdrawals, transfers, and permissionless liquidation.

The system is designed as reusable infrastructure: applications can call the policy layer without having to rebuild the same risk and lifecycle decision logic inside every financial protocol.

Agents propose. CortexRails decides. Adapters execute.

黑客松進展

During the hackathon, CortexRails evolved from an initial financial execution architecture into a reusable policy layer between financial intent and execution.

We implemented and deployed the core policy infrastructure using Arbitrum Stylus/Rust and Solidity, including PositionEngine, RiskEngine, the Policy and Registry contracts, and four financial adapters covering lending, vault withdrawals, transfers, and permissionless liquidation.

We deployed CortexRails to Robinhood Chain testnet and integrated real TSLA and Paxos USDG testnet assets. We implemented deterministic ALLOW, LIMIT, REVIEW and BLOCK decisions, lifecycle controls, risk-based borrowing capacity, action-specific policies, and an SDK/agent intent layer connecting structured intents to live onchain policy evaluation.

We also ran a 14-year historical backtest against real TSLA price data to validate the liquidation logic against actual market behavior rather than synthetic assumptions, confirming the deterministic trigger point algebraically and empirically.

The current MVP is backed by 66 passing Solidity contract tests and 33 passing SDK tests, and demonstrates live borrowing, withdrawal, transfer, and liquidation flows — showing how an agent can receive a policy decision, adjust an intent when limited, and proceed to onchain execution.

籌資狀態

Pre-revenue / self-funded. Currently focused on product development and ecosystem validation.

團隊負責人
AAnjola Adeyemi
專案連結
部署生態系
Robinhood Chain TestnetRobinhood Chain Testnet
行業
RWAAIDeFiInfra