Read

Edit

History

Notify

Share

Analog

Analog is an omni-chain interoperability protocol built on top of the Substrate SDK's (Software Development Kits) Nominated (NPoS). This suite revolves around the NPoS-powered ledger called Timechain, offering tools for development and cross-chain communication in the ecosystem.[1][2]

Overview

Founded in 2021 by Victor Young, Analog is committed to transitioning from traditional algorithms to Proof-of-Time (PoT), with the aim of improving security, transparency, and inclusivity.[3] At its core, Analog is composed of three key components, Timechain, SDKs, and Unified API. The Timechain, a consensus-agnostic protocol, forms the bedrock of the ecosystem. It is maintained by decentralized , ensuring the integrity and security of cross-chain transactions. Complementing the Timechain are the SDKs, providing developers with user-friendly, plug-and-play tools. These SDKs connect to the Timechain, facilitating access to data and enabling cross-chain execution. Through the use of its Unified API, Analog aims to further streamline development, offering a single, accessible GraphQL endpoint for querying across Analog-supported chains.[4][5]

Analog Network monitors and interacts with other interconnected chains using a set of known as time . Each time node connects to an off-chain module known as a Chronicle Worker and a Connector. These components continuously scan other chains, transactions, event logs, and state alterations. Whenever a user or application seeks data from a connected chain, any time node on that chain can promptly relay the event to the Timechain. This triggers a consensus process based on a threshold signature scheme (TSS), demanding a supermajority (comprising over two-thirds of active time nodes) to endorse the transaction before it advances to the Timechain for further validation via the algorithm.[6]

Moreover, Analog focuses on empowering developers by employing its technology stack which includes developer-friendly Watch UI and SDK, called Analog Watch, a PostgreSQL database, and the accountability mechanisms of Timechain primitives. Developers are also able to add custom cross-chain security policies, ensuring flexibility and adaptability.[7]

Key Components

Nodes

Time Nodes

Chronicle Worker

The Chronicle Worker module implements threshold signature schemes (TSS) off-chain and collaborates with the Timechain Core's runtime. This module collectively maintains accounts on different connected chains.

Connector

Connectors are routine-based modules that allow time node operators to observe external chain states and report changes to the Analog Network. Connectors must run for all blockchains that Analog onboarded, and receive rewards, and transaction fees for their services.

Storage Nodes

Analog Network stores validated event data either in on-chain transactions or, for scalability and confidentiality, in off-chain storage. Storage nodes maintain this off-chain data, ensuring its integrity and availability. Users pay storage fees based on transaction size and storage nodes receive compensation from past event data transactions.

Sentinels

Special nodes on the Analog Network outside the time node network. Sentinels monitor gateway and connector signatures for fraudulent activities. If any fraudulent activity is detected, Sentinels can submit evidence (fraud proofs) to the Timechain for verification, potentially leading to punitive measures for the offending time node.

Architectural Components

Threshold Signature Schemes (TSS)

TSS in the Analog Network is an advanced signature scheme, based on the FROST protocol, which streamlines the signing process. It distributes signing power among a group of chronicle workers, requiring a minimum of t + 1 workers to produce a valid signature.
This TSS involves two key components:

  1. KEYGEN: A distributed key generation process that assigns public verification keys and signing keys to chronicle workers. Together, these keys form the secret key.
  2. KEYSIGN: A distributed signing algorithm that takes event data from external chains and the private input from chronicle workers to generate signatures.

To enhance scalability, the network divides chronicle workers into shards, each with a maximum of 20 workers. These shards coordinate the validation of transactions.

Key rotation is used to minimize malicious influence, ensuring security. Chronicle workers rotate keys within their shards after each epoch (every 7.2 hours), enhancing network resilience. Slashing mechanisms are in place to penalize non-compliance.

Smart Contracts

  • Gateway They act as intermediaries between on connected chains and application-specific contracts on Analog Network, enabling cross-chain communication.
  • Continuum These provide a unified interface residing on the Timechain, simplifying development and offering flexibility when interacting with external networks.[6]

Products

Analog Watch

Analog Watch, an integral component of the Analog Network, seeks to improve and simplify data accessibility in . It serves as a full-stack indexing protocol built upon the Timechain infrastructure, offering a decentralized and cryptographically secured solution for indexing data from listed [8][9]

Analog Watch Artifacts

At the center of Analog Watch lie two key artifacts for engaging with data from supported chains. The first artifact, known as "Collections," acts as a blueprint, guiding Analog Network nodes in the indexing of specific data from . These collections are accessible via GraphQL endpoints, where only relevant information from complex inputs is found, streamlining data retrieval. The second key component, "Views," allows for the creation of logic to query data from multiple collections, enhancing data aggregation capabilities.[10][11]
wiki

