Deploying a lock

The first step to using Unlock as a creator is to deploy your own lock so you can sell memberships to your own content!

Locks are smart contracts on the Ethereum blockchain. This provides creators with unmediated control over who can access their work, and how much they want to charge for this. Unlock Inc. provides a simple dashboard to create a lock at the following address.

note: this currently requires an Ethereum wallet.

When creating a lock, the creator can select the following attributes:

  • The name of the lock (easier to identify it than its Ethereum address)

  • The duration of each key (how long they are valid for)

  • The price consumers need to pay to get a key, including its currency

  • How many keys at most can be sold

Once deployed the lock will have its own address and is fully owned by the creator (no-one, including Unlock Inc. can change or remove it). Locks can also be transferred to a different owner after they've been created.

The lock can also be customized even further, please, get in touch if you have questions!

Creating a Lock for a custom ERC20 token

The UI only offers to chose between DAI and Ether, but any ERC20 can be used. Locks can be configured to be backed by any token that conforms to the ERC20 specification. Currently, the fastest way to achieve this is by visiting the creator dashboard with the address and ticker of your backing token appended via the erc20 and ticker query parameters.