Helios Finance
  • Introduction
    • Problem - Solution
    • How Helios Differs from Other Protocols
    • Summary of Capabilities
  • Quickstart
    • Installing Leather Wallet
    • Add MIDL regtest on Leather
    • Get test tokens from faucet
    • Experience the new BTC Defi
  • Architecture
    • Overview
      • Helios & MIDL Architecture Overview
      • MIDL Validator Network (DPoS Consensus Layer)
      • Threshold Signature Scheme
      • Lending Logic Layer by Helios
      • Roles and Responsibilities Summary
    • Bitcoin-Native Smart Contracts
    • Bitcoin Settlement Flow and One-Step Transactions
    • Bitcoin Settlement & Finality
  • Core Concepts
    • Overview
    • BTC-Native Liquidity, Expanded Asset Support
      • Interest Mechanics
      • Supported Assets
    • Partial Collateral Swap (Flexible Position Management)
  • Risk Framework
    • Overview
    • Adaptive Risk Optimization (Mempool- & Volatility-Aware LTVs)
      • More on Adaptive Risk Engine
    • Liquidation Mechanics
  • Capital Efficiency and Use Cases
    • Overview
    • Delta-Neutral Yield Strategies
    • Enhanced Yield for Bitcoin Holders
    • Arbitrage and Market Efficiency
    • Tax-Optimized Borrowing
  • Institutional Compliance and Security
    • Overview
    • KYC-Ready Architecture and Permissioned Pools
      • More on Dual-Layer Market
    • AML, Monitoring, and Auditability
    • Regulatory Alignment (MiCA, BIS/IOSCO, etc.)
  • For Developers
    • Overview
    • Interest Rate Model
    • Supply & Borrow Interest
    • Functions
      • Common Functions
      • Supply & Withdraw
      • Borrow & Repay & Liquidate
      • Flashloan
    • SDK Release Plan
    • Smart Contract Interface via MIDL (EVM on Bitcoin)
    • Transaction Fees
  • Oracles and Price Feeds
  • Running a Liquidator or Integration with Exchanges
Powered by GitBook
On this page
  1. For Developers

Smart Contract Interface via MIDL (EVM on Bitcoin)

Developers can think of Helios as an EVM-based application, but one where transactions are triggered through Bitcoin transactions. The Helios contracts (for lending pool, etc.) run in the MIDL execution layer, which is EVM-compatible. Thus, in principle, they have functions analogous to an Ethereum lending protocol (e.g., deposit(uint amount), borrow(uint amount), etc.), and state variables tracking who deposited what, outstanding loans, interest indices, etc.

EVM Compatibility

Because Helios contracts are like Ethereum contracts, developers can potentially write or audit them using Solidity and familiar tools such as Hardhat. Helios’s core contracts would be opened to public, and any integration (like oracles or DEX for collateral swap) might also involve standard smart contract development.

The grunt of work besides the smart contracts written on Solidity would be interaction with Bitcoin web wallets such as Leather or Xverse that supports MIDL. Developers need to bear in mind that both EVM(MIDL) and BTC mainnet access may be needed upon user interactions.

PreviousSDK Release PlanNextTransaction Fees

Last updated 1 month ago