Internal Process

  1. Authentication and Session Keys: Users commence by undergoing an authentication process that involves connecting their wallet. Once successfully authenticated, they generate session keys (SSKs), serving as digital keys for accessing Analog Watch.
  2. Creating Collections: Collections act as filters, specifying the particular data from that a user is interested in. Users create a collection schema outlining their data preferences.
  3. Generating a Call Extrinsic: Subsequent to creating a collection schema, Analog Watch undertakes the technical aspects, producing a "Call Extrinsic" comprising instructions for the Timechain network.
  4. Timechain and Task Scheduler: The Timechain network, comprised of time nodes and various modules, enters the scene. The Task Metadata Pallet handles the storage of metadata associated with the collection off-chain in a PostgreSQL database.
  5. Task Schedule and Shard: Tasks are scheduled and forwarded to designated shards through the Task Schedule Pallet. Shards represent smaller networks within the Timechain. Task processing follows a "first-come, first-serve" principle.
  6. Chronicle Workers and Task Execution: Within the selected shard, Chronicle Workers execute the tasks. They interact with external blockchain networks through Connectors.
  7. Data Aggregation and Signatures: Once data is retrieved from external , each Chronicle Worker transmits it to a lead Chronicle Worker (Collector) in the shard. The Collector consolidates signatures from multiple Chronicle Workers as part of a secure, multi-party computation process.
  8. Threshold Signature Scheme (TSS) Proof: In order to ensure data integrity, a requisite number of Chronicle Workers must endorse the retrieved data. When this supermajority is reached, the Collector generates a TSS proof.
  9. Timechain Consensus: The TSS proof is then submitted to the Timechain, where a consensus mechanism validates its authenticity. This verification process ensures that the data remains untampered with.
  10. Publication: With the data now verified, it is published to the Timechain. This publication includes metadata and proof, while the actual data and signatures are stored off-chain, combining efficiency and security.
  11. Interacting with Artifacts: Users are subsequently able to engage with the artifacts they've created. This interaction is facilitated through the utilization of the Watch SDK or Watch UI. These tools offer a straightforward approach to accessing and utilizing processed data across various applications.[12]

Watch UI

Watch UI, a hosted service, leverages the capabilities of Analog Network to provide users with a platform for publishing and exploring collections and views. This interface simplifies interactions with data, offering features such as API key generation, deployment of collections and views, and exploration of and associated data.[13]

Key Features of Watch UI

  • Simplified Functionality: Users can deploy and query collections and views effortlessly, making data from various supported chains more accessible.
  • Robust Infrastructure: Watch UI eliminates the need for users to set up their own servers and manage complex code, providing access to scalable data.
  • Facilitated DApp Deployment: The platform enables the creation of powerful without the complexities of running nodes or managing indexing solutions.
  • Comprehensive Access: Watch UI grants users a comprehensive view of published , collections, and views through an intuitive interface.[13]

How Watch UI Works

To utilize Watch UI effectively, users are required to connect their and generate API keys, which serve as authentication and authorization mechanisms. Subsequently, they can deploy collections, which act as templates for data retrieval. Deploying views allows for data aggregation from multiple collections, with the underlying process involving the validation of events, mapping handlers, and data submission to the Timechain for metadata representation.[13]
wiki

Watch SDK

The Watch SDK is a toolkit designed to simplify and optimize the deployment and querying of on-chain data from supported chains. Developers can use this toolkit to access and query data via a unified GraphQL endpoint, overcoming common challenges associated with data operations.[14]

Key Features of Watch SDK

  • Integrated Authentication and Permissions: The Timegraph protocol incorporates permissions, ensuring data security through wallet authentication and role-based access control (RBAC).
  • Unified GraphQL Endpoint: Unlike other data providers with multiple access endpoints, the Timegraph API offers a single, unified GraphQL endpoint for streamlined data querying across various chains, simplifying the development process.

Timechain

Timechain stands as a ledger powered by the Nominated Proof-of-Stake (NPoS) consensus algorithm which is in the works of being replaced by Proof-of-Time (PoT). The Timechain serves as an accountability layer for published collections or views. Anyone can leverage the stored hashes on the Timechain to provide verifiable evidence of the authenticity and immutability of the queried data. It also embodies several vital responsibilities, including its role as a public and auditable ledger for user interaction with the time node network. It also serves as a foundation for constructing diverse , such as Analog Watch, contributing to enhanced security and governance infrastructure, while enabling the execution of Continuum .[15]

