The ThreeFold Blockchain

The third release of the ThreeFold Grid represents a major step in the decentralization of the People’s Internet with the Smart Contract for IT coming to life on the ThreeFold Blockchain (aka “TF Chain”).

The ThreeFold BlockchainPicture

“This article was originally published by Hannah Cordes, a former member of ThreeFold Foundation.”

The third release of the ThreeFold Grid represents a major step in the decentralization of the People’s Internet with the Smart Contract for IT coming to life on the ThreeFold Blockchain (aka “TF Chain”). Built on the Substrate framework, TF Chain represents the layer-0 for all current and future technologies to provision decentralized Internet capacity. 

But what is Substrate to begin with? And what exactly does our TF Chain do?

🔗What is TF Chain and what is Substrate?

TF Chain is the universal smart contract layer on the ThreeFold Grid. It’s an application-specific blockchain customized for the operation of a single application – provisioning decentralized compute, storage and network capacity. 

Substrate is a blockchain-building framework from Parity that allows developers to simply create future-proof solo blockchains or parachains for any use case. Parity was founded by Ethereum’s co-founder and first CTO Gavin Wood in 2015, and went on to develop Substrate to power a multichain, interoperable and decentralized Internet.

🔗Why did we choose Substrate for our TF Chain?

Substrate brings clear benefits to TF Chain in relation to its frameworks for developers, its interoperability with other blockchain ecosystems and its huge community. More than 150 projects from NFTs to DeFi are already building on it.  

By providing a solid, mature and secure layer for custom blockchains, Substrate is built for adoption. The blockchain framework was built with the programming language Rust and is modular by design. Choosing Substrate allowed our developer team to leverage great blockchain constructs and efficiently build TF Chain instead of re-inventing the wheel. 

Its flexible, modular and composable architecture enables our team to focus on what matters the most – the unique demands of ThreeFold Grid. For example, we’ve built  a Grid module with specific functionalities for farms and nodes. Just like a chef can invent a new recipe and add it to a menu, Substrate allows our developers to build and add as many custom functionalities to TF Chain as we’d like, in a fully decentralized way. 

A major benefit that comes with TF Chain being built on Substrate is the native compatibility with the Polkadot ecosystem, opening up the opportunity for ThreeFold to become a parachain on the Polkadot network and seamlessly bridging to other Substrate-based chains in the future.

🔗What’s the purpose of TF Chain?

For ThreeFold to be a truly decentralized peer-to-peer Internet infrastructure, people should be able to use Internet infrastructures from anywhere without any intermediaries like AWS. TF Chain serves exactly that purpose. 

It orchestrates the provisioning of compute, storage and network on the ThreeFold Grid via Zero-OS, removing all forms of intermediaries present in today’s centralized IT infrastructures. Put simply, TF Chain allows people to provide and use cloud resources in a 100% decentralized way. 

🔗What does TF Chain do?

TF Chain is responsible for achieving consensus on all Internet capacity transactions on the ThreeFold Grid and to store them in a historical record. This prevents users from “double spending” their ThreeFold Tokens and ensures the correct execution of Internet capacity provisioning via smart contracts, while also protecting the network from potential attacks. 

An exciting feature that comes with TF Chain 3.0 is a totally new peer-to-peer billing framework for Internet capacity provisioning and workload deployment. This module allows for all functionalities of the ThreeFold Grid to be provisioned peer-to-peer between users and farmers. Therefore, the ThreeFold Token now also lives on the Polkadot network, allowing it to bridge back and forth from the Stellar network and potentially from other chains in the future.

While TF Chain builds on the Substrate framework, most of its functionalities are custom-built to fit the specific needs of the ThreeFold Grid – from Internet capacity provisioning, workload deployments, and payment and billing processes, to digital twin creation and much more. By executing all these actions via smart contracts in an automated and decentralized way, the activity on the ThreeFold Grid is always secured by blockchain technology and available to other users for open collaboration. 

Farms can now be registered on our new TF Chain Portal!

🔗The Future

While Internet capacity provisioning and workload deployments are already executed via TF Chain, the minting of TFT according to the Proof-of-Capacity algorithm remains on the Stellar blockchain for now.

Building our own application-specific blockchain represents a major step towards decentralizing the ThreeFold Grid and ecosystem – a massive thank you to our developer team for this great achievement! 🙏

Want to dive deeper? We invite you to:

  • Learn more about how smart contracts work on TF Chain 3.0 here.
  • Join the ThreeFold Grid 3.0 testnet conversations here.
  • Check our roadmap here.