Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsymbol/reddit-nft-freebies
Reply to hot /r/NFTsMarketplace airdrop posts with your wallet address
https://github.com/dsymbol/reddit-nft-freebies
airdrop crypto freebies giveaway-bot nft nft-marketplace reddit
Last synced: 2 months ago
JSON representation
Reply to hot /r/NFTsMarketplace airdrop posts with your wallet address
- Host: GitHub
- URL: https://github.com/dsymbol/reddit-nft-freebies
- Owner: dsymbol
- License: unlicense
- Created: 2021-11-15T18:28:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-27T10:50:28.000Z (over 1 year ago)
- Last Synced: 2023-08-27T11:56:38.439Z (over 1 year ago)
- Topics: airdrop, crypto, freebies, giveaway-bot, nft, nft-marketplace, reddit
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Prerequisites
- [Python](https://www.python.org/downloads/)
- [Docker](https://docs.docker.com/get-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
```bash
git clone https://github.com/dsymbol/reddit-nft-freebies
cd reddit-nft-freebies
pip install -r requirements.txt
python main.py
```### Docker
```bash
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](https://old.reddit.com/prefs/apps/), 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.