Pythia is a flexible automation oracle capable of executing transactions at scheduled intervals, providing randomness, or delivering price feeds from Sybil. This guide will walk you through the process of creating a subscription using both the front-end application and Solidity.
Set up your own subscription by choosing the chain where your contract resides, specifying your contract address, and defining the method to be executed.
Define the automation frequency, and if desired, add payload to execution transactions as randomness or price feed from Sybil.
Authenticate with Self Identity Wallet Extension (SIWE), top up your execution wallet, and submit your subscription.
You can also create a subscription through Solidity using the OrallyPythiaSubscriptionsRegistry contract. Here's the contract's interface:
These examples should help you get started with using Pythia. With its robust features, Pythia offers great flexibility in automating transactions and retrieving real-time data, making it a vital tool for any decentralized application.