Create account

2259d
I'm very excited to announce my personal #WyoHackathon project—https://www.oracles.cash

Oracles is a platform for launching Oracles on #BitcoinCash
replied 2259d
The code is 100% Open Source under the MIT License:

https://github.com/Bitcoin-com/oracles.cash
replied 2259d
2/Oracles consists of a backend REST api for serving up data, signed by a PriceOracle, to be consumed by cash contracts.
replied 2259d
It also includes the HodlVault CashScript contract and .ts file needed to transpile and run HodlVault
replied 2259d
The REST API calls our BCH price index, encodes the blockHeight and bchUsdPrice into a byte sequence of 8 bytes (4 bytes per value), signs it w/ a pubkey and returns it all as json
replied 2259d
HodlVault contract forces hodling until a certain price target and blockheight have been reached
replied 2259d
Oracles are very powerful and can be used for prediction markets, trust-less wagers and much more.
replied 2259d
The intention of Oracles is to provide the tools needed to quickly bootstrap Oracle data and contracts in Bitcoin Cash.
replied 2259d
Sample GET request: https://oracles.cash/v1/price/details

Returns blockheight, price, message and signature
replied 2259d
Gabriel this is AWESOME!!!!!!!!!
you're the real;blockstar bro!
replied 2259d
Thank you my friend! 🎩
replied 2259d
replied 2259d
Mr. Cardona is truly prolific!