Moonbag is Python Crypto CLI for exploring crypto trends, coins, DeFi protocols, NFTs and others.
It's highly inspired by the famous GamestonkTerminal
git clone https://github.com/JakubPluta/moonbag.git
cd moonbag/
python -m venv env
source env/Scripts/activate
pip install poetry
poetry install
You need to visit following places to get your API KEYS (all of them are free)
- CryptoCompare: https://min-api.cryptocompare.com/pricing ( "Get your free api key")
- Reddit: https://www.reddit.com/prefs/apps (get client id, client secret and user agent)
- Wales: https://docs.whale-alert.io/#introduction (https://whale-alert.io/signup)
- Cryptopanic: https://cryptopanic.com/developers/api/
- Ethplorer: https://ethplorer.io/wallet/#api (It's not mandatory, u can use this API without key)
- BitQuery: https://bitquery.io/pricing
After you get your keys, you need to update it. You can do that in:
- /moonbag/common/keys.py
- or create .env file and store it there.
- Open key.py file in your editor and add your keys to relevant variables
WALES_API_KEY = <Enter your key>
CC_API_KEY = <Enter your key>
REDDIT_CLIENT_ID = <Enter your client id>
REDDIT_CLIENT_SECRET = <Enter your client secret>
REDDIT_USER_AGENT = <Enter your client user agent>
CRYPTO_PANIC_API = <Enter your key>
BIT_QUERY_API = <Enter your key>
- Create .env file in your main folder
- Open .env file in your editor and add your keys:
CC_API_KEY=<Enter your key>
WALES_API_KEY=<Enter your key>
REDDIT_CLIENT_ID=<Enter your client id>
REDDIT_CLIENT_SECRET=<Enter your client secret>
REDDIT_USER_AGENT=<Enter your client user agent>
CRYPTO_PANIC_API=<Enter your key>
BIT_QUERY_API = <Enter your key>
# In main directory write in terminal:
python moon.py
If you are running moonbag on windows with bash terminal, and you are facing issues with encoding. Try to write at the beginning
chcp.com 65001
set PYTHONIOENCODING=utf-8
Project is in alpha stage. The test coverage is close to 0. Be aware that there there will be a lot of issues, bugs. Feel free to report all faced bugs. Improvements, new functionalities and tests will be added systematically.
If you have an idea for improvement, new features. Pull requests are welcome.
- Coingecko
- Cryptocompare
- Coinpaprika
- UniSwap (GraphQL)
- Funding rates
- Wales txs
- Airdrops
- DeFi stats
- Defi Pulse
- Lllama
- Fear & Greed Index
- Blockchain explorers for most popular chains
- Ethereum
- TerraLuna
- Tests
- Charts
- Technical Analysis
- Social media data
- 4Chan
- BitcoinTalk