GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - unlock-protocol/examples: Enjoy our curated collection of examples and solutions using unlock protocol.

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
.yarn
.yarn
 
 
examples
examples
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.yarnrc.yml
.yarnrc.yml
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package.json
package.json
 
 
turbo.json
turbo.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Unlock Examples

This repository contains examples and sample applications built using unlock protocol in different contexts. You can use the examples here as a starting point for building your own applications!

Please, do check the Unlock Protocols docs for extensive documentation.

The examples are loosely sorted by languages and framework used. Each of them contains a README that provides more details about what the specific example provides.

Solidity

Hooks

  • Discount Hook

A basic hook example to set special discounted price for specific addresses when they purchase a membership

Javascript

Nodejs

  • Discord Checkout Bot

A token gating discord bot which allows creators to sell NFT and give access to their discord. This example makes use of unlock checkout and authentication APIs to integrate with discord.

  • Discord Webhook

A discord webhook to receive information about newly created keys and locks on different networks supported by unlock on discord channels. This example makes use of websub APIs provided by unlock to subscribe and receive events from locksmith.

React

  • Ticket Chat

A realtime chat application built on top of liveblocks to allow unlock NFT ticket holders to chat with each other at events. This example makes use of unlock QR code tickets and SIWE integration to build a smooth token gating event chat flow.

  • Wagmi.sh

Wagmi

A basic react application (create-react-app) that shows how to use Wagmi.sh with Unlock.

Nextjs

  • Nextjs Gating

A nextjs gating template app which uses server side gating and access control based on tier of memberships. This example makes of use unlock checkout and authentication APIs to provide server-side gating and access control.

Unlockjs

Subgraph-Service

  • Subgraph service

Using the SubgraphService to query locks.

License

All code is licensed under MIT

About

Enjoy our curated collection of examples and solutions using unlock protocol.

unlock-protocol.com/developers

Topics

dappsethereumethersjsnextjsnfttypescriptunlockunlock-protocol

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

15 stars

Watchers

3 watching

Forks

15 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.