Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Web3 Auth

No security coverage
View on drupal.org

This module allows connecting and authenticating in Drupal 10, with a web3 wallet and Metamask.

Features

User management can be disabled in settings if you only want to connect wallet in front-end, without altering the user creation and login core system.

The following default chains dictionnary is set :
- Ethereum Mainnet
- Goerli Testnet
- BNB Smart Chain Mainnet
- BNB Smart Chain Testnet
- Polygon Mainnet
- Localhost Network
- Polygon zkEVM Testnet
- Base Mainnet
- Base Goerli
- Sepolia

You can specify the required chain id and define your own chains dictionnary.

A custom block includes buttons to connect, switch network, add network, and provides info about web3 connection.

Post-Installation

Place the Web3 Auth block in a theme region.
You can configure the module at /admin/config/web3_auth/settings

Additional Requirements

This module requires no modules outside of Drupal core.

It requires some PHP libraires though.

Be sure php-gmp and php-bcmath are installed in your server.

The following composer libraires are required : kornrunner/keccak and simplito/elliptic-php.

Similar projects

This is in fact a complete rewrite of the web3 module, as it needed major changes to work with Drupal 10:

  • no jQuery (as no more present in D10)
  • no 3rd paty web3 libs which requires an external account/API key
  • other improvements on wallet chnages and more...

Supporting this Module

If you feel like helping improving this project, or if you need custom features, feel free to contact me and buy me a beer sending funds to this wallet:

0xA607e4678756e4B23FB2e09c8F70996C3805207F

Community Documentation

The readme file should be fine, if you need help setting up the module, please open an issue.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release Aug 29, 2023