There are two ways to begin using the bot, depending on your preference:
git clone https://github.com/dsymbol/reddit-nft-freebies
cd reddit-nft-freebies
pip install -r requirements.txt
python main.py
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
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 appREDDIT_CLIENT_SECRET
: client secret from reddit appREDDIT_USERNAME
: reddit account usernameREDDIT_PASSWORD
: reddit account passwordETH_ADDRESS
: your ethereum wallet address
-
Go to your app preferences, and click on "Create an app" button at the bottom of the page.
-
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".
-
Click on the "Create app" button. Your newly created app should now appear under the "Developed applications" section!
-
Copy the ID and SECRET of your app.