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:
- Request or offer Bitcoin microloans instantly.
- Use Lightning Network for fast, low-fee BTC transfers.
- Secure and manage loan terms using Stacks Clarity smart contracts (development)
- Optionally use collateral or a decentralized reputation system to qualify for loans. (development)
- 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:
- Voltage, Mutiny Wallet, and LNBits: Tested Lender to Borrower transactions
- Streamlit: User interface anyone can use
In Development
- Stacks: Clarity smart contracts will manage loan logic, collateral, interest, and repayments.
- Bitcoin Lightning Network: Handles real-time BTC transfers for loans and repayments.
- Node.js/Express backend: Manages Lightning invoices and verifies payments.
Future Challenges
- Bridging the off-chain Lightning world with on-chain Clarity logic required careful planning and custom oracle development.
- Stacks uses Clarity, a non-Turing complete language with unique syntax, which required a learning curve.
- Managing the security of repayments and potential loan defaults in a decentralized way without traditional enforcement mechanisms.
- Integrating multiple wallet technologies and ensuring a seamless UX across Bitcoin and Stacks ecosystems.
Accomplishments that we're proud of
- Successfully transacted Bitcoin Lightning test payments via Voltage, Mutiny Wallet, LNBits, and Streamlit
- Designed a microfinance system with real use cases for the unbanked.
- Worked as a team to integrate Bitcoin payments into a secure loan management platform.
What we learned
- Practical usage of the Lightning Network and how micro-payments can revolutionize financial access.
- New appreciation for DeFi on Bitcoin and how it can be made inclusive, fast, and secure.
What's next for BitLoan
- Launch a testnet version and onboard real users with small microloans.
- Integrate decentralized identity and reputation systems to improve loan eligibility without relying solely on collateral.
- Use multi-sig and escrow mechanisms to add more safety for lenders.
- Explore AI-powered trust scoring for borrowers.
- Expand to mobile-first interfaces.
- Eventually, roll out on mainnet with a governance layer for community involvement.
Built With
- clarity
- express.js
- javascript
- lnbits
- mutinywallet
- node.js
- python
- stacks
- streamlit
- voltage
Log in or sign up for Devpost to join the conversation.