A blockchain-based pyth price feeding system for decentralized applications
Price Pusher is a system that provides real-time price data to blockchain smart contracts. It consists of three main components:
price-pusher-core- Core price feed aggregation and processing logicprice-pusher-aptos- Aptos blockchain integration moduleprice-pusher- Main CLI application
- Real-time price data collection
- Blockchain integration
- Decentralized data feeding
- Robust error handling
- Configurable sources
To get started:
cargo buildRun the application with:
cargo run --release
Configure the price feeder by editing config.yaml:
- alias: BTC/USD
id: f9c0172ba10dfa4d19088d94f5bf61d3b54d5bd7483a322a982e1373ee8ea31b
time_difference: 30
price_deviation: 0.5
confidence_ratio: 1
- alias: BNB/USD
id: ecf553770d9b10965f8fb64771e93f5690a182edc32be4a3236e0caaa6e0581a
time_difference: 30
price_deviation: 1
confidence_ratio: 1
early_update:
time_difference: 30
price_deviation: 0.5
confidence_ratio: 0.1
Contributions are welcome! Please fork the repository and submit a pull request.