---
title: "適合 Java 開發者的以太坊"
description: "了解如何使用基於 Java 的專案與工具來開發以太坊"
lang: zh-tw
incomplete: true
---

<FeaturedText>了解如何使用基於 Java 的專案與工具來開發以太坊</FeaturedText>

使用以太坊建立去中心化應用程式 (dapp)，利用加密貨幣與區塊鏈技術的優勢。這些 dapp 是值得信賴的，這意味著一旦它們被部署到以太坊，就會始終按照程式設計的方式運行。它們可以控制數位資產，以建立新型態的金融應用程式。它們可以是去中心化的，這意味著沒有單一實體或個人控制它們，且幾乎不可能被審查。

## 開始使用智能合約與 Solidity 語言 {#getting-started-with-smart-contracts-and-solidity}

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

需要先了解更基礎的入門知識嗎？請查看 [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)

## 使用以太坊客戶端 {#working-with-ethereum-clients}

了解如何使用 [Web3j](https://github.com/web3j/web3j) 與 Hyperledger 貝蘇，這兩個領先的 Java 以太坊客戶端

- [使用 Java、Eclipse 與 Web3j 連接到以太坊客戶端](https://kauri.io/article/b9eb647c47a546bc95693acc0be72546/connecting-to-an-ethereum-client-with-java-eclipse-and-web3j)
- [使用 Java 與 Web3j 管理以太坊帳戶](https://kauri.io/article/925d923e12c543da9a0a3e617be963b4/manage-an-ethereum-account-with-java-and-web3j)
- [從你的智能合約產生 Java 封裝 (Wrapper)](https://kauri.io/article/84475132317d4d6a84a2c42eb9348e4b/generate-a-java-wrapper-from-your-smart-contract)
- [與以太坊智能合約互動](https://kauri.io/article/14dc434d11ef4ee18bf7d57f079e246e/interacting-with-an-ethereum-smart-contract-in-java)
- [監聽以太坊智能合約事件](https://kauri.io/article/760f495423db42f988d17b8c145b0874/listening-for-ethereum-smart-contract-events-in-java)
- [在 Linux 上使用 Java 以太坊客戶端貝蘇 (Pantheon)](https://kauri.io/article/276dd27f1458443295eea58403fd6965/using-pantheon-the-java-ethereum-client-with-linux)
- [在 Java 整合測試中執行 Hyperledger 貝蘇 (Pantheon) 節點](https://kauri.io/article/7dc3ecc391e54f7b8cbf4e5fa0caf780/running-a-pantheon-node-in-java-integration-tests)
- [Web3j 備忘單](<https://kauri.io/web3j-cheat-sheet-(java-ethereum)/5dfa1ea941ac3d0001ce1d90/c>)

了解如何使用 [ethers-kt](https://github.com/Kr1ptal/ethers-kt)，這是一個用於與基於 EVM 的區塊鏈互動的非同步、高效能 Kotlin 函式庫。目標平台為 JVM 與 Android。
- [轉帳 ERC-20 代幣](https://github.com/Kr1ptal/ethers-kt/blob/master/examples/src/main/kotlin/io/ethers/examples/abi/TransferERC20.kt)
- [帶有事件監聽的 UniswapV2 兌換](https://github.com/Kr1ptal/ethers-kt/blob/master/examples/src/main/kotlin/io/ethers/examples/tokenswapwitheventlistening/TokenSwapWithEventListening.kt)
- [ETH / ERC-20 餘額追蹤器](https://github.com/Kr1ptal/ethers-kt/blob/master/examples/src/main/kotlin/io/ethers/examples/balancetracker/BalanceTracker.kt)

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

- [使用 IPFS 在 Java 應用程式中管理儲存](https://kauri.io/article/3e8494f4f56f48c4bb77f1f925c6d926/managing-storage-in-a-java-application-with-ipfs)
- [使用 Web3j 在 Java 中管理 ERC-20 代幣](https://kauri.io/article/d13e911bbf624108b1d5718175a5e0a0/manage-erc20-tokens-in-java-with-web3j)
- [Web3j 交易管理器](https://kauri.io/article/4cb780bb4d0846438d11885a25b6d7e7/web3j-transaction-managers)

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

- [使用 Eventeum 建立 Java 智能合約資料快取](https://kauri.io/article/fe81ee9612eb4e5a9ab72790ef24283d/using-eventeum-to-build-a-java-smart-contract-data-cache)

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

- [Web3j (與以太坊客戶端互動的函式庫)](https://github.com/web3j/web3j)
- [ethers-kt (用於基於 EVM 區塊鏈的非同步、高效能 Kotlin/Java/Android 函式庫。)](https://github.com/Kr1ptal/ethers-kt)
- [Eventeum (事件監聽器)](https://github.com/ConsenSys/eventeum)
- [Mahuta (IPFS 開發工具)](https://github.com/ConsenSys/mahuta)

正在尋找更多資源嗎？請查看 [ethereum.org/developers。](/developers/)

## Java 社群貢獻者 {#java-community-contributors}

- [IO Builders](https://io.builders)
- [Kauri](https://kauri.io)