Managing your Data Sources
Data Sources are subgraphs used by Tide to gather activity data from tracked protocols and convert them to XP via Point Campaigns.
You can view and manage your project Data Sources from the dedicated page in your project area.
How to create a Data Source
Select your template
Choose the template best suited for the activity you want to track (currently, "Swaps" is the only available template, but more are coming soon)
Get your subgraph ready and paste your API link
Data sources currently require a subgraph to fetch the activity info. The subgraph schema should match the selected template requirements. For example, the "Swaps" template requires the subgraph to save the activity data into one Swap
entity defined as follows:
Select the data source chain
You can then select which blockchain will the actions be associated to and a name to identify your Data Source.
Use your Data Sources:
You're now ready to use the newly created data source to launch a Point Campaign, for more info, you can refer to the dedicated section.
Last updated