Inspiration

We were inspired by the need for accessible microfinance solutions in the US and the global push for Bitcoin-based financial systems. Many people around the world are underbanked or unbanked, yet they have mobile devices and access to Bitcoin. We saw an opportunity to create a decentralized, fast, and low-cost lending platform powered by the Lightning Network and Stacks smart contracts, secured by Bitcoin.

What it does

BitLoan is a decentralized microloan app that allows users to:

  1. Request or offer Bitcoin microloans instantly.
  2. Use Lightning Network for fast, low-fee BTC transfers.
  3. Secure and manage loan terms using Stacks Clarity smart contracts (development)
  4. Optionally use collateral or a decentralized reputation system to qualify for loans. (development)
  5. Track repayment schedules and interest on-chain. (development)

It bridges off-chain Lightning transactions enabling real-world financial interactions that are trust-minimized and efficient.

How we built it

We built BitLoan using:

  1. Voltage, Mutiny Wallet, and LNBits: Tested Lender to Borrower transactions
  2. Streamlit: User interface anyone can use

In Development

  1. Stacks: Clarity smart contracts will manage loan logic, collateral, interest, and repayments.
  2. Bitcoin Lightning Network: Handles real-time BTC transfers for loans and repayments.
  3. Node.js/Express backend: Manages Lightning invoices and verifies payments.

Future Challenges

  1. Bridging the off-chain Lightning world with on-chain Clarity logic required careful planning and custom oracle development.
  2. Stacks uses Clarity, a non-Turing complete language with unique syntax, which required a learning curve.
  3. Managing the security of repayments and potential loan defaults in a decentralized way without traditional enforcement mechanisms.
  4. Integrating multiple wallet technologies and ensuring a seamless UX across Bitcoin and Stacks ecosystems.

Accomplishments that we're proud of

  1. Successfully transacted Bitcoin Lightning test payments via Voltage, Mutiny Wallet, LNBits, and Streamlit
  2. Designed a microfinance system with real use cases for the unbanked.
  3. Worked as a team to integrate Bitcoin payments into a secure loan management platform.

What we learned

  1. Practical usage of the Lightning Network and how micro-payments can revolutionize financial access.
  2. New appreciation for DeFi on Bitcoin and how it can be made inclusive, fast, and secure.

What's next for BitLoan

  1. Launch a testnet version and onboard real users with small microloans.
  2. Integrate decentralized identity and reputation systems to improve loan eligibility without relying solely on collateral.
  3. Use multi-sig and escrow mechanisms to add more safety for lenders.
  4. Explore AI-powered trust scoring for borrowers.
  5. Expand to mobile-first interfaces.
  6. Eventually, roll out on mainnet with a governance layer for community involvement.

Built With

Share this project:

Updates