https://github.com/ophiase/stochastic-vector-oracle-consensus
⚡️ StarkHack Contest : Establish on-chain consensus using smart contract over machine learning predictions from multiple oracles that can evolve over time.
https://github.com/ophiase/stochastic-vector-oracle-consensus
blockchain cairo machine-learning nlp scraping sentiment-analysis starknet statistics
Last synced: 3 months ago
JSON representation
⚡️ StarkHack Contest : Establish on-chain consensus using smart contract over machine learning predictions from multiple oracles that can evolve over time.
- Host: GitHub
- URL: https://github.com/ophiase/stochastic-vector-oracle-consensus
- Owner: Ophiase
- License: apache-2.0
- Created: 2024-06-16T10:57:55.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T07:48:51.000Z (9 months ago)
- Last Synced: 2025-01-19T08:32:36.393Z (5 months ago)
- Topics: blockchain, cairo, machine-learning, nlp, scraping, sentiment-analysis, starknet, statistics
- Language: Jupyter Notebook
- Homepage:
- Size: 2.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stochastic Vector Oracle Consensus
![]()
Sponsorized by [ETH Global - StarkHack](https://ethglobal.com/events/starkhack). \
Prizes :
- **Starkware** - Best use of Starknet Promising Projects
- **Nethermind** - Best Runner Up Integration of AI in transaction simulationEstablish on-chain consensus over predictions from multiple oracles that can evolve over time.
- ✅ Security: The consensus is implemented directly on the Starknet blockchain using smart contracts developed in Cairo.
- ✅ Robustness: The consensus resists failing oracles (e.g., bugs, hacks, statistical errors). Oracles that diverge too much from the group do not influence the consensus.
- ✅ Reliability: The consensus always provides reliability metrics for the algorithms using it.
- ✅ Durability: The consensus resists the test of time. If authorized by the smart contract, admins can vote to replace dead oracles (based on their divergence).We also provide an oracle client for demonstration purposes.
- Data is scraped in real-time from Hacker News.
- Oracle predictions are based on sentiment analysis over stochastic samples of comments.🚧 Warning: This project was developed as a proof of concept during a Hackaton. \
Therefore, the smart contracts and math tools will be obsolete in the future versions of Cairo/Starknet.
## Documentations.
- Mathematical details : [documentation/README.md](documentation/README.md).
- Smart contract interface for oracles : [contract/README.md](contract/README.md).
- Oracle Client : [client/README.md](client/README.md).