10 sats \ 11 replies \ @TonyGiorgio 30 Dec 2023 \ parent \ on: Loan shark: Super Testnet's non custodial, bitcoin only borrow and loan tool bitcoin
Cool then you have enough to buy the fridge anyways and have the same tax liability.
Cool then you have enough to buy the fridge anyways
your income might not immediately cover the cost of the fridge, meaning you can't afford it without using some of the bitcoins you have from 2010
loan shark lets you borrow against them, avoid the tax penalty of selling them directly, and take up to 12 months to pay back the loan -- time enough for your income to save the day by gradually accumulating over the course of several months until you have enough to pay off the loan
reply
Okay, it's a weird model but that's something that I can see being possible.
How do you enforce that the locked up collateral is released from the loan shark back to the user after they paid back the loan? Are you doing something similar to a coinswap?
reply
Before the borrower deposits their collateral they get a signature from the lender that uses tapleaf 2 to send the collateral back to the borrower. But this signature is only valid for a transaction that sends the principle plus interest to the lender. So if the borrower wants to take back the collateral he can do it at any time but only by using that signature plus one of his own, which means he can only do it if he pays the lender the agreed upon amount.
reply
signature is only valid for a transaction that sends the principle plus interest to the lender
That's interesting, didn't know it was possible to enforce something like this but it makes sense.
reply
Here is where a dead man is a risk to the borrower? Does this risk mean that a lender needs a dead man script that returns the collateral if there is not a signature available for acknowledgement of repayment after the duration closes?
reply
The death of the lender is not a risk to the borrower because he gets the signature he needs before any money gets deposited into the contract address
The signature is created by the lender in advance and shared with the borrower, and it is valid for any transaction that meets these two criteria: (1) it spends the utxo the borrower intends to deposit into the contract address, which the borrower tells the lender when he accepts the loan offer (2) it sends the lender an amount equal to the principle plus interest
So if the lender dies mid contract it has no effect on the borrower. He can still pay off the loan using the signature he already has, and send the collateral to himself. If he uses the signature he already has, the transaction will be valid as long as the transaction also sends the principle plus interest to the now-dead lender (which is exactly how it should be -- those were the terms of the original agreement, and bitcoin doesn't know the lender died)
reply
Thank you for clarifying that. The lender would need to somehow back himself up but the borrower is not affected.
reply
The lender can use the backup button to download a copy of his transaction details and tell his heirs about the contract. They can then upload the backup file to the website the day the contract expires, and the website will automatically sweep the collateral into their wallet for them if necessary, otherwise it will show them that the borrower paid off the loan and their new balance will show up as expected in the wallet
reply
Nice! I hope you can use this for the manual! Great stuff.
A risk here can be that in order to buy Bitcoin fresh the fiat price may be astronomical and you may not have enough fiat to buy back the bitcoin you need to cover the loan. Also, what if no one wants the fiat anymore.
This is probable even if it looks like a small risk now. I like the Loan Shark application, but I also like to flush out risks, too. Maybe it's a FIDO situation? Fuck It Drive On.
From my experience I bought two bitcoin miners from a vendor using bitcoin. 6 months later the sats I paid were buying double the USD. The miners were to be used at a location and the location was no good. I was given the opportunity to get a refund. I wanted my BTC back but they only paid me the Fiat value in BTC plus I had to AML/KYC. It was bullshit. I lost on the deal.
The reality was in me using bitcoin that I would have gained more fiat value by not buying those miners. Even in the earning from mining I would have lost because my cheap sats today will always cost more tomorrow in the melting ice cube.
I wanted to throw away my Time Value Money calculator but maybe I shouldn't.
reply
you may not have enough fiat to buy back the bitcoin you need to cover the loan
Yes, a borrower who spends their principle essentially goes short on bitcoin. They must hope the price of bitcoin doesn't rise so high during the loan's term that they are unable to pay it off at the end of the term. Conversely, the lender essentially goes long on bitcoin.
Which is interesting, it implies and demonstrates that you can execute long and short contracts directly on bitcoin without touching any other currency. Timelocks are very powerful tools.
I like the Loan Shark application, but I also like to flush out risks, too.
I greatly appreciate your thoughts on this and your feedback, thank you
I lost on the deal
I am sorry for your loss. At least it sounds like you learned something.
reply