info_tfgrid/collections/manual/documentation/developers/tfchain/introduction.md
2024-04-15 17:42:25 +00:00

2.4 KiB

ThreeFold Chain

Table of Contents


Introduction

ThreeFold blockchain (aka TFChain) serves as a registry for Nodes, Farms, Digital Twins and Smart Contracts. It is the backbone of ZOS and other components.

Deployed instances

Create a TFChain twin

A twin is a unique identifier linked to a specific account on a given TFChain network. Actually there are 2 ways to create a twin:

  • With the Dashboard
    • a twin is automatically generated while creating a TFChain account
  • With the TFConnect app
    • a twin is automatically generated while creating a farm (in this case the twin will be created on mainnet)

Get your twin ID

One can retrieve the twin ID associated to his account going to Developer -> Chain state -> tfgridModule -> twinIdByAccountID().

service_contract_twin_from_account