> For the complete documentation index, see [llms.txt](https://www.0x1.academy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.0x1.academy/gei-kai-fa-zhe-de-zhi-nan/public-chain/mainnet.md).

# 主網

### 主網（Mainnet）是區塊鏈「正式上線」的網路，所有真實的交易、真實的代幣、真實的價值都在這裡發生。相對於測試網的「練習場」，主網就是「正式比賽」。

***

## 什麼是主網？

想像你要開一家餐廳。在正式開幕之前，你會先試營運——菜單可能改來改去，服務流程可能出錯，但沒關係，反正還沒正式開始。

區塊鏈也是一樣：

| 環境     | 類比   | 特點           |
| ------ | ---- | ------------ |
| 測試網    | 試營運  | 用假幣測試，出錯可以重來 |
| **主網** | 正式開幕 | 用真錢交易，一切都是真的 |

主網就是那個「正式開幕」的狀態。

***

## 主網的特點

### 1. 真實的價值

在主網上，你的 ETH、BTC 都是真金白銀。轉錯地址、被駭客攻擊，損失都是真實的。

### 2. 不可逆轉

主網上的交易一旦被確認，就永久記錄在區塊鏈上，無法撤銷。

### 3. 需要礦工費

每筆交易都需要支付真實的手續費（Gas）給礦工或驗證者。

### 4. 社群共識

主網由全球成千上萬的節點共同維護，任何重大變更都需要社群共識。

***

## 主網上線（Mainnet Launch）

一個區塊鏈項目最重要的里程碑就是「主網上線」。這代表：

1. **技術成熟**：經過足夠的測試，準備好處理真實交易
2. **安全審計**：通過安全檢查，足以保護真實資產
3. **社群準備**：有足夠的節點、礦工、驗證者支持運作

{% hint style="info" %}
**比特幣的主網**

比特幣的主網在 2009 年 1 月 3 日上線，中本聰挖出了創世區塊。這是人類史上第一個區塊鏈主網。
{% endhint %}

***

## 主網 vs 測試網

| 項目    | 主網    | 測試網     |
| ----- | ----- | ------- |
| 代幣價值  | 真實價值  | 沒有價值    |
| 交易可逆  | 不可逆   | 可以重置    |
| 取得代幣  | 購買或挖礦 | 水龍頭免費領取 |
| 安全性要求 | 極高    | 相對寬鬆    |
| 用途    | 正式使用  | 開發測試    |

***

## 常見的主網

| 區塊鏈      | 主網上線時間     |
| -------- | ---------- |
| Bitcoin  | 2009 年 1 月 |
| Ethereum | 2015 年 7 月 |
| Solana   | 2020 年 3 月 |
| Polygon  | 2020 年 5 月 |

***

## 延伸閱讀

* [測試網](/gei-kai-fa-zhe-de-zhi-nan/public-chain/undefined-8.md) — 開發者的練習場
* [水龍頭](/gei-kai-fa-zhe-de-zhi-nan/public-chain/undefined-8/shui.md) — 如何取得測試代幣
* [側鏈](/gei-kai-fa-zhe-de-zhi-nan/undefined-7.md) — 與主網平行的區塊鏈
* [創世區塊](/gei-kai-fa-zhe-de-zhi-nan/public-chain/genesis-block.md) — 區塊鏈的第一個區塊

***

#### 參考資料

* [Ethereum Mainnet](https://ethereum.org/en/developers/docs/networks/)
* [Bitcoin Genesis Block](https://en.bitcoin.it/wiki/Genesis_block)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://www.0x1.academy/gei-kai-fa-zhe-de-zhi-nan/public-chain/mainnet.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.
