Giter Site home page Giter Site logo

doppler369 / phygital-experience Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thirdweb-example/phygital-experience

0.0 0.0 0.0 158 KB

Home Page: https://engine-phygital.vercel.app

License: Apache License 2.0

JavaScript 38.70% TypeScript 38.56% CSS 22.74%

phygital-experience's Introduction

Phygital experience with thirdweb Engine

This example demonstrates using thirdweb Engine to let users claim an NFT by scanning a QR code.

  1. Buyers scans a QR code they received with their physical product. For testing, you can use the QRs on the QRs page.
  2. Sign in with google/email on our website using embedded wallet.
  3. Click on the claim button which will call our backend API to mint the NFT.

The buyer receives the NFT without requiring wallet signatures or gas funds.

Instructions

  1. Create a .env.local file from the template:
    cp .env.example .env.local
  2. Provide details of your project.
    DATABASE_URL=
    NEXT_PUBLIC_TEMPLATE_CLIENT_ID=
    ENGINE_URL=
    THIRDWEB_ACCESS_TOKEN=
    BACKEND_WALLET_ADDRESS=
    NEXT_PUBLIC_NFT_CONTRACT_ADDRESS=
  3. Start the server with favorite package manager.
    bun dev

Get in touch

phygital-experience's People

Contributors

avneesh0612 avatar

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.