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
- KOL can set up promotional content and create NFT gift packs
- 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.
- The server will automatically crawl the tweets, randomly select the lucky winners and generate NFT gifts to send to them
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 App for FanNFT
Another version FanNFT Web App
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
The documents about how to deploying FanNFT use dWeb toolkits, build by next.js