Hacker News new | ask | show | jobs
by throwaway405769 1650 days ago
> who decides when the work is done?

This is part of the smart contract, which has to explicitly define the conditions on which the collateral is confiscated.

Getting real life data reliably into the blockchain is hard, but there are different approaches to solve this.

1 comments

The “different approaches to solve this” part, if it ever arrives, would be much more revolutionary than the blockchain itself.
Aave has $11 billion deposited on it right now and safety of those funds depend completely on getting accurate price data to trigger liquidations. So you can say that the oracle problem is solved, at least for price data.
Getting data in isn’t the big issue though, and we’ve had market data streams since forever. I’m talking about the example above, where a smart contract would need some way of knowing when to flip the “Bob has satisfactorily finished community refurbishment” flag. This would require an abundance of interoperable data sources for bizzare things. Where do I subscribe to the count(dogshit_pile_in_the_playground) stream, and who or what is publishing to it in a trust-less manner?
Getting all the data in the world into the blockchain and coding smart contracts to infer judgement from it would be too complex and expensive.

A more practical approach is to transfer the funds to Bob once he clicks on the checkbox and have some lock-up period, so that Alice has the opportunity to trigger a dispute if she needs to.

Then the dispute can be resolved by a private court (composed of humans) that both Alice and Bob agreed on beforehand. See: https://kleros.io

Ok, but this isn’t purely a smart contract anymore. You’re describing a typical escrow (running on a blockchain, because ______) with human judges, conceptually identical to what goes on behind the scenes at EBay. What necessitates a blockchain here?
No, it's running completely on smart contracts. You get the regular advantages of running on blockchain: permissionless and trustless access to finance.

You don't have to trust the escrow holder, you don't have to worry about getting banned from Ebay.

what's the advantage for Bob here?
He can work for Alice or anyone else in the world without having to deal with intermediaries and bureaucracy.
Price data is easy. Price data is already visible on the blockchain because a lot of trading happens on the blockchain.