Giter Site home page Giter Site logo

unlock-protocol / examples Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 16.0 431.83 MB

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

Home Page: https://unlock-protocol.com/developers

License: MIT License

unlock unlock-protocol dapps ethereum ethersjs nextjs nft typescript

examples's Introduction

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

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

Javascript

Nodejs

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.

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

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

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

Nextjs

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

Using the SubgraphService to query locks.

License

All code is licensed under MIT

examples's People

Contributors

julien51 avatar searchableguy avatar solomonfoskaay avatar wonderwomancode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

examples's Issues

Add missing examples

We should add the following Flocker, Advent Calendar, HongBao, EthDenver... etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.