A Cardano NFT Twitter bot that monitors sales for a collection. It pulls and monitors data from OpenCNFT and posts any new sales on Twitter. The bot was created with Javascript + Node.js. It is very similar to a Python verison I built: CNFT Sales Twitter Bot. It should be fairly easy to tweak around in case anyone wishes to use it for their own project.
- A Twitter developer account - Will require Elevated Access for full twitter functions.
- Javascript + Node.js
- twitter-api-v2 : Posting to Twitter
- dotenv : storing api keys
- cross-fetch : reliable fetch for Nodejs
- console-stamp : timestamping console.log messages
- sharp : resizing images too big for Twitter
- coingecko-api : convert $ADA to USD