Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 1.31 KB

README.md

File metadata and controls

19 lines (12 loc) · 1.31 KB

Reddit Mint Bot

Use on reddit

Bot that uses HTML -> Image generation to create an image of a reddit post and mint it with Poster/Subreddit attributes if a user comments and mentions the bot in the following format:

/u/CommentNFTMinter 0xTHEIR_POLY_ADDRESS

Example usage can be seen on the CommentNFTTest subreddit. The bot does work but it's getting stuck in my spam filter for some reason despite it being a moderator, approved user, and flagged in the automoderator script to be automatically approved -_-. So apologies for the issues in testin.

Logic

All the logic handling the reddit bot and crossmint minting live in handler.js. The bot is deployed to AWS lambda with a 1 minute cron job using serverless.

Notes

As mentioned, I've been testing it around in /r/CommentNFTTest. Idk how well my bot will work elsewhere since it's brand new (and has low karma so might get caught in a lot of spam filters), but he's an approved submitted to that test subreddit.

Also, there was originally a SvelteKit frontend part that was later removed which is why the vercel link is still there. Please ignore.

Shoutouts

Bot made possible by CrossMint, Serverless, and Snoowrap.