Features | Quick Start |
💰 Access competitive mortgage rates through decentralized liquidity pools - worldwide.
Mortpool connects borrowers directly with liquidity providers, eliminating traditional banking overhead. Market-driven rates typically 30-50% lower than local banks globally, with competitive yields for LPs backed by real-world assets.
⚙️ Built using Scaffold-ETH 2: NextJS, RainbowKit, Hardhat, Wagmi, Viem, and Typescript.
-
🏡 Tokenized Properties - Real estate as NFTs with on-chain ownership tracking
-
💵 Globally Competitive Rates - Market-driven pricing, typically 30-50% lower than local banks worldwide
-
📈 Earn Yield - LPs earn sustainable returns on real-world assets (50-70% of borrower rates)
-
📊 Incremental Ownership - Watch your ownership % grow with each payment
-
🔒 Insurance Pool - 2% reserve protects against defaults across all markets
-
⚡ Instant Approval - Smart contract automation without geographic restrictions
-
🎯 Transparent - All terms and rate calculations visible on-chain
-
🌍 Global Accessibility - Serve borrowers in any country, from São Paulo to Mumbai
-
✅ Contract Hot Reload: Your frontend auto-adapts to your smart contract as you edit it.
-
🪝 Custom hooks: Collection of React hooks wrapper around wagmi to simplify interactions with smart contracts with typescript autocompletion.
-
🧱 Components: Collection of common web3 components to quickly build your frontend.
-
🔥 Burner Wallet & Local Faucet: Quickly test your application with a burner wallet and local faucet.
-
🔐 Integration with Wallet Providers: Connect to different wallet providers and interact with the Ethereum network.
Before you begin, you need to install the following tools:
- Node (>= v20.18.3)
- Yarn (v1 or v2+)
- Git
- Clone and install dependencies:
git clone https://github.com/yourusername/mortpool.git
cd mortpool
yarn install- Start local blockchain:
yarn chain- Deploy contracts (in new terminal):
yarn deploy- Start the frontend (in new terminal):
yarn start- Open your browser to:
http://localhost:3000
- Browse available tokenized properties
- Apply for a mortgage with 10-20% down payment
- Get instant approval from smart contracts
- Make monthly payments and track ownership growth
- Own 100% of your property when paid off
- Deposit ETH into the liquidity pool
- Earn 3.5% APY from mortgage interest
- Withdraw anytime (subject to liquidity)
- Protected by 2% insurance reserve
- PropertyNFT.sol - ERC-721 tokens representing real estate
- MortgagePool.sol - Liquidity pool for lenders with yield distribution
- MortgageManager.sol - Mortgage lifecycle management (applications, payments, defaults)
- Edit smart contracts in
packages/hardhat/contracts - Edit frontend in
packages/nextjs/app - Deploy scripts in
packages/hardhat/deploy
For more on Scaffold-ETH 2, visit docs.scaffoldeth.io
While Mortpool currently focuses on real estate mortgages, the underlying architecture is designed to scale to any high-value asset class:
- Vehicles & Equipment - Cars, boats, heavy machinery with monthly payment plans
- Luxury Assets - Watches, art, collectibles with fractional financing
- Business Assets - Commercial equipment, inventory financing
- Digital Assets - Domain names, NFT collections, intellectual property
The core mechanics of tokenization, liquidity pooling, incremental ownership tracking, and insurance reserves can be adapted to create lending markets for any asset type. This makes Mortpool a foundation for a broader decentralized financing ecosystem beyond traditional real estate.
Contributions welcome! Please check CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details
Built with ❤️ using Scaffold-ETH 2