/reddit-nft-freebies

Reply to hot /r/NFTsMarketplace airdrop posts with your wallet address

Primary LanguagePythonThe UnlicenseUnlicense

Reddit NFT Freebies


example of a giveaway being held on the subreddit

Prerequisites

  • Python
  • Docker (If you intend on deploying the app as a Docker image)

Install

There are two ways to begin using the bot, depending on your preference:

Manual

git clone https://github.com/dsymbol/reddit-nft-freebies
cd reddit-nft-freebies
pip install -r requirements.txt
python main.py

Docker

git clone https://github.com/dsymbol/reddit-nft-freebies
cd reddit-nft-freebies
docker build -t reddit-nft-freebies .
docker run -d --name reddit-nft-freebies -v `pwd`/config.py:/app/config.py reddit-nft-freebies:latest

Configuration

Before running the bot, you must first set it up so it can connect to the Reddit API. Create a config.py file and fill in the following information:

  • REDDIT_CLIENT_ID: client id from reddit app
  • REDDIT_CLIENT_SECRET: client secret from reddit app
  • REDDIT_USERNAME: reddit account username
  • REDDIT_PASSWORD: reddit account password
  • ETH_ADDRESS: your ethereum wallet address

Create a Reddit app

  1. Go to your app preferences, and click on "Create an app" button at the bottom of the page.

  2. Fill out the "Create application" form, it doesn't matter what you fill inside it except the "type" section in which you must select "script".

  3. Click on the "Create app" button. Your newly created app should now appear under the "Developed applications" section!

  4. Copy the ID and SECRET of your app.