Git Product home page Git Product logo

nftwitch's Introduction

nftwitch

Earn dynamic NFTs as you grow your Twitch channel, for Chainlink Hackathon 2021

Live Demo (use Rinkeby testnet): https://nftwitch.link/

Watch the demo video here

Project Structure

This project is composed of three parts:

  1. The front-end web app (my-eth-app)
  2. The dynamic NFT contracts (dynamic-nft)
  3. Custom-built external adapter for Twitch (cl-ea-twitch)

Inspiration

While brainstorming project ideas, I thought maybe I should try doing something related to NFTs since they are popular right now. Then, I found this article: https://blog.chain.link/create-dynamic-nfts-using-chainlink-oracles/ One of those ideas involves minting NFTs based on external conditions. As a gamer, game developer, and streamer, it was not long before I realized I could try to integrate with Twitch for this purpose.

I also wanted to pick an idea that was small enough for me to actually finish within the time limit while also teaching me about Chainlink. So far this project has taught me a little bit about every aspect of it, from running a node, external adapters, and external API calls from within smart contracts.

Purpose

By interacting with smart contracts and Chainlink oracles, Twitch streamers can mint dynamic NFTs as they grow their channels. Every X followers, the streamer is allowed to mint Y NFTs that they can then re-sell to their fans directly or on open marketplaces. Both parties have something to gain: the funds can be used as a source of income to help bootstrap a streamer, and fans can hold onto a rare and unique, one-of-a-kind collectible. Due to the dynamic nature of the NFT, the value may change over time and fans can re-sell to each other. Since the act of following a streamer on Twitch costs nothing to the viewer, it has never been easier for a streamer to start earning income from their fans.

How it works

Streamers register with a smart contract via the front-end, using Chainlink's API to verify ownership of their Twitch account. Streamers can periodically return to the site and mint a number of NFTs when a new follower threshold is reached (verified by Chainlink). Upon minting, the NFTs are allocated to the streamer and can then be redistributed and/or sold to fans.

nftwitch's People

Contributors

antonstrickland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.