{"id":66,"date":"2022-04-19T19:19:32","date_gmt":"2022-04-19T19:19:32","guid":{"rendered":"https:\/\/unlock-protocol.com\/guides\/?p=66"},"modified":"2025-03-27T20:41:45","modified_gmt":"2025-03-27T20:41:45","slug":"how-to-create-a-lock","status":"publish","type":"post","link":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/","title":{"rendered":"How to Create a Lock"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"66\" class=\"elementor elementor-66\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1cb9fa9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1cb9fa9\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-16360c77\" data-id=\"16360c77\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b978e64 elementor-widget elementor-widget-heading\" data-id=\"b978e64\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h3 class=\"elementor-heading-title elementor-size-default\">Introduction<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3967420 elementor-widget elementor-widget-text-editor\" data-id=\"3967420\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<p>The first step to using Unlock as a creator is to deploy your own lock so you can sell memberships to your own content! Each membership is a Non Fungible Token which you can customize easily.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e399aa elementor-widget elementor-widget-heading\" data-id=\"5e399aa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Locks are Smart Contracts<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e7a2e65 elementor-widget elementor-widget-text-editor\" data-id=\"e7a2e65\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Locks are smart contracts on an Ethereum compatible blockchain. This provides creators with<strong> unmediated control over who can access their work<\/strong>, and how much they want to charge for this. There is a dashboard to create a lock. When creating a lock, the creator can select the following attributes:<\/p><ul><li>The name of the lock (easier to identify it than its Ethereum address)<\/li><li>The duration of each key (how long they are valid for)<\/li><li>The price consumers need to pay to get a key, including its currency<\/li><li>How many keys at most can be s<\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e64046f elementor-widget elementor-widget-heading\" data-id=\"e64046f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Lock Details<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e13a72b elementor-widget elementor-widget-text-editor\" data-id=\"e13a72b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Once deployed, the lock will have its own address and is <strong>fully owned<\/strong> by the creator (no one, including Unlock Inc. can change or remove it). The initial creator of the lock can also add other &#8220;lock managers&#8221; who are able to co-manage the lock. Once deployed, the dashboard will show you details about your lock.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-181b1ac elementor-widget elementor-widget-video\" data-id=\"181b1ac\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=FuDyzDYb_3E&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-widget-video .elementor-widget-container{overflow:hidden;transform:translateZ(0)}.elementor-widget-video .elementor-wrapper{aspect-ratio:var(--video-aspect-ratio)}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{height:100%;width:100%;display:flex;border:none;background-color:#000}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-wrapper{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-wrapper iframe,.elementor-widget-video .elementor-wrapper video{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .elementor-open-inline .elementor-custom-embed-image-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:50%}.elementor-widget-video .elementor-custom-embed-image-overlay{cursor:pointer;text-align:center}.elementor-widget-video .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play i{opacity:1}.elementor-widget-video .elementor-custom-embed-image-overlay img{display:block;width:100%;aspect-ratio:var(--video-aspect-ratio);-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center}@supports not (aspect-ratio:1\/1){.elementor-widget-video .elementor-custom-embed-image-overlay{position:relative;overflow:hidden;height:0;padding-bottom:calc(100% \/ var(--video-aspect-ratio))}.elementor-widget-video .elementor-custom-embed-image-overlay img{position:absolute;top:0;right:0;bottom:0;left:0}}.elementor-widget-video .e-hosted-video .elementor-video{-o-object-fit:cover;object-fit:cover}.e-con-inner>.elementor-widget-video,.e-con>.elementor-widget-video{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-945989b elementor-widget elementor-widget-text-editor\" data-id=\"945989b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>The logo of your lock can be customized. This logo is the one <a href=\"https:\/\/unlock-protocol.com\/guides\/customize-nft-image\/\">used for the NFT<\/a> that your users will purchase when they get a membership.You will see the name, its duration, the number of existing memberships and the maximum amount that the lock can grant, the price and the current balance on the lock. Some things you can do include:<\/p><ul><li><a href=\"https:\/\/unlock-protocol.com\/guides\/enabling-credit-cards\/\">Enable credit card payments<\/a><br \/>Withdraw funds (once memberships have been sold!)<\/li><li>See a demo of your lock on a demonstration site<\/li><li>View the list of members<\/li><li><a href=\"https:\/\/docs.unlock-protocol.com\/move-to-guides\/plugins-and-integrations\/\">Integrate your lock in existing applications<\/a><\/li><li>Inspect your lock using a block explorer\u00a0<\/li><\/ul><p>The lock&#8217;s behavior can also be customized even further. For example, you can <a href=\"https:\/\/docs.unlock-protocol.com\/move-to-guides\/how-to-make-keys-non-transferrable\">disable transfers<\/a>, or <a href=\"https:\/\/unlock-protocol.com\/guides\/how-to-airdrop-memberships\/\">airdrop membership NFTs to anyone<\/a>.<\/p><p>Finally, and this is critical, the smart contracts are verified. Click on the explorer icon to inspect it or interact with it from the block explorer.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The first step to using Unlock as a creator is to deploy your own lock so you can sell memberships to your own content! Each membership is a Non Fungible Token which you can customize easily.<\/p>\n","protected":false},"author":7,"featured_media":996,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[44,21],"tags":[35,15],"class_list":["post-66","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-basics","category-guide","tag-lock","tag-nft"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create a Lock - Unlock Guides<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Lock - Unlock Guides\" \/>\n<meta property=\"og:description\" content=\"The first step to using Unlock as a creator is to deploy your own lock so you can sell memberships to your own content! Each membership is a Non Fungible Token which you can customize easily.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/\" \/>\n<meta property=\"og:site_name\" content=\"Unlock Guides\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-19T19:19:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-27T20:41:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1800\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unlock Labs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unlock Labs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/\",\"name\":\"How to Create a Lock - Unlock Guides\",\"isPartOf\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png\",\"datePublished\":\"2022-04-19T19:19:32+00:00\",\"dateModified\":\"2025-03-27T20:41:45+00:00\",\"author\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27\"},\"breadcrumb\":{\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png\",\"contentUrl\":\"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png\",\"width\":1800,\"height\":1200,\"caption\":\"create NFT lock\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https:\/\/unlock-protocol.com\/guides\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Lock\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#website\",\"url\":\"https:\/\/unlock-protocol.com\/guides\/\",\"name\":\"Unlock Guides\",\"description\":\"Connect with your 1000 true fans with membership NFT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unlock-protocol.com\/guides\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27\",\"name\":\"Unlock Labs\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g\",\"caption\":\"Unlock Labs\"},\"url\":\"https:\/\/unlock-protocol.com\/guides\/author\/unlockteam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Lock - Unlock Guides","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Lock - Unlock Guides","og_description":"The first step to using Unlock as a creator is to deploy your own lock so you can sell memberships to your own content! Each membership is a Non Fungible Token which you can customize easily.","og_url":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/","og_site_name":"Unlock Guides","article_published_time":"2022-04-19T19:19:32+00:00","article_modified_time":"2025-03-27T20:41:45+00:00","og_image":[{"width":1800,"height":1200,"url":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png","type":"image\/png"}],"author":"Unlock Labs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Unlock Labs","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/","url":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/","name":"How to Create a Lock - Unlock Guides","isPartOf":{"@id":"https:\/\/unlock-protocol.com\/guides\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage"},"image":{"@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage"},"thumbnailUrl":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png","datePublished":"2022-04-19T19:19:32+00:00","dateModified":"2025-03-27T20:41:45+00:00","author":{"@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27"},"breadcrumb":{"@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#primaryimage","url":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png","contentUrl":"https:\/\/unlock-protocol.com\/guides\/wp-content\/uploads\/2022\/04\/creating-lock.png","width":1800,"height":1200,"caption":"create NFT lock"},{"@type":"BreadcrumbList","@id":"https:\/\/unlock-protocol.com\/guides\/how-to-create-a-lock\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Guides","item":"https:\/\/unlock-protocol.com\/guides\/"},{"@type":"ListItem","position":2,"name":"How to Create a Lock"}]},{"@type":"WebSite","@id":"https:\/\/unlock-protocol.com\/guides\/#website","url":"https:\/\/unlock-protocol.com\/guides\/","name":"Unlock Guides","description":"Connect with your 1000 true fans with membership NFT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unlock-protocol.com\/guides\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/86a3d8403e1c58bd42cc4695cad75b27","name":"Unlock Labs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/unlock-protocol.com\/guides\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51d138ba516030128480d1b9dcc5312f6f306a984bebcc5e79aa2db8c8d8259f?s=96&d=mm&r=g","caption":"Unlock Labs"},"url":"https:\/\/unlock-protocol.com\/guides\/author\/unlockteam\/"}]}},"_links":{"self":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts\/66","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":0,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/media\/996"}],"wp:attachment":[{"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unlock-protocol.com\/guides\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}