The lending protocol
📝 Draft. This chapter has not been reviewed yet — content may be incomplete or change.
🚧 This chapter is a stub. It will tie every cookbook concept together on a real peer-to-peer collateralised lending protocol on Liquid: NFT ownership, Simplicity covenants, partial repayments, vault accumulation, and liquidation.
The complete lending example lives in the repository at
examples/lending/
(its txmanifest.json
plus the covenant .simf programs). This chapter will adapt it into the cookbook,
cross-linking each section back to the recipe that introduced the concept: