blomstra/web3

Web3 for Flarum

v0.1.5 2022-11-22 16:26 UTC

This package is auto-updated.

Last update: 2022-11-22 16:28:48 UTC


README

License Latest Stable Version Total Downloads

A Flarum extension. Web3 EVM & Rust Wallets connection for Flarum.

Requirements

  • FFI PHP extension (Required for Dotsama wallets).
  • GMP PHP extension (Required for EVM wallets).
  • PHP 8.0+.

Usage

  • Bind accounts from EVM or Dotsama Wallets to your user account by signing your username cryptographically.
  • Login to your user account using a bound wallet address by signing your username cryptographically.
  • Unbind web3 accounts from your user account at any time.
  • Sign up using a web3 account by signing your new username cryptographically.

Screenshots

bound wallets list admin settings sign up modal login modal evm wallets modal polkadot wallets modal

Installation

Install with composer:

composer require blomstra/web3:"*"
php flarum assets:publish

Updating

composer update blomstra/web3
php flarum migrate
php flarum cache:clear
php flarum assets:publish

Links