🔐 Creating a Crypto Token Gated Express application

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • locked-time

    An example using Unlock's Express plugin

  • 🧪 Want to try it out? We deployed the application on Heroku. 🧐 Want to look at the code? It is all on Github!

  • unlock

    Ʉnlock is a protocol for memberships built on a blockchain.

  • I'm here to show you how simple the process is for token gating content in an Express.js application using the Ʉnlock Protocol. Ʉnlock is a protocol for memberships that allows anyone to deploy a "lock" (a membership smart contract). The contract specifies the terms of the membership: including price, duration, number of members, and many more parameters necessary to run a thriving membership subscription. When a supporter wants to join your membership, they simply pay the specified amount to the contract and will receive an NFT that represents the purchased membership.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • metamask-extension

    :globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

  • Requirements: you need to use an ethereum/web3 wallet such as MetaMask. We will be using a the Rinkeby test network for this tutorial (no need to spend real money, get some fake Ether on this faucet), and when you decide to ship, you can use Ethereum's mainnet, or the xDAI and Polygon networks if you want to skip the high gas fees.

  • Express

    Fast, unopinionated, minimalist web framework for node.

  • For this demo, I created a dummy Express application that gives the time ⏰ in all timezones. The "free" version just includes 4 cities around the world, but the premium version offers a list of 457 cities!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts