# 3.5 Cloud-Based Mining (CBM)

### A Fair and Sustainable Distribution Model

Cloud-Based Mining is WeFi's core token-distribution mechanism, designed to ensure a fair, sustainable, and market-aligned emission of the $WFI token. While inspired by the economic principles of Bitcoin mining, WeFi's model is upgraded for modern technology, environmental responsibility, and mass adoption.

### Rejecting the Pre-Sale Model

Traditional token distribution methods, such as pre-sales and private rounds, are often structurally flawed. They frequently result in large allocations for teams and early investors, leading to market manipulation and community losses.

WeFi rejects this model entirely:

* **Community First:** 100% of token emission belongs to the community.
* **Product-Driven Revenue:** The company earns revenue from its products, not from selling its own tokens.
* **Equal Opportunity:** Every participant must participate in mining on equal terms to obtain $WFI.

### How Cloud-Based Mining Works

<figure><img src="/files/wK7KtZmwmDqJ5BQASc1A" alt=""><figcaption></figcaption></figure>

The system translates the principles of physical mining into a digital, resource-efficient algorithmic process. The workflow follows a continuous, automated cycle:

1. **Unit Activation:** A participant activates a Cloud-Based Mining Unit (CBM Unit).
2. **Per-Second Emission:** The algorithm releases $WFI into the system every second.
3. **Even Distribution:** Mined tokens are distributed proportionally across all activated units, ensuring mathematical fairness.

This transition from Physical Mining to Digital Algorithms preserves the "proof of work" incentive structure while ensuring zero physical resource waste and no need for expensive hardware.

### The 4 Algorithmic Rules

The stability and growth of the $WFI asset are protected by four automated, algorithmic rules. These rules ensure that the token economy remains stable, resilient, and perfectly aligned with real-world product adoption.

<table><thead><tr><th width="328.046875">Rule</th><th>Purpose</th></tr></thead><tbody><tr><td><strong>1. Systematic Halving (SH)</strong></td><td>Reduces mining rewards by 50% every 2 years to introduce progressive scarcity</td></tr><tr><td><strong>2. Mathematical Supply Control (MSC)</strong></td><td>Regulates token market release based on Energy levels as indicator of product maturity</td></tr><tr><td><strong>3. Algorithmic Amortization (AA)</strong></td><td>Ensures older CBM units gradually decrease in efficiency, preventing whale dominance</td></tr><tr><td><strong>4. Proxy Unit: Energy</strong></td><td>Acts as the objective indicator of ecosystem readiness and product adoption</td></tr></tbody></table>

For detailed explanations of each rule, see Section 2.5: The 4 Algorithmic Rules.

### The Vision of Fairness

By combining these four pillars, WeFi creates a self-stabilizing onchain economy. Price dynamics are driven by adoption and usage rather than speculation, ensuring that the interests of the community, the shareholders, and the ecosystem remain perfectly aligned over the full multi-year mining lifecycle.

### Technical Architecture of Mining

<figure><img src="/files/NuKEQY2Sof2OrMmxymAS" alt=""><figcaption></figcaption></figure>

The technical implementation of WeFi's mining ecosystem is an asynchronous, event-driven architecture designed to bridge interaction with onchain verification and high-frequency reward calculation.

#### Architectural Workflow

<figure><img src="/files/pEBLhhzQhzTHSJhtQPue" alt=""><figcaption></figcaption></figure>

The system is divided into three distinct operational phases:

**1. Unit Acquisition and Command Dispatch**

When a participant purchases CBM Units through the WeFi App, the system initiates a handshake with the Onchain Cloud to allocate the units to the profile. Once the purchase is confirmed, the app dispatches a decentralized activation command to the CBM Mining Queue. This decoupling ensures that the interface remains responsive while the heavy lifting occurs in the background.

**2. The Activation Flow**

The Mining Engine continuously polls the CBM Mining Queue for new activations. This process involves:

* **Onchain Verification:** The engine cross-references activation requests with the Onchain Cloud to ensure unit validity.
* **Sequential Processing:** To maintain system stability, the engine activates units one at a time, every second, ensuring that every CBM Unit is correctly registered to participate in the global reward pool.

**3. High-Frequency Mining Process**

Once activated, the Mining Engine enters a high-precision loop. Every second, it calculates the proportional stake of every active participant and updates the stored $WFI rewards per activation. This ensures that the multi-year emission cycle is executed with second-by-second accuracy.

### Architectural Strategic Strengths

<table><thead><tr><th width="241.71875">Strength</th><th>Description</th></tr></thead><tbody><tr><td><strong>Decoupled Reliability</strong></td><td>The use of a CBM Mining Queue between the interface and the mining engine allows the system to handle massive spikes in volume without degrading the performance of the rewards calculation engine.</td></tr><tr><td><strong>Verification Integrity</strong></td><td>By requiring an onchain verification step during activation, WeFi eliminates the risk of "ghost nodes" or unauthorized units entering the pool, ensuring that only legitimate holders receive $WFI.</td></tr><tr><td><strong>Operational Bottlenecks</strong></td><td>The "one activation per second" rule provides a stable heartbeat for the system. This is a calculated trade-off to ensure the mathematical integrity of the reward distribution.</td></tr><tr><td><strong>Sovereign Efficiency</strong></td><td>The architecture successfully mimics the scarcity and fairness of Bitcoin's hardware mining while replacing the energy-intensive "work" with efficient, verified onchain cloud logic.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.wefi.co/deobank-modules/3.5-cloud-based-mining-cbm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
