Skip to main content
Skip to main content
Polkadot logo

Developing Analog's Timechain: Why we chose Polkadot SDK

Discover why Analog chose Polkadot SDK to power its Timechain, leveraging modularity, security, and forkless upgrades to create a seamless interoperability hub for multichain and cross-chain dapp ecosystems.

By Eric WangDecember 30, 2024

Analog is a one-stop interoperability hub, offering a suite of protocols that address native dapp developments in multi-chain and cross-chain environments. Analog’s foundational component is the Timechain, a custom-built blockchain utilizing Polkadot SDK. The Timechain serves as a fundamental accountability layer for all network operations.

In this post, we explain why we used Polkadot SDK instead of other development frameworks.

Background and context

Exactly two years ago, Analog proposed the Timechain, an interoperability-focused blockchain network designed to meet the native dapp development requirements in multi-chain and cross-chain ecosystems. Victor Young, Co-Founder and CEO of Analog, shared his belief that no single blockchain can solve everything. Instead, to unlock opportunities for a wide range of solutions in Web3, multiple siloed blockchains must be able to interact meaningfully with one another through interoperability.

Focusing on security, chain-agnosticism, and an all-in-one interoperability network, the Timechain would serve as a ledger for all the ecosystem activities—essentially acting as an accountability layer. Timechain is designed as a sovereign blockchain enabling dapps to connect to any other dapp or blockchain seamlessly and securely.

Obviously, selecting an appropriate technology framework for building the Timechain was our top priority. We understood that even slight differences in the problem we were solving could significantly impact the efficiency of the solution we intended to build, with the Timechain serving as an all-in-one interoperability hub being one key consideration.

Blockchain SDK considerations

Graphic comparing Polkadot and Cosmos blockchain ecosystems with categories such as future compatibility, customization, agile governance, and programming language, highlighting Polkadot's advantages in these areas.

From the start, we didn’t choose to build the Timechain from scratch because it would have been too complex and time-consuming. Instead, we considered using a pre-built open-source SDK. After carefully evaluating the available blockchain development frameworks, the choice was narrowed down to Polkadot SDK versus Cosmos SDK.

If you had been closely following the interoperability space at the time, you would have noticed that many similar projects, like Axelar and Zetachain, were being developed on top of Cosmos SDK. Cosmos SDK would have been the logical starting point for building the Timechain, especially since some of these protocols had already launched their testnets.

However, a few factors stopped us from pursuing this route after comparing Cosmos versus Polkadot SDKs. More specifically:

  1. Did Golang in Cosmos SDK provide a real advantage over Rust language in Polkadot SDK?
  2. Which framework provided better libraries and tooling for implementing a custom blockchain like the Timechain?
  3. Which framework had better future compatibility and performance for the state transitions?
  4. Which framework was more agile in terms of onchain governance and upgrades?

Why Polkadot SDK?

Early on in the development, we faced the challenge of designing a blockchain that was fully compatible with the Threshold Signature Scheme (TSS) while also utilizing its underlying Byzantine Fault Tolerant (BFT) capabilities. Finding different TSS design decisions, such as whether TSS nodes should function as onchain validators or offchain workers, proved particularly difficult.

Analog successfully integrated a TSS module in the Timechain by utilizing the concept of off-chain workers within the Polkadot SDK. This module allows the Timechain to interact seamlessly with external blockchains. Moreover, due to Polkadot's modular consensus layer, Analog was able to build an NPoS consensus framework compatible with TSS.

Based on these design decisions, we came up with different custom pallets. To start with, Analog implemented the shards pallet, which keeps track of the shard status (e.g., offline, online, or committed). This pallet hosts the logic of the Chronicle Nodes, which are off-chain validators that attest to external transactions.

Analog also developed other custom pallets, including:

  • Elections pallet: Manages unassigned members and creates shards if enough members are online.
  • Networks pallet: Facilitates the creation of new networks (i.e., blockchains).
  • Task pallet: Provides several extrinsic for managing various operations.

