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.
Last updated