# 帳本：記錄交易的工具

> **最後更新：2026 年 1 月**

> ✍️ 作者：葛如鈞（寶博士）｜區塊鏈研究者、前立法委員

## **帳本（英文：Ledger）就是記錄金錢、交易的工具；在區塊鏈世界中指的是記錄數位交易、加密貨幣資產的工具。**

區塊鏈帳本（Blockchain Ledger）是和人們平常借錢、花錢所記錄的帳的那個本子一樣，沒什麼不同，只不過不存在實體，且頁數無限，每次新增交易記錄時還需經過精密的密碼學驗證，以確保均衡無錯。

上一個章節「[幣](/cong-wu-wu-jiao-huan-dao-shu-wei-huo-bi/currency.md)」裡頭，我們提到的「魚和雞」的交易，當這個雞幣交易越來越頻繁，就容易出現大家搞不清楚我手上到底還有幾條魚（魚幣）你家裡還有幾隻雞（雞幣），我們誰欠誰幾條魚，誰又欠誰幾隻雞的問題。

這時候，帳本就出現了。裡頭可以清楚記錄我欠你幾隻雞，你又欠我幾條魚，而我又把你欠我的魚跟隔壁老王換了兩隻豬 - 的所有記錄。

簡言之，帳本讓人們可以輕易對帳，彼此討魚、討雞，不會餓肚子，並以此建立更完整的經濟、貨幣體系。

{% hint style="success" %}
**小八卦**

相傳中國第一個發明帳本的人為關聖帝君是也。雖然已無可考，但有興趣的人可以閱讀：<https://kknews.cc/zh-tw/history/z5vvv3.html>
{% endhint %}

***

#### 相關條目

* [中心化帳本：村長的問題](/cong-wu-wu-jiao-huan-dao-shu-wei-huo-bi/zhong-xin-hua-ben.md)
* [區塊鏈：魔法帳本](/cong-zhong-ben-cong-dao-bi-te-bi/chain.md)
* [分散式帳本：分靈體](/cong-zhong-ben-cong-dao-bi-te-bi/fen-san-shi-ben.md)
* [前言：為什麼寫這本書](/di-ling-zhang-dao-du/blockpedia.md)
* [如何閱讀本書](/di-ling-zhang-dao-du/how-to-read.md)

#### 參考資料


---

# 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://www.0x1.academy/cong-wu-wu-jiao-huan-dao-shu-wei-huo-bi/ledger.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.
