Hodlock

On-chain CDs on Base. 100% principal protected. Earn from early exit penalties.

HackMoney 2026Shipped January 30, 2026 Dormant#defi#identity#nft#health
Visit Repo
Hodlock banner

About

Hodlock is an on-chain Certificate of Deposit (CD) protocol deployed on Base (Ethereum L2) that solves DeFi's sustainability problem by creating a zero-sum reward mechanism where patient holders profit from impatient ones. Core Mechanism: Users deposit ERC20 tokens into individual Hodlock contracts (one per token type) for customizable lock periods (minimum 5 minutes, typically 30-365 days). Each deposit becomes a separate "certificate" with its own unlock time and penalty rate (5%-100%). The protocol uses a sophisticated share-based reward distribution system where longer locks receive exponentially higher shares (calculated as t²/(t+365 days)), ensuring long-term holders capture more rewards. Sustainable Yield Model: Unlike Ponzi-like yield farms that rely on constant new deposits, Hodlock generates rewards purely from early withdrawal penalties. When users withdraw before maturity, they forfeit a percentage of their principal (based on their chosen penalty rate) plus any accumulated rewards. These penalties are distributed proportionally to all remaining holders based on their shares. The protocol also includes a 10% developer fee and optional 30% referrer commission from penalties. Principal Protection: Your deposited tokens are always returned in full at maturity—no impermanent loss, no rug pulls, no dependency on external price feeds or liquidity pools. The smart contracts are non-upgradeable and fully auditable. NFT Certificates: Each deposit can mint a soulbound NFT (ERC-721) that serves as proof of your diamond-hand status. These NFTs are non-transferable during the lock period but become tradeable after maturity, creating a secondary market for matured positions. Referral System: Users can invite others with unique referral links. Referrers earn 30% of all early withdrawal penalties from their referees—permanently, with no expiration. This creates a sustainable passive income stream aligned with protocol growth. Technical Architecture: The system consists of four main contracts: HodlockFactory (deploys new token pools), Hodlock (core deposit/withdrawal logic with reentrancy guards and fee-on-transfer token support), HodlockNFT (soulbound certificates), and HodlockNFTRenderer (on-chain SVG metadata). The factory includes a blacklist to prevent incompatible tokens (like rebase tokens) from being added.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 299 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Hodl Habits

Imagine getting rewarded for building better habits. Meet HODL HABITS. You don’t just set goals—you build greatness. Stake tokens to join, complete your habits, and earn rewards. Slip up, and you lose a little. Top players get extra prizes from sponsors. Ready to level up?

StakeFlow

StakeFlow lets users stake ERC20 tokens with auto-compounding and tiered rewards.

Stellinch

Cross-chain atomic swap between Base/ETH and Stellar/XLM using HTLCs and 1inch integration