Onboard protocol’s smart escrow system can be integrated in decentralized lending platforms. Assets can be locked in the smart contract escrow, and then released to the borrower upon repayment of the loan. The assets may also be liquidated in favor of the borrower according to predetermined liquidation contracts.