---
title: "以太坊 Java 开发者指南"
description: "了解如何使用基于 Java 的项目和工具在以太坊上进行开发"
lang: zh
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 贝苏 (Besu) 这两个领先的 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 包装器](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 以太坊客户端贝苏 (Besu/Pantheon)](https://kauri.io/article/276dd27f1458443295eea58403fd6965/using-pantheon-the-java-ethereum-client-with-linux)
- [在 Java 集成测试中运行 Hyperledger 贝苏 (Besu/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)