Beyond enabling the TSS functionality, other reasons we found the Polkdat SDK helpful include:

  • Security: While both Rust and Go are modern, high-performance languages, Rust’s robust memory management capabilities provide a greater degree of security.
  • Forkless upgrades: Polkadot SDK allows us to update the runtime logic without creating a hard fork. This is possible because it includes the runtime WebAssembly (WASM) blob as a component in the blockchain’s runtime state.
  • Future compatibility and performance: Because WASM is at the core of all the state transition functions in Polkadot SDK, which is stored on-chain, we are able to build a future-proof Timechain.

Takeaways

Building a blockchain from scratch can be complex, time-consuming, and resource-intensive. Polkadot SDK is a popular and battle-tested framework that has allowed Analog to build a future-proof blockchain. Thanks to the separation of the client (WASM executor) and the blockchain runtime (state transition function), as well as the modularity of the Polkadot SDK pallets, Analog has been able to build an interoperable protocol that addresses developers’ needs in multi-chain and cross-chain environments.

About Eric Wang

Eric oversees go-to-market and BD at Analog. Previously, he was the head of growth at Parity Technologies and a General Partner at ROK Capital. He is a Stanford PhD dropout and has a MS from Stanford and BS from UCLA.

From the blog

Security isn’t optional: What builders are factoring into chain choice

Security is no longer an afterthought in blockchain development. Builders are looking beyond incentives to long-term infrastructure stability. Here's why resiliency is critical and how the Polkadot Assurance Legion is helping developers launch safely.

How to set up a Polkadot wallet: A step-by-step guide

New to Polkadot? This beginner-friendly guide walks you through how to set up a Polkadot-compatible wallet, from choosing the right option to securing your seed phrase and getting started with staking and managing your DOT.

What is a DAO? How decentralized communities are reshaping governance

DAOs are changing how communities organize online. Learn what a DAO is, how decentralized governance works, the different types of DAOs, and how you can participate in blockchain-powered decision-making.

Governance, side by side: Polkadot, Ethereum, and NEAR

Decentralized Mic pulled together experts from leading experts from Polkadot, Ethereum, and NEAR to discuss decentralized decision-making approaches, address participation challenges, and explore the potential impact of AI on future governance models.

Where real-world value meets access: How Polkadot powers RWA and DePIN

Polkadot is making real-world assets and infrastructure accessible through tokenization, unlocking new opportunities in finance and energy for everyday participants and communities.

Understanding DeFi: A starter guide to decentralized finance

DeFi transforms traditional finance by replacing banks and brokers with smart contracts on blockchain networks. Discover how dapps enable lending, trading, and earning interest without intermediaries—and how Polkadot’s interoperability brings these tools together for a connected financial future.

The evolution of digital ownership: How tokenization is transforming gaming, music, and beyond

Tokenization is redefining digital ownership in gaming and music, enabling players and artists to control their assets. With blockchain, NFTs, and Polkadot’s interoperability, digital economies are becoming more decentralized, secure, and accessible.

Web3 funding playbook for builders, creators, and founders

Discover funding opportunities in the Polkadot ecosystem, from grants and bounties to venture capital and community-driven fundraising. Explore pathways for builders at every stage, with insights on securing support for DeFi, DePIN, AI, gaming, and real-world asset tokenization.

From speculation to sustainability: Top ETHDenver takeaways

ETHDenver 2025 highlighted Web3’s shift toward sustainability, emphasizing talent development, decentralized governance, and aligned incentives. Polkadot’s insights reinforced the industry’s move beyond speculation toward long-term, community-driven growth.

Build, Play, Connect: Join Polkadot at ETHDenver 2025

Get ready for ETHDenver 2025 with Polkadot! Join Polkadot for keynotes, hacker houses & parties, immersive booth experiences, and hands-on workshops. Whether you’re building, playing, or connecting, there’s something for everyone at one of blockchain’s biggest events.

The most impactful blockchain use cases in 2025 and why Polkadot is leading the way

Explore the top blockchain trends of 2025, from decentralized AI and tokenized assets to enterprise adoption and Web3 gaming. Learn how projects powered by Polkadot are shaping the future of finance, infrastructure, and digital identity.

Decentralization’s ripple effect: How Web3 is rewriting digital sovereignty

Centralized platforms dictate access, control data, and pose security risks, leaving individuals without control over their digital presence. Decentralization offers a resilient alternative, paving the way to a digitally sovereign future.