Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ lang: zh-tw
#### 近期研究 {#recent-research-2}

- [排序者的 Arbitrum 公平排序](https://eprint.iacr.org/2021/1465)
- [ethresear.ch 二層網路](https://ethresear.ch/c/layer-2/32)
- [Ethresear.ch 二層網路](https://ethresear.ch/c/layer-2/32)
- [以卷軸為中心的開發藍圖](https://ethereum-magicians.org/t/a-rollup-centric-ethereum-roadmap/4698)
- [L2Beat](https://l2beat.com/)

Expand Down Expand Up @@ -189,7 +189,7 @@ lang: zh-tw

- [錢包簡介](/wallets/)
- [錢包安全簡介](/security/)
- [ethresear.ch 安全性](https://ethresear.ch/tag/security)
- [Ethresear.ch 安全性](https://ethresear.ch/tag/security)
- [EIP-2938 帳戶抽象](https://eips.ethereum.org/EIPS/eip-2938)
- [EIP-4337 帳戶抽象](https://eips.ethereum.org/EIPS/eip-4337)

Expand Down Expand Up @@ -377,11 +377,11 @@ lang: zh-tw

- [Wormhole 漏洞報告](https://blog.chainalysis.com/reports/wormhole-hack-february-2022/)
- [遭駭以太坊合約事後分析列表](https://forum.openzeppelin.com/t/list-of-ethereum-smart-contracts-post-mortems/1191)
- [Rekt 新聞](https://twitter.com/RektHQ?s=20\&t=3otjYQdM9Bqk8k3n1a1Adg)
- [Rekt 新聞](https://twitter.com/RektHQ?s=20&t=3otjYQdM9Bqk8k3n1a1Adg)

#### 近期研究 {#recent-research-19}

- [ethresear.ch 應用程式](https://ethresear.ch/c/applications/18)
- [Ethresear.ch 應用程式](https://ethresear.ch/c/applications/18)

### 技術堆疊 {#technology-stack}

Expand Down
4 changes: 2 additions & 2 deletions public/content/translations/zh-tw/contributing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Ethereum.org 是一個開源專案,擁有超過 **12000 名**貢獻者,幫
- [處理未解決的問題](https://github.com/ethereum/ethereum-org-website/issues) – 我們確定為需要完成的工作

**設計**
- [幫助設計網站](/contributing/design/)設計師不論資歷,都可以為改進網站做出貢獻
- [幫助設計網站](/contributing/design/) — 任何水平的設計者都可以為改進網站做出貢獻

**內容**
- [建立/編輯內容](/contributing/#how-to-update-content) – 提議建立新頁面或對已有內容稍微改進
Expand Down Expand Up @@ -94,7 +94,7 @@ Ethereum.org 是一個開源專案,擁有超過 **12000 名**貢獻者,幫

### 如何領取
1. 加入我們的 [Discord 伺服器](https://discord.gg/ethereum-org)。
2. 將你貢獻內容的連結貼到 `#🥇 | proof-of-contribution` 頻道
2. 將你貢獻內容的連結貼到 `#🥇 | proof-of-contribution` 頻道
3. 等待我們團隊的成員向你發送前往你的鏈上成就代幣的連結。
4. 領取你的鏈上成就代幣!

Expand Down
3 changes: 2 additions & 1 deletion public/content/translations/zh-tw/dao/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 去中心化自治組織 (DAO)
title: 什麽是去中心化自治組織 (DAO)?
metaTitle: 什麽是去中心化自治組織 (DAO)? | 去中心化自治組織
description: 以太坊上的去中心化自治組織概要
lang: zh-tw
template: use-cases
Expand Down
7 changes: 4 additions & 3 deletions public/content/translations/zh-tw/defi/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 去中心化金融 (DeFi)
metaTitle: 甚麼是去中心化金融? | 去中心化金融的優點和作用
description: 以太坊生態系之去中心化金融概要
lang: zh-tw
template: use-cases
Expand Down Expand Up @@ -168,7 +169,7 @@ Dai、USDC 等穩定幣的價值和美元的差距通常維持在幾美分之內

要在傳統金融體系內完成以上操作,你需要鉅額資金。 這種財產創造策略只有已經擁有財富的人才能操作。 閃電貸的例子告訴我們,未來「有錢」不見得是「賺錢」的先決條件。

<ButtonLink isSecondary href="https://aave.com/flash-loans/">
<ButtonLink isSecondary href="https://aave.com/docs/concepts/flash-loans">
深入了解閃電貸
</ButtonLink>

Expand Down Expand Up @@ -324,7 +325,7 @@ Dai、USDC 等穩定幣的價值和美元的差距通常維持在幾美分之內
3. 協定:提供功能的[智慧型合約](/glossary/#smart-contract),例如實現去中心化資產借貸的服務。
4. [應用程式](/dapps/):我們用以管理及存取協定的產品。

注意:很多去中心化金融使用 [ERC-20 標準](/glossary/#erc-20)。 去中心化金融應用程式會使用一種稱為包裝以太幣(WETH) 的以太幣包裝程式。 [了解更多關於包裝以太幣的資訊](/wrapped-eth)。
注意:很多去中心化金融使用 [ERC-20 標準](/glossary/#erc-20)。 去中心化金融 (DeFi) 中的應用程式使用一種包裝的以太幣,稱爲包裝以太幣 (WETH)。 [了解更多關於包裝以太幣的資訊](/wrapped-eth)。

## 建構去中心化金融 {#build-defi}

Expand Down Expand Up @@ -358,4 +359,4 @@ Dai、USDC 等穩定幣的價值和美元的差距通常維持在幾美分之內

<Divider />

<QuizWidget quizKey="defi" />
<QuizWidget quizKey="defi" />
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}

傳回用戶端的 coinbase 地址。

> **注意:**此方法已於 **v1.14.0** 棄用並不再支援。 嘗試採用此方法將會出現「不支援此方法」的錯誤。

**參數**

Expand Down Expand Up @@ -1649,10 +1651,10 @@ geth --http --dev console 2>>geth.log

這將在 `http://localhost:8545` 上啟動 HTTP 遠端程序呼叫介面。

我們可以使用 [curl](https://curl.se) 擷取 Coinbase 地址和餘額來驗證介面正在執行。 請注意,這些範例中的資料與你的本地節點有所不同。 如果你想嘗試這些命令,請將第二個 curl 請求中的請求參數替換為第一個請求返回的結果。
我們可以透過使用 [ curl](https://curl.se) 取得 Coinbase 地址(獲取帳戶陣列中的第一個地址)和餘額,驗證介面是否正在執行。 請注意,這些範例中的資料與你的本地節點有所不同。 如果你想嘗試這些命令,請將第二個 curl 請求中的請求參數替換為第一個請求返回的結果。

```bash
curl --data '{"jsonrpc":"2.0","method":"eth_coinbase", "id":1}' -H "Content-Type: application/json" localhost:8545
curl --data '{"jsonrpc":"2.0","method":"eth_accounts","params":[]", "id":1}' -H "Content-Type: application/json" localhost:8545
{"id":1,"jsonrpc":"2.0","result":["0x9b1d35635cc34752ca54713bb99d38614f63c955"]}

curl --data '{"jsonrpc":"2.0","method":"eth_getBalance", "params": ["0x9b1d35635cc34752ca54713bb99d38614f63c955", "latest"], "id":2}' -H "Content-Type: application/json" localhost:8545
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ sidebarDepth: 3
- [EthVM](https://www.ethvm.com/)
- [OKLink](https://www.oklink.com/eth)
- [Rantom](https://rantom.app/)
- [Ethseer](https://ethseer.io)

## 開源工具 {#open-source-tools}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ lang: zh-tw

## Dune Analytics {#dune-analytics}

[Dune Analytics](https://dune.com/) 將區塊鏈資料預處理成關聯資料庫DuneSQL表格,允許使用者使用 SQL 查詢區塊鏈資料並根據查詢結果建立儀表板。 鏈上資料組織成 4 個原始表格:`blocks`、`transactions`、(事件)`logs` 和(呼叫)`traces`。 常見的合約和協定已被解碼,而每個合約和協定都有自己的事件和呼叫表格集。 這些事件和呼叫表格被進一步處理並按協定類型組織成抽象表格,例如去中心化交易所、借貸、穩定幣等。
[Dune Analytics](https://dune.com/) 將區塊鏈資料預處理成關聯資料庫 (DuneSQL) 表格,允許使用者使用 SQL 查詢區塊鏈資料並根據查詢結果建立儀表板。 鏈上資料組織成 4 個原始表格:`blocks`、`transactions`、(事件)`logs` 和(呼叫)`traces`。 常見的合約和協定已被解碼,而每個合約和協定都有自己的事件和呼叫表格集。 這些事件和呼叫表格被進一步處理並按協定類型組織成抽象表格,例如去中心化交易所、借貸、穩定幣等。

## SubQuery 網路 {#subquery-network}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ lang: zh-tw

Hardhat 網路內建了 Hardhat,這是一個專業以太坊開發環境。

- [官網](https://hardhat.org/)
- [GitHub](https://github.com/nomiclabs/hardhat)
- [網站](https://hardhat.org/)
- [Github](https://github.com/nomiclabs/hardhat)

### 本地信標鏈 {#local-beacon-chains}

Expand All @@ -59,7 +59,7 @@ Kurtosis 是一個用於多容器測試環境的構建系統,讓開發者能
以太坊 Kurtosis 套件可用於透過 Docker 或 Kubernetes 快速具現化一個可參數化、高擴展性的私人以太坊測試網。 此套件支援所有主要的執行層 (EL) 和共識層 (CL) 用戶端。 Kurtosis 從容處理代表網路的所有本地端口映射和服務連線,以用於與以太坊核心基礎設施相關的驗證和測試工作流程。

- [以太坊網路套件](https://github.com/kurtosis-tech/ethereum-package)
- [網站](https://www.kurtosis.com/)
- [官網](https://www.kurtosis.com/)
- [GitHub](https://github.com/kurtosis-tech/kurtosis)
- [文件](https://docs.kurtosis.com/)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ lang: zh-tw
- [GitHub](https://github.com/Ackee-Blockchain/wake)
- [VS Code 擴充功能](https://marketplace.visualstudio.com/items?itemName=AckeeBlockchain.tools-for-solidity)

**Veramo -** **_開放原始碼、模組化且不受限的框架,讓去中心化應用程式開發者能輕鬆地將去中心化身分和可驗證憑證整合到他們的應用程式中。_**

- [首頁](https://veramo.io/)
- [文件](https://veramo.io/docs/basics/introduction)
- [GitHub](https://github.com/uport-project/veramo)
- [Discord](https://discord.com/invite/FRRBdjemHV)
- [節點包裹管理器 (NPM) 包裹](https://www.npmjs.com/package/@veramo/core)

## 了解更多 {#further-reading}

_知道對你有幫助的社群資源嗎? 請編輯此頁面並新增資源!_
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: 燃料和費用
metaTitle: "以太坊燃料和費用:技術概覽"
description:
lang: zh-tw
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ lang: zh-tw
**Visual Studio Code -** **_專業跨平台整合開發環境,獲以太坊官方支援_**

- [Visual Studio Code](https://code.visualstudio.com/)
- [Azure Blockchain Workbench](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/microsoft-azure-blockchain.azure-blockchain-workbench?tab=Overview)
- [程式碼範例](https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/application-and-smart-contract-samples/readme.md)
- [GitHub](https://github.com/microsoft/vscode)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ Enode 使得以太坊節點可以用統一資源定位器地址格式識別。

## 衍生閱讀 {#further-reading}

- [EIP-778:以太坊節點記錄 (ENR)](https://eips.ethereum.org/EIPS/eip-778)
- [EIP-778:以太坊節點紀錄 (ENR)](https://eips.ethereum.org/EIPS/eip-778)
- [以太坊中的網路地址](https://dean.eigenmann.me/blog/2020/01/21/network-addresses-in-ethereum/)
- [LibP2P:Multiaddr-Enode-ENR?!](https://consensys.net/diligence/blog/2020/09/libp2p-multiaddr-enode-enr/)
- [LibP2P:Multiaddr-Enode-ENR?!](https://consensys.net/diligence/blog/2020/09/libp2p-multiaddr-enode-enr/)
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ sidebarDepth: 2

[Prysm](https://docs.prylabs.network/docs/getting-started)

[Grandine](https://docs.grandine.io/)

技術性使用者可以透過為小眾用戶端撰寫更多教學和文檔,並鼓勵其節點營運的對等節點從主導用戶端遷出,以幫助加速此流程。 [clientdiversity.org](https://clientdiversity.org/) 上有切換到小眾共識用戶端的指南。

## 用戶端多樣性儀表板 {#client-diversity-dashboards}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Nethermind 也為高級使用者提供[詳細文件](https://docs.nethermind.io)

### Reth {#reth}

Reth(Rust Ethereum 的簡稱)是以太坊全節點的實作,致力於達成使用者友善、高度模組化、快速高效等目標。 Reth 最初由 Paradigm 開發並推動,且使用了 Apache 和 MIT 授權。
Reth(Rust Etherum 的簡稱)是以太坊全節點的實作,致力於達成使用者友善、高度模組化、快速高效等目標。 Reth 最初由 Paradigm 開發並推動,且使用了 Apache 和 MIT 授權。

Reth 是生產就緒的執行用戶端,且適用於質押或高正常運作時間的服務等重要任務上。 在一些高效能、高利潤下的使用案例中表現優秀,如遠端程序呼叫、最大可提取價值、索引、模擬和點對點活動等。

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ reth node \
--authrpc.port 8551
```

請參閱[設定 Reth](https://reth.rs/run/config.html?highlight=data%20directory#configuring-reth) 以瞭解有關預設資料目錄的更多資訊。 [Besu 文件](https://reth.rs/run/mainnet.html)包含了額外的選項及設定細節。
查看[設定 Reth](https://reth.rs/run/config.html?highlight=data%20directory#configuring-reth) 以了解更多有關預設資料目錄的資訊。 [Besu 文件](https://reth.rs/run/mainnet.html)包含了額外的選項及設定細節。

#### 啟動共識用戶端 {#starting-the-consensus-client}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
title: Elixir 開發者適用的以太坊資源
description: 學習如何使用基於 Elixir 的專案和工具進行以太坊開發。
lang: zh-tw
incomplete: false
---

<FeaturedText>學習如何使用基於 Elixir 的專案和工具進行以太坊開發。</FeaturedText>

使用以太坊建立去中心化應用程式(或稱「dapp」),發揮加密貨幣和區塊鏈技術的優勢。 這些去中心化應用程式是無需信任的,這意味著一旦部署到以太坊後,就會始終按程式執行。 它們可以控制數位資產來建立新型的金融應用程式。 這些應用程式是去中心化的,這意味著任何單一實體或個人都無法控制它們,並且應用程式幾乎不可能被審查。

## 智慧型合約及 Solidity 程式語言入門 {#getting-started-with-smart-contracts-and-solidity}

**邁出將 Elixir 與以太坊整合的第一步**

需要先看看更基礎的入門指南? 請查看 [ethereum.org/learn](/learn/) 或 [ethereum.org/developers](/developers/)。

- [詳解區塊鏈](https://kauri.io/article/d55684513211466da7f8cc03987607d5/blockchain-explained)
- [了解智慧型合約](https://kauri.io/article/e4f66c6079e74a4a9b532148d3158188/ethereum-101-part-5-the-smart-contract)
- [撰寫你的第一個智慧型合約](https://kauri.io/article/124b7db1d0cf4f47b414f8b13c9d66e2/remix-ide-your-first-smart-contract)
- [學習如何編譯及部署 Solidity](https://kauri.io/article/973c5f54c4434bb1b0160cff8c695369/understanding-smart-contract-compilation-and-deployment)

## 初學者文章 {#beginner-articles}

- [徹底理解以太坊帳戶](https://dev.to/q9/finally-understanding-ethereum-accounts-1kpe)
- [Ethers — 適用於 Elixir 的一流以太坊 Web3 程式庫](https://medium.com/@alisinabh/announcing-ethers-a-first-class-ethereum-web3-library-for-elixir-1d64e9409122)

## 中階文章 {#intermediate-articles}

- [如何使用 Elixir 簽署原始以太坊合約交易](https://kohlerjp.medium.com/how-to-sign-raw-ethereum-contract-transactions-with-elixir-f8822bcc813b)
- [以太坊智能合約和 Elixir](https://medium.com/agile-alpha/ethereum-smart-contracts-and-elixir-c7c4b239ddb4)

## Elixir 專案和工具 {#elixir-projects-and-tools}

### 使用中 {#active}

- [block_keys](https://github.com/ExWeb3/block_keys) - _以 Elixir 實現 BIP32 及 BIP44(多帳戶分層確定性錢包)_
- [ethereumex](https://github.com/mana-ethereum/ethereumex) - _適用於以太坊區塊鏈的 Elixir JSON-RPC 用戶端_
- [ethers](https://github.com/ExWeb3/elixir_ethers) - _一個完整的 Web3 函式庫,使用 Elixir 來與以太坊智能合約互動_
- [ethers_kms](https://github.com/ExWeb3/elixir_ethers_kms) - _適用於 Ethers 的金鑰管理服務簽署者程式庫(透過 AWS 金鑰管理服務簽署交易)_
- [ex_abi](https://github.com/poanetwork/ex_abi) - _以 Elixir 實現的以太坊應用程式二進位介面解析器/解碼器/編碼器_
- [ex_keccak](https://github.com/ExWeb3/ex_keccak) - _一個用於計算 Keccak SHA3-256 雜湊的 Elixir 程式庫,使用 NIF 建置的 tiny-keccak Rust Crate_
- [ex_rlp](https://github.com/mana-ethereum/ex_rlp) - _透過 Elixir 實作的以太坊 RLP(遞迴長度前置詞)編碼_

### 已封存/不再維護 {#archived--no-longer-maintained}

- [eth](https://hex.pm/packages/eth) - _適用於 Elixir 的以太坊工具_
- [exw3](https://github.com/hswick/exw3) - _適用於 Elixir 的高階以太坊遠端程序呼叫用戶端_
- [mana](https://github.com/mana-ethereum/mana) - _以 Elixir 撰寫的以太坊全節點實作_

想取得更多資源? 請查看[開發者首頁](/developers/)。

## Elixir 社群貢獻者 {#elixir-community-contributors}

[Elixir 在 Slack 上的 #ethereum 頻道](https://elixir-lang.slack.com/archives/C5RPZ3RJL)是一個成長快速的社群,專門討論以上任何專案和相關主題。
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ lang: zh-tw
- [Dart開發者適用的 Ethereum 資源](/developers/docs/programming-languages/dart/)
- [Delphi 開發者適用的Ethereum 資源](/developers/docs/programming-languages/delphi/)
- [.NET 開發者適用的 Ethereum 資源](/developers/docs/programming-languages/dot-net/)
- [Elixir 開發者適用的以太坊資源](/developers/docs/programming-languages/elixir/)
- [Go 開發者適用的以太坊資源](/developers/docs/programming-languages/golang/)
- [Java 開發者適用的 Ethereum 資源](/developers/docs/programming-languages/java/)
- [JavaScript 開發者適用的 Ethereum 資源](/developers/docs/programming-languages/javascript/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ incomplete: true

## 進階使用模式 {#advanced-use-patterns}

- [使用 Eventeum 建置 Java 智慧型合約資料快取](https://kauri.io/article/fe81ee9612eb4e5a9ab72790ef24283d/using-eventeum-to-build-a-java-smart-contract-data-cache)
- [使用 Eventeum 建置 Java 智慧型合約資料快取](使用 Eventeum 構建Java 智慧型合約數據緩存)

## Java 專案和工具 {#java-projects-and-tools}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ contract Attack {

- **[智慧型合約安全性驗證標準](https://github.com/securing/SCSVS)** - _適用於開發者、架構師、安全性審查者和廠商的標準化智慧型合約安全性 14 點檢查清單。_

- **[學習智慧型合約安全與審核](https://updraft.cyfrin.io/courses/security)** - _出色的智慧型合約安全與審核課程,為希望提升安全最佳做法並成為安全研究人員的智慧型合約開發人員而設。_
- **[學習智慧型合約安全與審核](https://updraft.cyfrin.io/courses/security) - _出色的智慧型合約安全與審核課程,為希望提升安全最佳做法並成為安全研究人員的智慧型合約開發人員而設。_

### 關於智慧型合約安全性的使用教學 {#tutorials-on-smart-contract-security}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function auctionEnd() external {

##### 3 計算程式碼覆蓋率

[程式碼覆蓋率](https://en.m.wikipedia.org/wiki/Code_coverage)是一種測試指標,用於追蹤在測試過程中執行的程式碼分支、行和陳述式的數量。 測試應該覆蓋足夠多的程式碼,否則你可能會遭遇「漏報」,即合約通過了所有測試,但漏洞依然存在于程式碼中。 但是,透過覆蓋足夠多的程式碼,就可以確保智慧型合約中的所有陳述式/函式都經過充分的正確性測試。
[程式碼覆蓋率](https://en.m.wikipedia.org/wiki/Code_coverage)是一種測試指標,用於追蹤在測試過程中執行的程式碼分支、行和陳述式的數量。 測試應該具有良好的程式碼覆蓋率,以最大程度地減少未經測試漏洞的風險。 如果沒有充足的程式碼覆蓋率,你可能會因爲所有測試都通過了而誤認爲你的合約是安全的,而未經測試的程式碼路徑中仍存在漏洞。 但是,透過覆蓋足夠多的程式碼,就可以確保智慧型合約中的所有陳述式/函式都經過充分的正確性測試。

##### 4 使用精心開發的測試框架

Expand Down
Loading