January 24, 2026

Capitalizations Index – B ∞/21M

POC – Drupal Ethereum validated paywall

Poc - drupal ethereum validated paywall

POC – Drupal Ethereum validated paywall

Poc - drupal ethereum validated paywallThis Video demonstrates how to use Drupal to create a Ethereum based paywall using the Drupal “Ethereum user connector”.

The used smart Contract is actually not a paywall, as there are no charges but the computational cost required by Ethereum.

https://www.drupal.org/project/ethereum

Your sound is working. The video is non-verbal 😉

Transcript of the setup process:

# Install Drupal
composer create-project drupal-composer/drupal-project:~8.0 drupal –stability dev –no-interaction
mysql -uroot –execute=”CREATE DATABASE `drupalEthereumNews.local`;”
mkdir drupal/config
cd drupal/web
drush site-install standard –db-url=”mysql://root:root@localhost:3306/drupalEthereumNews.local” –account-name=”tho” –account-pass=”password” –site-name=”drupalEthereum.local” –account-mail=”email@donkeymedia.eu” –site-mail=”email@donkeymedia.eu” –config-dir=”../config” –notify=”global”

# Add some modules and enable them
cd ..
composer require drupal/restui drupal/admin_toolbar drupal/node_view_permissions drupal/ethereum
cd web/
drush en admin_toolbar_tools node_view_permissions ethereum_user_connector restui -y

# Add a landing page and a page title
→ UI

# Set up Drupal’s private files
mkdir ../private_files && chmod 777 ../private_files
# Add private file path to settings.php
bb sites/default/settings.php

# Set up a restricted content type & add some content
→ UI

# Enable Ethereum user Connector
drush en ethereum_user_connector -y
* Don’t forget to review settings by saving the form

# Create a view and add it to the front page
* Permission by role “Authorized Ethereum User” (and Admin)
* Adapt Settings for
** Teaser
** Default

# Edit Blocks to Front page
* Add the KittenNews view
** Restrict visibility on Page <front>
** Restrict visibility on Role Ethereum Authenticated User
* Remove Search
* Add login Block to sidebar

# Review Permissions per Content Type
* Node View Permissions. See: https://www.drupal.org/project/node_view_permissions
** Make Page content type visible for everyone
** Restrict view for KittenNews Content type
* Ensure REST Permissions for authenticated users

# User registration settings
* Can register per email verification

# Add fields to user Form and View
* Form
** Add Ethereum Address field
** Add Ethereum Status field
* View
** Add Ethereum Address field
** Add Ethereum Status field

# Register a user
You will currently require Metamask Chrome extension, Mist Browser or any other web3 provider engine.

Previous Article

What a heavy mule yon Bitcoin [BTC]

Next Article

Bitcoin (BTCUSD) Long term bearish but currently seems bullish.

You might be interested in …

Новости 09/11

Blockchain on Medium Новости 09/11 SEC оштрафовала основателя EtherDelta на 500 тысяч $ Continue reading on Medium » more info…