How to utilize Synternet Data Layer (DL)?
The Synternet Data Layer (DL) can be understood as a pub-sub (publish-subscribe) concept that enables real-time data communication and distribution within a decentralized network. In the pub-sub model, there are two main components: publishers and subscribers.
Subscribers express interest in specific topics and receive data updates from publishers whenever new information is available. They are decoupled from the publishers and do not need to know where the data is coming from; they simply subscribe to the topics they are interested in.
Publishers are the sources of data, such as blockchain transactions or other relevant information. They publish this data to specific topics (eg. synternet.ethereum.tx
) without knowing who the subscribers are. They are decoupled from the subscribers and do not need to have direct communication with them.
In the context of the Synternet Data Layer (DL), the blockchains act as the source of data for publishers, continuously generating new transactions and events. Synternet DL provides a mechanism for developers to subscribe to specific data streams based on their needs and interests. This enables real-time access to blockchain data without the need to interact directly with the blockchain itself.
Subscribing
Interacting with blockchain data within the Synternet Data Layer (DL) is a seamless process that empowers developers to access, analyze, and utilize valuable information from various blockchains and other data sources. Here's a step-by-step guide on how you can interact with real-time data using the Synternet DL:
Choose Your Data Stream: Start by selecting the specific data stream that aligns with your dApp's requirements. Data streams represent real-time flows of blockchain data, such as transactional data, smart contract events, token transfers, and other relevant activities. You can view some of the available streams in our visual Showcase App, or the entire offering in the Developer Portal.
Subscribe to Data Streams: Once you've identified the relevant data streams, subscribe to them to receive continuous and up-to-date information. Subscribing allows you to stay connected with the latest blockchain data relevant to your application. It can be done in our Developer Portal.
Access Raw Blockchain Transactions: Data streams provide raw blockchain transactions as they occur, giving you direct access to the core data flowing through the blockchain. This raw data serves as a valuable resource for your dApp's operations.
Manipulate and Transform Data: Leverage the flexibility of the DL to manipulate and transform data as needed. This can include extracting specific information, decoding, filtering data, or combining data from multiple sources to derive valuable insights.
Utilize Data for Your dApp: Once you've processed and transformed the data, integrate it into your application. Utilize the blockchain data to enhance user experiences, provide real-time information, trigger actions, or facilitate various functionalities within your dApp.
Publishing
Publishing data streams within the Synternet Data Layer (DL) is an exciting feature that empowers blockchains, foundations, validator groups or individual developers to create their own data streams and become publishers. As a publisher, you have the freedom to shape your data streams according to your specific requirements and preferences. This means you can transform raw blockchain data into easily understandable and human-readable messages, making it accessible and valuable to others, as a secondary, enhanced data stream.
By becoming a publisher, you open up opportunities for other developers and applications to subscribe to your data streams. Subscribers can leverage your data to enhance their own dApps, gain valuable insights, trigger actions, and foster innovation in their projects.
The ability to create and publish data streams introduces the concept of a data market within the Synternet ecosystem. This data market will facilitate the exchange of valuable information, fostering collaboration and creativity among developers. With this feature, we aim to empower a thriving data ecosystem where developers can contribute, share, and utilize data streams to drive the growth and success of their projects, without becoming burdened by high entry fees imposed by the centralised providers.
Quick Start
Get up and running quickly with the simplest way to start using the Synternet Data Layer. Follow our step-by-step guide to begin harnessing the power of real-time data streams for your applications.
Learn
Data Layer
The Decentralized Real-Time Data Layer Solution is a cutting-edge data architecture designed to enable efficient and autonomous access to real-time data from multiple blockchains. Built on the principles of the Data Layer framework, this solution revolutionizes the way organizations consume and utilize blockchain data by decentralizing ownership and governance while promoting self-serve access.
Terminology
In this section, you'll find a comprehensive yet digestible list of definitions for the key terms used in the Synternet Data Layer. Familiarize yourself with the terminologies to enhance your understanding of the platform.
Data Streams
Discover how to subscribe to, interact with, and even publish your own data streams using the Synternet Data Layer. Learn how to access real-time and reliable data streams for your dApps.
Build
Developer Portal
Get acquainted with our user-friendly Developer Portal, where you can easily interact with data streams. Learn how to add, edit, and delete your dApps, preview and subscribe to new data streams, and gain insights into authentication and faucet usage.
SDKs
Choose from a variety of available programming languages to build your backend with ease. Our SDKs support Go, Python, JavaScript, Web Sockets, Rust, and more. Feel free to customize and create your unique way of interacting with our Data Streams - we're open sourcing everything for you.
Tutorials
Find the latest and most inspiring tutorials for your dApp creations. Stay updated with our continuously growing collection of tutorials to unleash the full potential of the Synternet Data Layer.
Builders Programme
Discover the Builders Programme and explore the possibilities it offers. Learn how to apply for the programme and get involved in our vibrant community of builders and developers.