ethereum
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
The module is intended to become a bundle of tiny modules providing various approaches to connect Drupal and the Ethereum blockchain.
This module is in Prove of concept state.
As most projects around Ethereum are in Alpha'ish state. It's a longterm project.
See roadmap
Current Features
Drupal and Ethereum will use a implementation of the JSON RPC Ethereum API which is developed next to this module as a Ethereum PHP library.
I developed a Example Login Smart Contract to enable a simple connect Drupal user with Ethereum Address functionality. The contract could be modified to provide a "payed" log-in.
Ethereum user connector
submodule will add a Ethereum Address field to the user profile. The user may validate his address by submitting a Drupal generated hash to the login contract using Metamask browser plugin or Ethereum's Mist browser.
Drupal backend connects to the blockchain uses PHP to verify the users submission and adds an "Authorized Ethereum User" role on success.
Connect to Ethereum
The module settings allow you to use Infura to access Ethereum network nodes for a easy start. You may connect to any other Ethereum Node of your trust to connect.
Dependencies
Composer is required in order to download the ethereum-php library.
If you used composer to install Drupal core and the Ethereum module everything should work out of the box.
Don't know composer? You should.
Getting started
Please check the installation instructions.
Additional info
- You may check out the slides from our dcmuc16 talk.
- Github of repository the latest version/commits of THIS MODULE.
- Repository of ethereum-php library.
- Repository of register_drupal_ethereum smart contract
- Run your own geth node:
If you want to use geth (go-ethereum client) Here is how to install geth on many OS.Then you start the geth server with rpc. On my mac like this. Keep in mind that the "*" allows connections from any host.
geth --testnet --rpc --rpccorsdomain="*"
