Hello Everyone
I've been thinking about applications that AnyHedge enables. It can be the next big thing that will drive adoption. The truth of the matter is at the moment people are much more comfortable having portion of their money tied to the local currency they use. And usually they will be looking for a place that pays interest on their money.
The Proposal
We need a better version of AnyHedge contracts that will enable the person at the hedge side of the contract to close it at the next block. With that we will have the ability for people to lock the value of their coin for long term. And they will be able to spend or close it at anytime.
We need three opcodes for the new contract to add this ability. The opcodes are similar to CheckTimeLockVerify.
- Check parent transaction block height equal (verify)
- Check parent transaction block height less than (verify)
- Check parent transaction block height greater than (verify)
All three will take two arguments, 1. the index of the input coins, 2. the value to check the block height with.
If we have the ability to detect at which block a transaction was included in the blockchain then we can feed it with the correct data from the right oracle. And we'll be able to settle the contract without the need to trust the other party.
Why I think AnyHedge contracts have the potential to go viral?
I have a particular arrangement of an AnyHedge contract in mind. Which can be beneficial for both parties.
The long side of the contract is known as the one taking the risk. It may bring the concern that there may not be enough demand for going long. But I've thought of an arrangement for the long side that will make it more interesting. Let me explain below.
Lets say you have $1000 in BCH. And you want to go take $250 loan with it. Here's how you would be able to do it with AnyHedge. You will go long a contract that has $250 at Its hedge side. And you will sell $250 worth of BCH for USD. There you go, You have $250 to spend until the contract ends. And before the contract ends you have to buy back the BCH ($250) so you would be able to maintain the amount of BCH you had.
As long as the value of BCH not going below 1/4 of Its original price (When the contract has started), You will be able to maintain the same amount of BCH you had once you pay back the loan.
I can imagine people are willing to pay interest for taking loans like this. So the hedge side will be able to take some interest.
And we all have seen how much these loan/interest services defi/cifi has become popular.
Lets do this!
Please leave a comment.
[link] [comments]
source https://www.reddit.com/r/btc/comments/p5hfz3/spendable_anyhedge_contracts/
No comments:
Post a Comment