Domain Models for Blockchain and Web3 Developers
Blockchain domain models are the application patterns built on contracts: DeFi primitives such as automated market makers, lending pools and stablecoins, NFTs for ownership and identity, on-chain games, and tokenisation of real-world assets. Each pattern has its own accounting rules, incentives and failure modes that a developer must understand before coding.
Stage: Applications · Part of the Blockchain and Web3 Developer roadmap · Last reviewed 19 November 2026
What to learn in Domain Models
- Explain the constant product formula behind an automated market maker
- Describe how collateral ratios and liquidations protect a lending pool
- Mint an ERC-721 token and attach metadata with a token URI
- Explain how an on-chain royalty or soulbound token is modelled
- Identify risks specific to tokenised real-world assets
Domain Models interview questions
How does a constant product automated market maker set prices?
A pool holds two tokens and keeps the product of their reserves constant, x times y equals k. A trade changes the reserves, so the price moves along that curve. Larger trades relative to pool size cause more slippage.
Why are lending protocols over-collateralised?
Borrowers are anonymous and cannot be pursued, so loans are backed by collateral worth more than the debt. If prices fall and the ratio drops below a threshold, anyone can liquidate the position, repaying the debt and taking collateral at a discount.
Where Domain Models fits in the Blockchain and Web3 Developer roadmap
Domain Models belongs to the Applications stage (intermediate level), which takes about 9 hours. From contract to product.
Other units in this stage
Back to the full Blockchain and Web3 Developer roadmap