This repository contains Chainlink oracle infrastructure for the train delay protection prototype. It demonstrates how blockchain oracles can be used to fetch and provide external data to smart contracts. Additionally, it includes a small test integration with Gelato for automation purposes.
contracts/- Solidity smart contracts for Chainlink oracle and Gelato integration- Oracle contracts for handling external data requests
- Consumer contracts for processing and forwarding train delay data
- Gelato resolver contracts for automation
jobs/— Chainlink job specifications (TOML files) for data fetching- Train delay data fetching jobs
- Data processing and formatting jobs
- Test jobs for development and debugging
Chainlink is a decentralized oracle network that enables smart contracts to securely access off-chain data feeds, web APIs, and traditional bank payments.
- Documentation: Chainlink Docs
- Developer Resources: Chainlink Developer Hub
- Job Specifications: Chainlink Jobs
Gelato is a decentralized automation protocol that enables developers to automate smart contract executions on various blockchains.
- Website: Gelato Network
- Documentation: Gelato Docs
This repository contains experimental code and may be deprecated due to changes in the Chainlink or Gelato protocols. Always refer to the latest documentation and protocol specifications before using this code in production environments. The job specifications and contract interfaces may no longer be compatible with current versions of these protocols.