Ember Protocol

Native Bitcoin backed loans on Sui powered by HTLCs (Hashed Time Locked Contracts)

Ember Protocol

Created At

HackMoney 2026

Project Description

Ember Protocol enables native Bitcoin-backed loans on Sui using HTLCs without intermediaries, multisigs, or wrapped tokens. Borrowers lock Bitcoin as collateral on the Bitcoin network, while lenders lock USDC on Sui. Loans are executed trustlessly, with automated repayment, collateral release, and liquidations handled via HTLCs on both chains. The system ensures security: the lender holds the preimage needed to release collateral, while a Sui-chain HTLC lets borrowers repay principal + interest. This design leverages Bitcoin’s scripting (without Turing completeness) and Sui Move contracts to create decentralized, over-collateralized loans, eliminating custodial risk and bridging complexity. Tech Stack:

  • Sui Move: Loan contracts & repayment logic
  • Golang: Bitcoin HTLC scripting
  • React: Frontend interface Highlights:
  • Trustless, cross-chain loan execution
  • Native Bitcoin as collateral
  • Automated loan repayment, penalties, and liquidation
  • Fully decentralized, no multisig or central custodians

Read more: https://ember-7.gitbook.io/ember-protocol-1/

Package ID (Sui Testnet): 0x65f569a89e7c67696c56335e3d3443f6ce9683473d463cf1d1d4164e1062d948

How it's Made

Built with Sui Move for contracts, Golang for lender node with bitcoin script generation, and React for frontend. Building contracts for Sui was a bit challenging, as I wasn't used to Rust—I usually code in Solidity. Also, Bitcoin scripting was a bit complicated, especially understanding the purpose of different opcodes. But it was really fun working on it.

background image mobile

Join the mailing list

Get the latest news and updates