Process

When a new block is added to the Timechain, Analog Watch understands what data it needs from the connected chain and how to organize it using collections. If users have complex requirements or need to combine multiple collections, they can create a single entity. This entity can then be queried just like a regular collection. Once a collection is published, its processed data is stored in a PostgreSQL database, ready for users and applications to access through a GraphQL endpoint. Validation and consensus processes at two levels ensure the integrity of blockchain data:[15]

  • Threshold Cryptography: A threshold signature schemes (TSS) module, operating in an off-chain mode on each validator (Chronicle Worker), enables nodes to vouch for the authenticity of blockchain data by affixing their signatures. In the event a supermajority of chronicle workers attest to data validity, the lead node, serving as a coordinator node for a specific group of chronicle workers (shard), consolidates the signatures and broadcasts the data as a single payload to the time nodes.
  • Timechain Consensus: Time nodes partake in a consensus protocol at the node level, leading to an agreement on the validity of the broadcasted payload. Upon consensus achievement, a hash ID linked to the collection becomes appended to the Timechain. The hash ID operates as a testament or proof of the published collection or view, with the corresponding data for these artifacts residing off-chain. Any individual can generate evidence of stored data and permissions, subsequently posting them to the Timechain to determine data validity and availability.

GMP SDK

At the core of the Analog platform's interoperability lies the Generic Message Passing (GMP) protocol. This protocol operates atop a permissionless network of time nodes, providing routing and validation services. GMP fundamentally transforms the way function within a multi-chain ecosystem. Developers of can utilize the GMP protocol to construct cross-chain applications that require application logic, shared states, and efficient liquidity utilization. With the GMP protocol, users of the Analog Network can benefit from different ecosystems while using a simplified and single-transaction user experience (UX), eliminating the need for complex manual interactions.[6]

GMP Architecture

The architecture of the GMP protocol is composed of several essential components, encompassing both on-chain and off-chain environments.

On-Chain Components

  • Gateway : These contracts are observed by time nodes (through Chronicle Workers) and are pivotal in facilitating cross-chain communication. The network deploys one for each connected chain, managed by time nodes.
  • Gas Receiver Services (GRS) : Deployed on the source chain, this contract manages the payment of transaction fees, allowing users/applications to pay transactions as a unified bundle in the source chain's native token.
  • **Security **These contracts verify that cross-chain messages delivered to the destination chain were appropriately signed by the required number of chronicle workers from the source chain. developers can optionally specify the shard, or a subset of nodes, for their applications.
  • Time Nodes (): On-chain nodes responsible for voting on proposed blocks to the Timechain, with voting power proportional to the $ANLOG tokens. These nodes also relay messages across the network, serving as Byzantine Fault Tolerant (BFT) notaries validating blocks added to the Timechain.

Off-Chain Components

  • Time Nodes (Blockchain ): Each time node performs two routines off-chain: Chronicle Worker and Connectors. Chronicle Workers participate in Threshold Signature Schemes (TSS) consensus for state changes in external chains, updating states on connected chains. Connectors fetch validated transactions/data and generate signed payloads transmitted to time nodes for verification.
  • Sentinels: Storage nodes, full nodes storing Timechain data, receive compensation from past event data transactions. Users cover transaction costs, including storage fees.

[6]

Using GMP

To operationalize the GMP protocol, developers employ gateway on both the source and destination chains. Analog Network streamlines this functionality, eliminating the need for manual implementation. Developers can initiate cross-chain applications with ease, benefiting users on any connected chain through straightforward integration.[6]

In a nutshell, the GMP protocol allows an application on the source chain (Chain X) to transmit a message to the destination chain (Chain Y). The process involves user/application interaction with the source chain's gateway smart contract, transaction fee prepayment, conversion of fees, authentication, TSS-based consensus, and validation on the Timechain.[6]
wiki

Use Cases

  • Cross-chain : Analog GMP facilitates seamless cross-chain trading, enabling users to access liquidity from different without relying on intermediate tokens or centralized exchanges.
  • Lending and Borrowing Optimization: Analog GMP allows users to utilize assets on one chain as collateral for protocols on other supported , streamlining the process and optimizing returns without manual intervention.
  • Cross-chain Protocols: Users can deploy assets across multiple protocols on various networks through Analog GMP, enhancing liquidity provision and accessibility.
  • Cross-chain Marketplaces: Analog GMP enables secure trading of across different while maintaining their status and ownership, expanding their utility in various use cases.
  • Cross-chain : Analog GMP facilitates inclusive governance by allowing token holders on different chains to participate in the decision-making processes of protocols, fostering a diverse framework.

