---
title: "面向 Rust 开发者的以太坊"
description: "了解如何使用基于 Rust 的项目和工具在以太坊上进行开发"
lang: zh
incomplete: true
---

<FeaturedText>了解如何使用基于 Rust 的项目和工具在以太坊上进行开发</FeaturedText>

使用以太坊创建利用加密货币和区块链技术优势的去中心化应用（dapp）。这些去中心化应用（dapp）是值得信赖的，这意味着一旦它们被部署到以太坊上，它们将始终按程序运行。它们可以控制数字资产，从而创建新型的金融应用。它们可以是去中心化的，这意味着没有任何单一实体或个人控制它们，并且几乎不可能被审查。

## 智能合约与 Solidity 语言入门 {#getting-started-with-smart-contracts-and-solidity}

**迈出将 Rust 与以太坊集成的第一步**

需要先了解更基础的入门知识？请查看 [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}

- [Rust 以太坊客户端](https://openethereum.github.io/) \* **请注意，OpenEthereum [已被弃用](https://medium.com/openethereum/gnosis-joins-erigon-formerly-turbo-geth-to-release-next-gen-ethereum-client-c6708dd06dd)且不再维护。** 请谨慎使用，最好切换到其他客户端实现。
- [使用 Rust 向以太坊发送交易](https://kauri.io/#collections/A%20Hackathon%20Survival%20Guide/sending-ethereum-transactions-with-rust/)
- [关于如何使用 Rust Wasm 为 Kovan 编写合约的分步教程](https://github.com/paritytech/pwasm-tutorial)

## 进阶文章 {#intermediate-articles}

## 高级使用模式 {#advanced-use-patterns}

- [用于与类以太坊网络交互的 pwasm_ethereum 外部库](https://github.com/openethereum/pwasm-ethereum)
- [使用 JavaScript 和 Rust 构建去中心化聊天应用](https://medium.com/perlin-network/build-a-decentralized-chat-using-javascript-rust-webassembly-c775f8484b52)
- [使用 Vue.js 和 Rust 构建去中心化待办事项应用](https://medium.com/@jjmace01/build-a-decentralized-todo-app-using-vue-js-rust-webassembly-5381a1895beb)

- [用 Rust 构建区块链](https://blog.logrocket.com/how-to-build-a-blockchain-in-rust/)

## Rust 项目和工具 {#rust-projects-and-tools}

- [pwasm-ethereum](https://github.com/paritytech/pwasm-ethereum) - _用于与类以太坊网络交互的外部函数集合_
- [莱特豪斯 (Lighthouse)](https://github.com/sigp/lighthouse) - _快速的以太坊共识层客户端_
- [Ethereum WebAssembly](https://ewasm.readthedocs.io/en/mkdocs/) - _提议使用 WebAssembly 的确定性子集重新设计以太坊智能合约执行层_
- [oasis_std](https://docs.rs/oasis-std/latest/oasis_std/index.html) - _OASIS API 参考_
- [Solaris](https://github.com/paritytech/sol-rs) - _使用原生 Parity 客户端 EVM 的 Solidity 智能合约单元测试工具。_
- [SputnikVM](https://github.com/rust-blockchain/evm) - _Rust 以太坊虚拟机实现_
- [Wavelet](https://github.com/perlin-network/smart-contract-rs) - _Rust 编写的 Wavelet 智能合约_
- [Foundry](https://github.com/foundry-rs/foundry) - _以太坊应用开发工具包_
- [Alloy](https://alloy.rs) - _高性能、经过充分测试且文档齐全的库，用于与以太坊和其他基于 EVM 的链进行交互。_
- [Ethers_rs](https://github.com/gakonst/ethers-rs) - _以太坊库和钱包实现_
- [SewUp](https://github.com/second-state/SewUp) - _一个帮助你使用 Rust 构建以太坊 WebAssembly 合约的库，就像在普通后端开发一样_
- [Substreams](https://github.com/streamingfast/substreams) - _并行化区块链数据索引技术_
- [瑞斯 (Reth)](https://github.com/paradigmxyz/reth) 瑞斯 (Reth)（Rust Ethereum 的缩写）是一个新的以太坊全节点实现
- [Awesome Ethereum Rust](https://github.com/Vid201/awesome-ethereum-rust) - _以太坊生态系统中用 Rust 编写的精选项目集合_
- [Stylus](https://github.com/OffchainLabs/stylus) - _用于在 Arbitrum 上构建智能合约的 Rust SDK_

寻找更多资源？请查看 [ethereum.org/developers。](/developers/)

## Rust 社区贡献者 {#rust-community-contributors}

- [Ethereum WebAssembly](https://gitter.im/ewasm/Lobby)
- [Oasis Gitter](https://gitter.im/Oasis-official/Lobby)
- [Parity Gitter](https://gitter.im/paritytech/parity)
- [Enigma](https://discord.gg/SJK32GY)
