Ethereum for Ruby Developers
Nsakraeɛ edi akyire: @pettinarip(opens in a new tab), January 15, 2024
Use Ethereum to create decentralized applications (or "dapps") that utilize the benefits of cryptocurrency and blockchain technology. These dapps can be trustless, meaning that once they are deployed to Ethereum, they will always run as programmed. They can control digital assets to create new kinds of financial applications. They can be decentralized, meaning that no single entity or person controls them and are nearly impossible to censor.
Getting started with smart contracts and the Solidity language
Take your first steps to integrating Ruby with Ethereum
Need a more basic primer first? Check out ethereum.org/learn or ethereum.org/developers.
- Blockchain Explained(opens in a new tab)
- Understanding Smart Contracts(opens in a new tab)
- Write your First Smart Contract(opens in a new tab)
- Learn How to Compile and Deploy Solidity(opens in a new tab)
Beginner articles
- Finally understanding Ethereum accounts(opens in a new tab)
- Finally Authenticating Rails Users with MetaMask(opens in a new tab)
- Sign-In with Ethereum - Ruby Library and Rails Examples Release(opens in a new tab)
- How to connect to the Ethereum network using Ruby(opens in a new tab)
- How to generate a new Ethereum address in Ruby(opens in a new tab)
Intermediate articles
- Blockchain App with Ruby(opens in a new tab)
- Use the Ruby, connected to Ethereum, to execute the Smart Contract(opens in a new tab)
Ruby projects and tools
Active
- eth.rb(opens in a new tab) - Ruby library and RPC-client to handle Ethereum accounts, messages, and transactions
- keccak.rb(opens in a new tab) - The Keccak (SHA3) hash used by Ethereum
- siwe-ruby(opens in a new tab) - Ruby implementation of Sign-In with Ethereum
- siwe_rails(opens in a new tab) - Rails gem that adds SIWE local sign in routes
- siwe-rails-examples(opens in a new tab) - SIWE example using Ruby on Rails with custom controller
- omniauth-siwe(opens in a new tab) - OmniAuth strategy for Sign In With Ethereum (SIWE)
- omniauth-nft(opens in a new tab) - OmniAuth strategy for authenticating via NFT ownership
- ethereum-on-rails(opens in a new tab) - Ethereum on Rails template which allows to connect MetaMask to Ruby on Rails
Archived / No longer maintained
- web3-eth(opens in a new tab) - Calling RPC methods of Ethereum node with Ruby
- ethereum_tree(opens in a new tab) - Ruby library to generate ETH addresses from a Hierarchical Deterministic wallet according to the BIP32 standard
- etherlite(opens in a new tab) - Ethereum integration for Ruby on Rails
- ethereum.rb(opens in a new tab) - Ruby Ethereum client using the JSON-RPC interface for sending transactions, creating and interacting with contracts as well as useful toolkit to work with Ethereum node
- omniauth-ethereum.rb(opens in a new tab) - Implements the Ethereum provider strategy for OmniAuth
Looking for more resources? Check out our Developer's home.
Ruby community contributors
The Ethereum Ruby Telegram group(opens in a new tab) is a host to a rapidly growing community and is the dedicated resource for discussions on any of the above projects and related topics.