News for hackers. Stuff that matters.
Re:Bitcoin price hits $40k less than three weeks after shatt... by orange_tee on Thursday January 07, 2021 @02:09PM (#25675718)
How do the oracles work with these kinds of smart contracts?

I also don't understand the use of some of these. You can borrow crypto against other crypto?! What is the use case for that?

Re:Bitcoin price hits $40k less than three weeks after shatt... by whitepaint on Thursday January 07, 2021 @02:13PM (#25675759)
> I also don't understand the use of some of these. You can borrow crypto against other crypto?! What is the use case for that?

I am sure eventually you'll be able to borrow / lend / put as collateral not just other cryptos, but tokenized assets as well. That's why Ethereum is so exciting to me personally.

Re:Bitcoin price hits $40k less than three weeks after shatt... by thatcat on Thursday January 07, 2021 @02:20PM (#25675879)
Does that only work with digital assets and ip or is it extended to ownership of physical items?
Re:Bitcoin price hits $40k less than three weeks after shatt... by latchkey on Thursday January 07, 2021 @03:02PM (#25676523)
NFT's are just getting started, but it is looking extremely promising.
Re:Bitcoin price hits $40k less than three weeks after shatt... by rat_melter on Thursday January 07, 2021 @03:21PM (#25676843)
>How do the oracles work with these kinds of smart contracts?

It depends. Many exploits are based on asymmetric oracle data, or asymmetric trades using flash loans. Mainly oracles will be used for aggregated price feed data from centralized exchanges, thus making the prices an average across the board. This keeps it even for everyone involved that integrates the same oracles that everyone else does, and a proper oracle network will keep bad actors at bay by mitigating excessive arbitrage opportunities. Well-meaning oracles are critical for these kinds of decentralized finance opportunities.

>You can borrow crypto against other crypto?! What is the use case for that?

If I put my tokens up for borrowing, I'm providing liquidity into a pool. It allows me to leverage my own money into a series of "IOU's" from smart contracts that pay out dividends by collecting small fees from people who borrow from this pool as a payment for providing this utility.

To answer your second question: The use case is ultimately adding liquidity to the market, and getting paid for doing so, while also being able to leverage the IOU's (in some scenarios) into more dividends payouts.

It sounds more complicated than it is. Boiling it down looks something like this:

  Provide - ETH-BTC  to a pool          || Receive -  aETHBTC  tokens (an IOU)
  Provide - aETHBTC  to a pool (an IOU) || Receive -  aETHBTC  tokens (an IOU)
  Provide - yaETHBTC to a pool (an IOU) || Receive - yyaETHBTC tokens (an IOU)
  ... etc.
It's interesting and affords a lot of opportunities, but you should be careful to read every contract and only enter positions that have none or little "impermanent loss". I'd recommend you find the fee structure for a pool, find the market demand and study what the pros/cons are of lending your money. You may lend out a token and it may drop in value while those IOUs become worth less while you're trying to cash them out. Or, you may borrow an asset against your assets to market sell and effectively short the borrowed token, only to be liquidated when the token rises and you need to pay back your loan.

Just be careful of your gas bill while you're learning :)

Re:Bitcoin price hits $40k less than three weeks after shatt... by orange_tee on Thursday January 07, 2021 @03:32PM (#25677005)
Thanks a lot for the detailed answer. I'm presently not interested in using any of these services, but I am trying to keep up with the developments of crpytofinance.
Re:Bitcoin price hits $40k less than three weeks after shatt... by latchkey on Thursday January 07, 2021 @03:01PM (#25676507)
Absolutely. It is the digital version of a gold dealer where you go to exchange your currency for local money. Imagine you travel to Vietnam, you can get local currency from your ATM and get a terrible rate... or you can take USD to a gold dealer and buy the local currency "on the black market". They give you a rate, take a cut, use it to hedge against their gold. Almost always a better rate than the banks.

Now it is happening online for people who want to say switch between various ETH tokens. This is what DeFi is all about. $20b is locked up into this stuff already and growing. Things are moving insanely fast.

If you want to dip into the more regulated version (CeFi), take a look at BlockFi or Celsius.