---
title: "適合 Ruby 開發者的以太坊"
description: "了解如何使用基於 Ruby 的專案與工具在以太坊上進行開發。"
lang: zh-tw
incomplete: false
---

<FeaturedText>了解如何使用基於 Ruby 的專案與工具在以太坊上進行開發。</FeaturedText>

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

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

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

需要先了解更基礎的入門知識嗎？請查看 [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)
- [終於能使用梅塔馬斯克驗證 Rails 使用者](https://dev.to/q9/finally-authenticating-rails-users-with-metamask-3fj)
- [如何使用 Ruby 連接到以太坊網路](https://www.quicknode.com/guides/web3-sdks/how-to-connect-to-the-ethereum-network-using-ruby)
- [如何在 Ruby 中產生新的以太坊地址](https://www.quicknode.com/guides/web3-sdks/how-to-generate-a-new-ethereum-address-in-ruby)

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

- [使用 Ruby 開發區塊鏈應用程式](https://www.nopio.com/blog/blockchain-app-ruby/)
- [使用連接到以太坊的 Ruby 來執行智能合約](https://titanwolf.org/Network/Articles/Article?AID=87285822-9b25-49d5-ba2a-7ad95fff7ef9)

## Ruby 專案與工具 {#ruby-projects-and-tools}

### 活躍中 {#active}

- [eth.rb](https://github.com/q9f/eth.rb) - _用於處理以太坊帳戶、訊息與交易的 Ruby 函式庫與 RPC 客戶端_
- [keccak.rb](https://github.com/q9f/keccak.rb) - _以太坊使用的 Keccak (SHA3) 雜湊_
- [siwe-ruby](https://github.com/signinwithethereum/siwe-ruby) - _以太坊登入 (Sign-In with Ethereum) 的 Ruby 實作_
- [siwe-rails](https://github.com/signinwithethereum/siwe-rails) - _新增 SIWE 本地登入路由的 Rails gem_
- [siwe-rails-examples](https://github.com/signinwithethereum/siwe-rails-examples) - _使用 Ruby on Rails 與自訂控制器的 SIWE 範例_
- [omniauth-siwe](https://github.com/signinwithethereum/omniauth-siwe) - _用於以太坊登入 (SIWE) 的 OmniAuth 策略_
- [omniauth-nft](https://github.com/valthon/omniauth-nft) - _透過 NFT 所有權進行驗證的 OmniAuth 策略_
- [ethereum-on-rails](https://github.com/q9f/ethereum-on-rails) - _允許將梅塔馬斯克連接到 Ruby on Rails 的 Ethereum on Rails 模板_

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

- [web3-eth](https://github.com/spikewilliams/vtada-ethereum) - _使用 Ruby 呼叫以太坊節點的 RPC 方法_
- [ethereum_tree](https://github.com/longhoangwkm/ethereum_tree) - _根據 BIP32 標準從分層確定性錢包產生 ETH 地址的 Ruby 函式庫_
- [etherlite](https://github.com/budacom/etherlite) - _Ruby on Rails 的以太坊整合_
- [ethereum.rb](https://github.com/EthWorks/ethereum.rb) - _使用 JSON-RPC 介面發送交易、建立與合約互動的 Ruby 以太坊客戶端，以及與以太坊節點協作的實用工具包_
- [omniauth-ethereum.rb](https://github.com/q9f/omniauth-ethereum.rb) - _實作 OmniAuth 的以太坊提供者策略_

正在尋找更多資源嗎？請查看[我們的開發者首頁](/developers/)。

## Ruby 社群貢獻者 {#ruby-community-contributors}

[Ethereum Ruby Telegram 群組](https://t.me/ruby_eth)擁有一個快速成長的社群，是討論上述任何專案與相關主題的專屬資源。