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
Blocks
This plugin provides 1 block.
- Wp Rainbow Login
Installation
- Upload the plugin files to the
/wp-content/plugins/wp-rainbow
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the βPluginsβ screen in WordPress.
- 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.
ContributorsTranslate “RainbowKit Login (Web3 Integration for Sign-In With Ethereum)” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.5.4
- Update Viem to fix SIWE bug
0.5.3
- Update dependencies
0.5.2
- Switch from simple-siwe to viem/siwe
0.5.1
- Add default helper classname for button
0.5.0
- Add support for custom RPC URLs and Base/Zora networks
- Add helper classnames to buttons for additional style customization
- Switch from SIWE to simple-siwe for smaller bundle size
- Add basic validations of settings before save
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