/FanNFT

A Dapp that allows KOL to easily give NFT gifts to their fans, host on Akash decloud, smart contract using flow blockchain, NFT images save on Skynet

Primary LanguageJavaScript

FanNFT

A Dapp that allows KOL to easily give NFT gifts to their fans, host on Akash decloud, smart contract using flow blockchain, NFT images save on Skynet

  1. KOL can set up promotional content and create NFT gift packs
  2. Fans will have a chance to win an NFT drop by simply tapping "Retweet to my Twitter" and not deleting the tweet before the deadline.
  3. The server will automatically crawl the tweets, randomly select the lucky winners and generate NFT gifts to send to them

Dweb Deployment Guide

Project Structure

Process

overview

Folder Description

api

Using flow-python-sdk to interact with flow blockchain. The server uses the Admin's private key to sign and send the transaction to "randomly select the lucky winner and generate an NFT gift to send to them". Requires manual setup of Twitter developer account keys. More intro: api/README.md

web

Web App for FanNFT

app

Another version FanNFT Web App

cadence

The core contract is contract/FanNFT.cdc. Transactions are divided into giver, admin, and fans folders, which correspond to the transactions that should be sent for different roles and permissions. Use flow-js-testing for testing, for instructions see cadence/test/README.md

guide

The documents about how to deploying FanNFT use dWeb toolkits, build by next.js