Replies (1)

I meant 2 of 2, so I edited it. They locknthe bitcion in a 2 of 2 multisig. But it is like lightning where they both sign an unbroadcasted commitment transaction allowing either of them reclaim the bitcoin, but have it time locked for the borrower until after the loan term. At any time the lender can claim the bitcoin without a timelock because the borrower signed a commitment transaction handing giving the bitcoin to them without a timelock.