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

Polkadot Ecosystem Ignites 2025: A Year of Unprecedented Decentralization, DeFi Breakthroughs, and Global Builder Momentum

A quarter-by-quarter recap of Polkadot’s 2025 milestones, from record-breaking decentralization and DeFi growth to Polkadot 2.0 and global builder momentum.

Proof of Personhood: How Polkadot proves you're real without KYC

Proof of personhood lets you prove you're a unique human without giving up privacy. Polkadot's Project Individuality uses tattoos and video games to fight bots and enable fair airdrops for millions.

Pudgy Party: The Web3 game that hides the blockchain

Pudgy Party hit 900,000 downloads in six weeks by hiding the blockchain entirely. Built on Mythos Chain, players get custodial wallets and zero gas fees without realizing it. The game proves Web3 gaming works when blockchain infrastructure becomes invisible.

Polkadot at TechCrunch Disrupt 2025: The only blockchain in the room

Polkadot showed up at TechCrunch Disrupt 2025 as the only blockchain sponsor. With nearly 10,000 booth visitors and strong coordination across ecosystem teams, the event proved valuable for positioning Polkadot in Web2 conversations.

Why most blockchains can't handle AI (and what changes that)

Most blockchains can't handle AI's computational demands. High costs, limited speed, and storage constraints require purpose-built modular infrastructure instead.

Onboarding 21,000 users with Nova Shots: What we learned & how we move forward

How do you bring thousands of esports fans onchain without asking them to buy anything first? At three BLAST Counter-Strike events, Nova Wallet onboarded 21,000 new users through free interactive gameplay, processing 2.8 million transfers on Polkadot.

Meet the first cohort: The 5 teams selected for the DeFi Builders Program

Velocity Labs announces 5 teams selected for the DeFi Builders Program Cohort 1, building innovative financial applications on Polkadot Hub.

5 tech outages that prove decentralization can't wait

From AWS to CrowdStrike, major outages are increasing. Discover why centralized infrastructure keeps failing and how decentralization offers a solution.

Real World Assets on Polkadot: Your comprehensive guide to RWA

Real-World Assets bring physical value onto blockchain. Learn what RWAs are, how tokenization works, and why Polkadot is best for RWA projects.

Q3 2025 Polkadot DAO recap: Supply cap, treasury decisions & what's next

Here's what happened in Polkadot governance during Q3 2025: a permanent supply cap, millions in treasury funding decisions, and notable proposal rejections that exposed growing pains in how the DAO evaluates non-technical work.

Building AI on Polkadot: Why centralized compute is the wrong foundation

Build AI on Polkadot with verifiable data, cryptographic privacy, and native interoperability. 90% cost savings, no vendor lock-in, production-ready.

What Does Web3 Music Success Actually Look Like?

The Decentralized Mic brought together builders and investors actively shaping the future of Web3 music to discuss what's working, what's broken, and where the industry is headed next.

xs