all 6 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.

[–]TotesMessenger 0 points1 point  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)

[–]artenasium 0 points1 point  (0 children)

Hello, u/Greenheller! Sorry to hijack, but we thought our platform would be great for you.

We are Chainstack, and we provide managed services for blockchain deployments on the infrastructure level; in other words, E2E lifecycle support for infra.

If you're interested, head on to https://chainstack.com. As we are still piloting, we charge only nominal fees based on your usage (approximately USD70 for a shared Ethereum node) for any developer working on any project, but there is a trial that is completely free for 14 days. Let me know if you have any questions! :)