> For the complete documentation index, see [llms.txt](https://totochain.gitbook.io/totochain/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://totochain.gitbook.io/totochain/toto-chain-faq/basic-working-of-the-toto-chain.md).

# Basic Working of the Toto Chain

## How does the Toto Chain differ from other blockchains in terms of design and functionality?

* **Unique Combination of Frameworks**:
  * Toto Chain uses a **hybrid architecture combining Substrate and Ethereum components**, enabling both advanced customization and compatibility with existing ecosystems​.
* **Validator Selection and Rewards**:
  * A custom **validator selection process** selects 11 block producers every hour from a pool of candidates. Validators earn rewards based on performance and are penalized for being offline​.
  * Rewards are distributed in the form of "POTENTIAL," which has a time-limited utility, adding a gamified economic layer to incentivize active participation.
* **Accessibility and Incentives**:
  * Unlike many blockchains, there is no staking or economic barrier to entry for becoming a node operator or block producer, allowing easier onboarding.
* **Reward System with Fractional NFTs**:
  * Users and block producers earn **fractional NFTs ("puzzle pieces")**, which can be combined into full NFTs for additional rewards. These mechanisms encourage engagement and chain stability​.
* **Governance and Upgradability**:
  * The chain supports **forkless upgrades** for runtime changes via a governance process, ensuring continuous evolution without network disruptions.

***

## What consensus mechanism does the Toto Chain use, and how does it work?

* **Consensus Mechanism**:
  * **Proof of Pulse** is a custom consensus mechanism that governs **validator selection, block building, and finality**​.
* **How It Works**:
  * Validators are selected every hour, and block production occurs with a target time of 3 seconds per block. If validators are offline, this time can increase, up to 30 minutes in extreme cases​.
  * GRANDPA ensures finality by allowing validators to vote on blocks, ensuring the network agrees on the most recent valid chain.
* **Offline Detection**:
  * Offline validators are penalized, requiring them to re-stake their session keys to rejoin the pool. The chain is exploring a "heartbeat mechanism" for more efficient offline detection​.

***

## How does the chain leverage Substrate’s architecture for scalability and interoperability?

* **Scalability**:
  * Substrate provides modular components that allow Toto Chain to focus on customizing specific functionalities like validator selection and reward mechanisms, reducing the need for from-scratch development​.
  * The architecture supports runtime upgrades without forks, enabling the chain to adapt dynamically to user needs and technical improvements​.
* **Interoperability**:
  * By integrating Ethereum components, the chain can interact with Ethereum-based applications while leveraging Substrate’s modularity to build unique features not confined to Ethereum standards​.

***

## How does the Toto Chain ensure security and prevent attacks like double-spending or Sybil attacks?

* **Mechanisms to Prevent Double-Spending**:
  * The GRANDPA consensus ensures finality by validating blocks in a systematic manner, making it computationally prohibitive to create conflicting transactions​.
* **Sybil Attack Prevention**:
  * Validators are required to stake session keys, creating an economic disincentive for registering multiple inactive nodes​.
  * Social proof mechanisms, such as identity attestation through email and social networks, further enhance the chain's defense against Sybil attacks.
* **Data Integrity and Consensus**:
  * Block validation occurs through decentralized voting, ensuring that a majority consensus is reached before finalizing blocks, further safeguarding against fraudulent activities.

***

## What are the basic chain operations?

* **Core Operations**:
  * **Asset Transfers**: Moving tokens between accounts​.
  * **Smart Contract Execution**: Deploying and interacting with custom contracts​.
  * **Block Producer Registration**: Allowing users to become validators and participate in block production​.
  * **Reward Distribution**: Earning and claiming rewards like POTENTIAL and fractional NFTs for block production and referrals.

These operations enable the Toto Chain to function as both a blockchain platform for transactions and a reward-driven ecosystem promoting active participation.
