RainbowKit Login (Web3 Integration for Sign-In With Ethereum)

Description

Providing a Sign-In With Ethereum experience for WordPress using RainbowKit.

  • Allow users to log in with Ethereum
  • Style the login form to match your site
  • Insert a RainbowKit Login block anywhere you can insert a block
  • Enable cool mode for a fun experience 😎
  • Set required token balance for login
  • Sync ENS text records to WordPress user profile
  • Assign roles to users based on ERC-1155 token ownership

Want to try it out? Head here.

Screenshots

  • RainbowKit Login allows users to log in using their Ethereum wallet
  • RainbowKit Login can be styled to match your site
  • RainbowKit Login uses the Sign-In With Ethereum protocol
  • RainbowKit Login uses the user's address as their username, and an ENS address if available as their display name
  • RainbowKit Login includes a login block that can be customized
  • RainbowKit Login can be customized with a variety of settings
  • RainbowKit Login can sync ENS text records to WordPress user profile fields
  • RainbowKit Login can be used to apply specific roles to users based on ERC-1155 token ownership

Blocks

This plugin provides 1 block.

  • RainbowKit Login (Web3 Integration for Sign-In With Ethereum)

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-rainbow directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the β€˜Plugins’ screen in WordPress.
  3. Configure the plugin through the β€˜RainbowKit Login’ screen in the WordPress admin.

Using an Infura ID/API key is required to use most features in this plugin, including token-gating and role mapping. You can sign up for a free account here. The free tier is sufficient for most use cases. If you’re using this plugin for a production site, you’ll want to sign up for a paid account to avoid rate limiting.

Supplying your own WalletConnect Project ID is also highly recommended. You can sign up for a free project ID from WallectConnect Cloud.

FAQ

What filters are included?

Find reference implementations of all filters in example plugin here.

wp_rainbow_nonce_life – Filter amount of time before nonce expires.

wp_rainbow_role_for_address – Filter role granted to a specific address on sign-in.

wp_rainbow_should_update_roles – Filter whether roles should be set.

wp_rainbow_infura_id – Filter Infura ID/API key to override settings value.

wp_rainbow_walletconnect_project_id – Filter WalletConnect project ID to override settings value.

wp_rainbow_infura_network – Filter Infura network to override settings value.

wp_rainbow_redirect_url – Filter login redirect URL.

wp_rainbow_should_update_roles – Filter whether roles should be set.

wp_rainbow_should_disable_user_role_updates_on_login – Filter whether roles should be updated on login.

What actions are included?

wp_rainbow_validation_failed – Fires when validation fails.

wp_rainbow_user_created – Fires when user created.

wp_rainbow_user_updated – Fires when user updated.

wp_rainbow_user_login – Fires when user logs in.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“RainbowKit Login (Web3 Integration for Sign-In With Ethereum)” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.4.6

  • Fix bug with Infura endpoint mapping

0.4.5

  • Fix bug with Polygon network, add Polygon Mumbai

0.4.4

  • Update dependencies/support WordPress 6.4

0.4.3

  • Update dependencies/support WordPress 6.3

0.4.2

  • Update supported chains

0.4.1

  • Version bump only for release

0.4.0

  • Update WAGMI, RainbowKit, and web3 dependencies

0.3.4

  • Use patched version of web3 library to fix BigNumber issue

0.3.3

  • Update readme and messaging for Infura usage

0.3.2

  • Add support for Optimism network

0.3.1

  • Bug fixes

0.3.0

  • Major refactor with new React-powered admin and additional token-gating functionality

0.2.20

  • Bug fix to only set user role if featured is enabled via filter

0.2.19

  • Bump version to 0.2.19

0.2.18

  • Fix bug with login block CSS dependencies

0.2.17

  • Fix bug with user_email and user_url fields user meta

0.2.16

  • Add support for mapping ENS text records to user fields

0.2.15

  • Fix bug with override redirect URL on login block

0.2.14

  • Use alternate network for connection request too

0.2.13

  • Add documentation for network filter

0.2.12

  • Allow network to be specified for contract validation

0.2.11

  • Enhance options for filtering roles

0.2.10

  • Add RainbowKit Cool Mode support

0.2.9

  • Update WAGMI and RainbowKit to latest versions

0.2.8

  • Improved consistency around RainbowKit Login name

0.2.7

  • Initial plugin release to WordPress.org