Title: Unlock Protocol
Author: julien51
Published: <strong>11 September 2019</strong>
Last modified: 1 Agustus 2023

---

Cari plugin

![](https://ps.w.org/unlock-protocol/assets/banner-772x250.jpg?rev=2154991)

Plugin ini **belum teruji dangan 3 rilis besar WordPress**. Kemungkinan tidak lagi
dipelihara atau didukung, dan mungkin menghadapi masalah kompatibilitas bila digunakan
dengan versi WordPress yang lebih baru.

![](https://ps.w.org/unlock-protocol/assets/icon-256x256.png?rev=2154991)

# Unlock Protocol

 Oleh [julien51](https://profiles.wordpress.org/julien51/)

[Unduh](https://downloads.wordpress.org/plugin/unlock-protocol.4.0.2.zip)

 * [Detail](https://id.wordpress.org/plugins/unlock-protocol/#description)
 * [Ulasan](https://id.wordpress.org/plugins/unlock-protocol/#reviews)
 * [Pengembangan](https://id.wordpress.org/plugins/unlock-protocol/#developers)

 [Bantuan](https://wordpress.org/support/plugin/unlock-protocol/)

## Deskripsi

[Unlock](https://unlock-protocol.com/) is a protocol for memberships that lets any
creator monetize their content permissionless.

In order to become members, visitors may need to be using a web3-enabled wallet 
such as [MetaMask](https://metamask.io/) or a web browser with an embedded wallet,
such as [Opera](https://www.opera.com/crypto). They also need a balance of crypto-
currency to purchase the memberships.

The plugin enables “full-post” locking, or just block-level level locking, using
the Gutemberg Editor.

The plugin uses Unlock’s default checkout UI, which means it lets users who do not
have wallet create an Unlock account or even pay using credit card, if your lock
supports this.

### Getting Started

If you’d like to add a lock to your site, start by [deploying your first lock]https://
app.unlock-protocol.com/locks/create). We _strongly_ recommend starting with a test
network such as Goerli.

While the lock is deploying, you should [download this plugin](https://wordpress.org/plugins/unlock-protocol/)
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.

Note: To allow new users to log in using their Ethereum wallet with a single click,
make sure that **Settings > General > Anyone can register** (for single sites) or**
Network Settings > Allow new registrations > User accounts** may be registered (
for multisites) is enabled. Your existing users can link their wallets to their 
WordPress accounts regardless of this setting.

### Writing locked stories

You can either choose to lock the whole post, using the post-level settings, or 
to lock specific Blocks in the UI with the Gutenberg Editor, for posts and pages.

To add the Unlock Protocol block inside the page/post please follow the below steps:

 1. Click on Post -> Add New
 2. To add a block you just need to click on “+” in the editor.
 3. Enter Unlock Protocol in the search.
 4. Unlock Protocol block will be shown. Click on the block, the block gets added.
 5. You will be able to see block settings on the right side. From block settings, 
    add at least one lock, select the right network and, enter its address.

Once your page or post 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](https://github.com/unlock-protocol/unlock-wordpress-plugin).
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!

#### Local Development

To setup local development environment for the plugin using we recommend using [Localwp](https://localwp.com/).
To get started, simply clone the repo from [GitHub](https://github.com/unlock-protocol/unlock-wordpress-plugin).

The repo includes a `unlock-wordpress-plugin` which has the required `.php` files
and in which asset files (javascript, CSS and images) are added at build time.

You can package the whole plugin by using `yarn run release` and install it in your
local WordPress instance. Alternatively, you can add a symbolic link in the local
WordPress’s `wp-content/plugins` folder that points to the `unlock-wordpress-plugin`.

#### Publishing the plugin

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

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

Then, from the GitHub repo clone, inside the `assets` folder, write

    ```
    yarn run release
    ```

This will generate a zip file in dist directory, unzip that file and copy the content
to trunk directory in svn repo 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"
    ```

Additionally, please make sure you tag the version on Github:

    ```
    git tag -a X.Y -m "tagging version X.Y"
    git push origin X.Y
    ```

And finally, create the release on Github’si UI

## Blok

Plugin ini menyediakan 1 blok.

 *   Unlock Protocol

## Tanya Jawab

To be completed with questions!

## Ulasan

![](https://secure.gravatar.com/avatar/d7fbc424074f75075982dee38557f56d8cad39e7453e54b6f0f8db5280ae8b73?
s=60&d=retro&r=g)

### 󠀁[Brilliant plugin! I hope for further development and updates.](https://wordpress.org/support/topic/brilliant-plugin-i-hope-for-further-development-and-updates/)󠁿

 [jordanbg](https://profiles.wordpress.org/jordanbg/) 23 Oktober 2022

The Unlock protocol is just brilliant, it will be good if this plugin gets further
development and add more features and integrations with popular page builders like
Elementor, WPBakery, and others.. Anyway, it still has 5 stars from me as it is 
a really simple to use and useful plugin!

![](https://secure.gravatar.com/avatar/b6c12c3e10de96dfbc2665e189ab83bed1d0e0e0ca3e51f7e4c834510d24d2a4?
s=60&d=retro&r=g)

### 󠀁[Excellent !](https://wordpress.org/support/topic/excellent-11757/)󠁿

 [Earnie Rhyker](https://profiles.wordpress.org/rhyker2u/) 8 April 2022

Simple and effective.

![](https://secure.gravatar.com/avatar/cc8129e867d62b5d6ef7faa2b25391e677661d416c4ca558c81fc589ce0bb859?
s=60&d=retro&r=g)

### 󠀁[Turn your site into a Web3 App](https://wordpress.org/support/topic/turn-your-site-into-a-web3-app/)󠁿

 [masoninthesis](https://profiles.wordpress.org/masoninthesis/) 26 Januari 2022

This plugin is Unlock Protocol packed into an easy to use package. Install it, and
your posts are automatically compatible with Web3. Learning to use Unlock’s dashboard
and web wallets is the hard part, using this plugin is incredibly easy and straightforward.

![](https://secure.gravatar.com/avatar/1b63a1a622bbc417e2fff92ad3921792cc48c596a39fee57c1d0af91a4324513?
s=60&d=retro&r=g)

### 󠀁[Great Idea and Easy to Use Paywall](https://wordpress.org/support/topic/great-idea-and-easy-to-use-paywall/)󠁿

 [smombartz](https://profiles.wordpress.org/smombartz/) 12 Desember 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.

 [ Baca semua 4 ulasan ](https://wordpress.org/support/plugin/unlock-protocol/reviews/)

## Kontributor & Pengembang

“Unlock Protocol” adalah perangkat lunak open source. Berikut ini mereka yang sudah
berkontribusi pada plugin ini.

Kontributor

 *   [ julien51 ](https://profiles.wordpress.org/julien51/)

“Unlock Protocol” telah diterjemahkan dalam 1 bahasa. Terima kasih kepada [para penerjemah](https://translate.wordpress.org/projects/wp-plugins/unlock-protocol/contributors)
untuk kontribusi-nya.

[Terjemahkan “Unlock Protocol” dalam bahasa Anda.](https://translate.wordpress.org/projects/wp-plugins/unlock-protocol)

### Tertarik mengembangkan?

[Lihat kode](https://plugins.trac.wordpress.org/browser/unlock-protocol/), periksa
[repositori SVN ](https://plugins.svn.wordpress.org/unlock-protocol/), atau mendaftar
ke [log pengembangan](https://plugins.trac.wordpress.org/log/unlock-protocol/) melalui
[RSS](https://plugins.trac.wordpress.org/log/unlock-protocol/?limit=100&mode=stop_on_copy&format=rss).

## Log Perubahan

#### 4.0.2

 * handling postMeta undefined

#### 4.0.1

 * Version bump to reflect changes in README

#### 4.0.0

 * Re-architected plugin
 * Adding support for fully locked posts

#### 3.2.3

 * Updated RPC endpoints

#### 3.2.2

 * Fixing auth endpoint

#### 3.2.1

 * Changed default RPC endpoint for gnosis chain
 * Support for PHP7.0
 * Checkout URL customization
 * Endpoint customization

#### 3.2.0

 * Switching RPC check to use getHasValidKey so that it can grant access based on
   the hasValidKeyHook

#### 3.1.0

 * Adding support for blocks with multiple locks

#### 3.0.0

 * Brand new plugin with updated UI
 * User can login to the WordPress site by using Unlock Protocol account.
 * Pre-filled networks
 * Setting to add/delete networks.
 * Setting to customize the login and checkout button.
 * User is linked with the Unlock Protocol site.
 * Now the login and purchase is validated from the Unlock Protocol site and content
   is displaying after the user has the correct access on that specific content.
 * Added new Hooks.

#### 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

## Meta

 *  Versi **4.0.2**
 *  Diperbarui **3 tahun yang lalu**
 *  Instalasi Aktif **70+**
 *  Versi WordPress ** 5.1 atau yang terbaru **
 *  Diuji hingga **5.9.13**
 *  Versi PHP ** 7.0 atau yang terbaru **
 *  Bahasa
 * [Dutch](https://nl.wordpress.org/plugins/unlock-protocol/) dan [English (US)](https://wordpress.org/plugins/unlock-protocol/).
 *  [Terjemahkan dalam bahasa Anda](https://translate.wordpress.org/projects/wp-plugins/unlock-protocol)
 * Tag
 * [ethereum](https://id.wordpress.org/plugins/tags/ethereum/)[membership](https://id.wordpress.org/plugins/tags/membership/)
   [monetization](https://id.wordpress.org/plugins/tags/monetization/)[paywall](https://id.wordpress.org/plugins/tags/paywall/)
   [unlock](https://id.wordpress.org/plugins/tags/unlock/)
 *  [Tampilan lanjut](https://id.wordpress.org/plugins/unlock-protocol/advanced/)

## Rating

 5 dari 5 bintang.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/unlock-protocol/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/unlock-protocol/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/unlock-protocol/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/unlock-protocol/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/unlock-protocol/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/unlock-protocol/reviews/#new-post)

[Lihat semua ulasan](https://wordpress.org/support/plugin/unlock-protocol/reviews/)

## Kontributor

 *   [ julien51 ](https://profiles.wordpress.org/julien51/)

## Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

 [Lihat forum bantuan](https://wordpress.org/support/plugin/unlock-protocol/)