Post
Topic
Board Lending
Topic OP
Lending Smart Contract?
by
Diornov
on 21/03/2023, 09:19:23 UTC
Hello Bitcointalk. My name is Diornov, and I'm the founder of Zenland - a Smart Contract Platform.
Here at Zenland, we are trying to bring the smart contract to the masses, and I have a few ideas I wanted to share with you.

I see there are a lot of lending threads being open here. Most are with collateral assets such as bitcoin or other altcoins.

Would it be useful to create a lending smart contract for users of BitcoinTalk?

The idea I have in mind is 2 types of lending smart contracts - manual and automatic.

I see a lending contract this way - the lender and the borrower create a draft contract specifying the collateral, interest and liquidation rate.

Let's say the lender creates a contract and types how much he will lend for what interest rate under what collateral.
If the borrower is satisfied with the terms, he approves the contract.
Then the lender deploys the contract into the blockchain and transfers the agreed amount of stablecoins into the contract.
For the borrower to get the money from the contract, he needs to transfer the agreed amount of collateral into the contract, and only then the contract allow to release of the lent money.

Now it comes to these 2 types of contracts - manual and automatic, and I'm interested in what you think about it.

Automatic:
If the borrower is ready to repay the loan, he transfers the agreed amount of stablecoins with interest rate into the contract.
He releases its collateral back into his wallet.
The contract is finished and executed.

Suppose the price drops below the liquidation rate specified by the lender at the beginning of contract creation.
In that case, the lender clicks the "Liquidation release" button, and the collateral is released to the lender's wallet for him to sell and cover the expenses.
The contract is finished and executed.

Manual:
The difference with the manual lending contract is that the lender would manually release the collateral.
In liquidation, the release would happen manually with a Zenland agent if the borrower is unwilling to release the collateral to the lender for liquidation.

What am I missing here? Did I cover all the possible issues?
That's pretty much how other lending platforms work in DeFi, and I'm more interested in retail types of business when it happens p2p.

And the main question is - would you be using these types of contracts? If not, then why?