开发者 |
lynn999
ethereumicoio freemius |
---|---|
更新时间 | 2024年3月19日 16:22 |
捐献地址: | 去捐款 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 6.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
The EthPress NFT Access Add-On can be used to control access for WooCommerce products, simple pages and posts.
/wp-content/plugins/
directoryThe NFT Token based access control for the WooCommerce products, simple pages and posts can be done with the EthPress NFT Access Add-On. Free 7 days Trial is available!
EthPress 0.7.1+ respects the "Anyone can register" WordPress setting, so you have to enable that in Settings->General.
Use selectors like #web3-login-root button.web3login-metamask
, instead of the svelte-12345
.
The outline is described in this TopTal post by Amaury Martiny. Instead of using databased nonces, we use WordPress nonces with a lifetime of 5 minutes, and append the user IP to the login message to prevent replays from elsewhere. Fore more details, check out the extra readme.
When user submits a signature, it needs to be verified on server-side. Read the "How does it work?" question. Firstly, if you have php-gmp or php-bcmath extension installed, we'll do it with PHP, and you can ignore the rest of this. To check, go to the EthPress settings page. Otherwise, we do it with JavaScript. EthPress Premium comes configured with a Managed Verification Service. To verify signatures locally with JavaScript, see details: https://gitlab.com/losnappas/verify-eth-signature.
Yes. A wallet (e.g. MetaMask) does/should not leak your private keys out into the wild, that would be madness.
Mobile integration is in good condition, with WalletConnect QR code reading from wallets such as MetaMask Mobile, there is very little friction!
Ethpress does not store anything other than the wallet address, on your server. It will be deleted if you delete the associated user account or remove the plugin entirely. If you're using the default, pre-set signature verification service: it is hosted on the ethereumico.io. No data is stored here. Check EthPress Settings page for more information.
Contributions on GitLab only, thank you. Plugin's source code: https://gitlab.com/losnappas/ethpress. Signature verifier's, which is used if no php-gmp or php-bcmath, source code: https://gitlab.com/losnappas/verify-eth-signature. The modal is a Svelte component. Source code: https://gitlab.com/losnappas/web3-login.
On the wordpress.org support page, or on the ethereumico.io support forum.
Username already exists
error fix second attemptUsername already exists
error fixKnown issue: the Trust Wallet doesn't work in the Wallet Connect QR code mode.2.0.1
NOTE: breaking changes! The WalletConnect Project ID should be configured in plugin settings.
ethpress_before_submit_button
action is added for better addons supportHTML
tags in the status message for better addons supportethpress_login_user
and ethpress_login_redirect
filters are added to be used in addons