Mode Paywall is a simple WordPress plugin that securely hides your content behind a paywall, allowing access only after a successful made transaction on the Mode network is confirmed. This plugin its create unique way for help site owener monetize with Mode rev share program.
-
Content Protection: Hide any part of your content until a transaction is completed.
-
Mode L2 Integration: Utilizes Mode rev share program for create uniqe way for monetization instead charge user we tap to third party program that easy to monetize on early stage.
-
Easy to Use: Simple shortcodes make it easy to implement the paywall on any post or page.
-
MetaMask Support: Fully compatible with MetaMask for Ethereum transactions.
-
Customizable: Flexibility to specify contract addresses and other parameters.
- Clone the repository:
git clone https://github.com/yourusername/mode-paywall.git
-
Upload the plugin files to your WordPress plugin directory:
/wp-content/plugins/
. -
Activate the plugin through the 'Plugins' screen in WordPress.
-
goto setting > Mode paywall > add your mode contract address (this tutorial how to deploy will found here )
-
example contract code are Here
- Wrap your content with the
[mode_paywall]
shortcode:
[mode_paywall]
Your premium content here...
[/mode_paywall]
Customize attributes if necessary, such as specifying a different Ethereum contract address.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Distributed under the GPL-3.0 License. See LICENSE for more information.
-
Ethereum
-
Web3.js
-
MetaMask