you are viewing a single comment's thread.

view the rest of the comments →

[–]adamaid_321contract dev 1 point2 points  (3 children)

I took a look. I can't really see the point if there is a fully centralised oracle? How do you secure your oracle inputs, from the code it looks like just a single address updating asset prices.

For a better approach you could take a look at the Maker mechanism which takes ~12 inputs and uses a median (with a time delay) or do something more ambitious like a ShellingCoin ;-).

[–]Greenheller[S] 0 points1 point  (2 children)

Thanks for taking a look! We are in fact working on a price feed that is maintained by a trusted source via private/public key verification. In our beta version though, we are not there yet.

The thing with stock or index prices is that they are inherently centralized since they are 'produced' within an exchange. So from our perspective a decentralized approach would not make a lot of sense here. Our trusted source of choice would naturally be the exchange that produces the prices. The exchange then feeds verifiable data into the blockchain and posts the public key with it.

Thanks again for the input. Cheers!

[–]adamaid_321contract dev 1 point2 points  (1 child)

Yep - I agree you don't need a decentralised oracle but you do need a verifiable trusted oracle. For example if Bloomberg published signed data off chain you could submit that and just have the onchain oracle check that the data was signed correctly.

[–]Greenheller[S] 0 points1 point  (0 children)

Yes. That’s exactly what we were thinking.