Unlock Protocol

Beschreibung

Unlock is a protocol for memberships which lets any creator monetize their content in a permissionless way.

You can try a demo on this site where the content of the post changes on whether the visitor is a member or not.

In order to become members, visitors need to be using a web3 enabled wallet such as MetaMask or a web browser with an embeded wallet, such as Opera. They also need a balance of Ether in order to purchase keys to pay for the memberships. Ether can be bought on exchanges such as Coinbase.

Getting Started

If you’d like to add a lock to your site, start by deploying your first lock.

While the lock is deploying you should download this plugin from the WordPress site. Then, from the administration of your WordPress.org website, in the Plugins section, click on the Add New button and then on the Upload Plugin button to upload the plugin.

Writing locked stories

First you will need to add the lock configuration for each post or page to which you will add locked content.
This can be done in the Document tab of the Editor. There look for the Unlock Protocol Configuration pane and add the required configuration. Check Unlock’s docs for available options.

Here is an example:
{ locks: { '0xB0114bbDCe17e0AF91b2Be32916a1e236cf6034F': { } }, callToAction: { } }

The plugin provides you with „Blocks“ which can be used in the Gutemberg Editor, for both posts and pages. We provide 2 different blocks:

  • The „Unlock“ block: a block whose content (and nested blocks) can be set to be visible to only members or non-members. Each block can be customized

  • The „checkout button“ block: a block with a button to let you add a button for people to become members. It is recommended to put this button inside of a block only visible to non-members!

Once your story includes the content you need, you can preview its content like any other WordPress post or page. We recommend the use of a web3 wallet which supports multiple accounts so that you can easily toggle between accounts which are already members and accounts which are not members yet!

Contributing

This plugin is, like all of the Unlock code, open source. You’re encouraged to fork it and make any changes you’d like! If you believe these changes would be beneficial to others, we encourage you to also open a Pull Request so that we could add these to the main branch released on the wordpress.org website!

In order to update the plugin, check out the current subversion state with

svn co  https://plugins.svn.wordpress.org/unlock-protocol

Then checkout the git repo inside of trunk and commit the changes into svn with:

svn ci -m "commit message"

Then, tag the new version (replace X and Y!) to release it:

svn cp trunk tags/X.Y
svn ci -m "tagging version X.Y"

Blöcke

Dieses Plugin unterstützt 2 Blöcke.

unlock/unlock-box
Unlock Protocol Block
unlock/checkout-button
Checkout Button

FAQ

To be completed with questions!

Rezensionen

12. Dezember 2019
Unlock is doing a great job creating an easy way for creators to monetize their content. I have big hopes that the blockchain can solve many of the current challenges and Unlock is definitely making the first steps. The plugin allows for an easy integration and way to create a wpywall for your content. Its crypto centric so ETH and DAI/SAI but they have a credit card option (which you need to email the unlock team about to use) – but its an awesome way to put up a decentralised paywall.
Lies alle 1 Rezension

Mitwirkende & Entwickler

„Unlock Protocol“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „Unlock Protocol“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

2.1

  • Uses the latest Unlock paywall script https://unlock-protocol.com/blog/introducing-latest-paywall/

2.0

  • each post/page can have a different configuration
  • block setting is now visible inside of the Editor

1.6

Button is not only visible when content is locked

1.5

Cleanup

1.1

Supporting nested blocks.

1.0

Initial version