threefoldtech / tfchain

Threefold Chain.
Apache License 2.0
15 stars 11 forks source link
blockchain rust substrate

TFchain · Build & Tests

The ultimate solution for a more fair, sustainable, and accessible Internet for everyone.

Overview

TFchain is the official implementation of the ThreeFold blockchain, which is the ledger technology behind the ThreeFold Grid.

TFchain serves as a digitally distributed, decentralized, public ledger that tracks the storage and computing resources of ZOS nodes running on The ThreeFold Grid, manages the smart contracts that enable users to rent and use these resources and provides the incentive layer which ensures that the nodes are rewarded for their contributions to the network.

The ThreeFold Grid is a decentralized network of nodes that provide cloud resources without intermediaries. The nodes are operated by independent farmers who are incentivized by the ThreeFold Token (TFT). TFT is a utility token that is used to exchange resources on the network and to build and run digital workloads, also is used for paying transaction fees, staking, governance, and smart contract execution.

TFchain is based on Substrate, a framework for building blockchains in Rust. It has several custom pallets that implement its features.

TFchain also supports cross-chain transfers with other blockchains, such as Bitcoin, Binance Smart Chain and Stellar.

Code structure

The project consists of several components, each with a specific purpose and functionality.

Runtime Architecture

The TFchain Runtime is built using FRAME and consists of pallets from substrate and pallet/

From substrate:

The following pallets are stored in pallets/. They are designed for TFchain's specific requirements:

Docs

see docs for more information on how to work with TFchain.

Bridge

See bridge for more information on the bridge between TFchain TFT and Stellar TFT.

Scripts

See scripts for more information on how to use the scripts.

Deployed instances

Commit messages

In this repository conventional commits are used.

Releases

See releases for more information on how to create or validate a release.