[6][19]

Timegraph SDK

The Timegraph SDK serves as a unifying platform for all data striving to streamline the process of accessing data at scale. It offers developer SDKs that are intended to simplify their interactions with the Timechain, facilitate access to data, and enable the execution of across different networks, fostering interoperability within the ecosystem.[16]

The Timegraph API, made accessible via the Timegraph SDK, introduces a user-friendly solution, granting users and developers straightforward access to data from any connected through an intuitive interface. In addition to the Timegraph SDK, Analog also provides the Timechain SDK and Connector SDK, essential tools that empower time node operators to maintain the network.[6]

Analog Partners Program

The Analog Partners Program is an initiative designed to identify, support, and mentor cross-chain projects that utilize Timechain as their Layer-0 messaging protocol. By harnessing the liquidity, assets, and user base across various Layer-1 and ecosystems, Analog aims to foster the development of more robust and powerful through cross-chain calls.

Program Qualifications

Builders interested in developing applications on top of the Timechain are eligible to participate in this program. To qualify, users must have a set of smart contracts or runtimes within either EVM or Substrate ecosystems. Participants do not need to have a specific high-level use case in mind; Analog provides assistance in identifying potential applications. [17]

Core Benefits

Participants in the Analog Launch Partners Program can access a range of benefits tailored to their needs:

  • Locked $ANLOG Token Grant: Participants receive a token grant based on specific project milestones, typically ranging from 0.05% to 0.25% of the total token supply per project. Staking incentives are also available for these locked tokens.
  • Dedicated Support: Program participants receive dedicated support, including technical assistance, business development guidance, and marketing support.
  • Network Access: Participants gain access to Analog's network of Layer-1 and partners actively collaborating on cross-chain projects.
  • Investor Connections: The program provides introductions to Analog's extensive network of investors interested in cross-chain opportunities, with over 400 investors currently engaged.
  • Co-Marketing Opportunities: Collaboration opportunities for co-marketing exist, including features on Analog's blog, website, Twitter spaces, and other promotional channels.[17]

Analog Grant Program

The Analog Grant Program was established to provide support to promising projects and community contributors, to foster the growth of the Analog ecosystem. This program offers funding, with rewards extending up to 50,000 USD, available in either or Analog tokens, and exceptional cases may receive more substantial support.[18]

Grant Types

There are three distinct grant categories under the Analog Grant Program:

  • Application Grants: These grants are intended for builders who integrate existing and/or runtimes from different networks using Analog. Additionally, applicants who utilize significant portions of their application code and infrastructure to query data via Analog Watch are eligible for these grants.
  • Infrastructure Grants: Builders who undertake the development of essential infrastructure components for the Analog ecosystem are eligible for infrastructure grants. This category encompasses projects related to block explorers, smart contracting systems, new connector integrations, validator maintenance tools, and more.
  • Community Grants: Community members who actively contribute to the Analog community and promote Analog's technology through activities such as hackathons, events, and marketing initiatives can apply for community grants.

Award Criteria

The specific grant amount awarded is determined based on the scope and merits of each project. All grants follow a milestone-based structure, with the possibility of multiple milestones within a single grant. Some funding may be allocated before the project commencement, depending on the project's nature, primarily for purposes like human resources or event hosting. However, the majority of funds are disbursed upon successful milestone completion. Each milestone's significance is evaluated, and its weight may vary depending on its nature.

Applications and Selection Process

The grant application and selection process is as follows:

  1. Submission of Application: Applicants submit their grant proposals.
  2. Review and Follow-up Conference: For applications requesting 10,000 USD or more, a follow-up conference call may be arranged to discuss grant details. Applications seeking less than 10,000 USD may not require a follow-up call.
  3. Acceptance and Offer: If the grant application successfully passes the review stage and is accepted, Analog extends a grant offer that includes relevant milestones and completion criteria. Once mutually agreed upon, both parties sign the grant agreement.
  4. Milestone Evaluation: After the applicant completes the milestones, the Analog team assesses adherence to the grant's terms and allocates funding accordingly.
  5. Participating in the Analog Grant Program offers builders and community contributors valuable resources to advance their projects and contribute to the Analog ecosystem's development.[18]
See something wrong? Report to us.

Analog

Commit Info

Edited By

0xaC0f4c152e3E61A6a29Db9ffED725fc72E47c7A4
0xaC...c7A4

Edited On

April 30, 2024

Reason for edit:

Added three (3) social links

Feedback

Average Rating

Based on over 4 ratings

How was your experience?

Give this wiki a quick rating to let us know!

Twitter Timeline

Loading...

Loading

Media

REFERENCES