Ethereum On Rails

screenshot of Ethereum On Rails
rails

ethereum on rails (template): connect metamask to ruby on rails.

Overview:

The product is an Ethereum on Rails MVP that allows users to sign-up and log-in using their Ethereum wallet, such as the MetaMask browser extension. It provides a secure authentication method for Rails users with Ethereum accounts.

Features:

  • Sign-up and log-in with Ethereum wallet (MetaMask).
  • User model with attributes: username, eth_address, and eth_nonce.
  • Users controller for creating new users and validating input.
  • Users view for the sign-up page with fields for username and Ethereum address.
  • Frontend logic (users_new.js) to establish a connection with an Ethereum wallet.
  • Sessions controller for managing user authentication (login/logout).
  • Frontend logic (sessions_new.js) to authenticate a user with an Ethereum account.

Summary:

The Ethereum on Rails MVP provides a convenient and secure way for Rails users to sign-up and log-in using their Ethereum wallet. It includes a user model, controllers for user creation and authentication, and views for the sign-up and login pages. The frontend logic handles the establishment of a connection with the Ethereum wallet and validates the authentication process. With this MVP, Rails developers can easily implement Ethereum-account authentication in their applications.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.