(version-2) (21-JULY-2024)
$$\ $$$$$$$\ $$\ $$\ $$\ $$\
$$ | $$ __$$\ $$ | $$ | $$ | \__|
$$ | $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$ | $$ |$$ | $$$$$$\ $$$$$$$\ $$ | $$\ $$$$$$$\ $$$$$$$\ $$$$$$\ $$\ $$$$$$$\
$$ | $$ __$$\ \____$$\ $$ __$$\ $$ __$$\ $$$$$$$\ |$$ |$$ __$$\ $$ _____|$$ | $$ |$$ _____|$$ __$$\ \____$$\ $$ |$$ __$$\
$$ | $$$$$$$$ | $$$$$$$ |$$ | \__|$$ | $$ | $$ __$$\ $$ |$$ / $$ |$$ / $$$$$$ / $$ / $$ | $$ | $$$$$$$ |$$ |$$ | $$ |
$$ | $$ ____|$$ __$$ |$$ | $$ | $$ | $$ | $$ |$$ |$$ | $$ |$$ | $$ _$$< $$ | $$ | $$ |$$ __$$ |$$ |$$ | $$ |
$$$$$$$$\\$$$$$$$\ \$$$$$$$ |$$ | $$ | $$ | $$$$$$$ |$$ |\$$$$$$ |\$$$$$$$\ $$ | \$$\ \$$$$$$$\ $$ | $$ |\$$$$$$$ |$$ |$$ | $$ |
\________|\_______| \_______|\__| \__| \__| \_______/ \__| \______/ \_______|\__| \__| \_______|\__| \__| \_______|\__|\__| \__|
$$\ $$\ $$\ $$$$$$$\ $$\ $$\
\__| $$ | $$ | $$ __$$\ $$ | $$ |
$$\ $$\ $$\ $$\ $$$$$$\ $$$$$$$\ $$ | $$ |$$\ $$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$\
$$ | $$ | $$ |$$ |\_$$ _| $$ __$$\ $$$$$$$ |$$ | $$ |\_$$ _| $$ __$$\ $$ __$$\ $$ __$$\
$$ | $$ | $$ |$$ | $$ | $$ | $$ | $$ ____/ $$ | $$ | $$ | $$ | $$ |$$ / $$ |$$ | $$ |
$$ | $$ | $$ |$$ | $$ |$$\ $$ | $$ | $$ | $$ | $$ | $$ |$$\ $$ | $$ |$$ | $$ |$$ | $$ |
\$$$$$\$$$$ |$$ | \$$$$ |$$ | $$ | $$ | \$$$$$$$ | \$$$$ |$$ | $$ |\$$$$$$ |$$ | $$ |
\_____\____/ \__| \____/ \__| \__| \__| \____$$ | \____/ \__| \__| \______/ \__| \__|
$$\ $$ |
\$$$$$$ |
\______/
Welcome to the Learn Blockchain with Python party! 🎉 If you’ve ever wondered how those fancy blockchain thingamajigs work or just want to impress your friends with your techy skills, you’ve come to the right place. 🎩✨
Dive into the world of blockchain with our super cool Python scripts and examples. Here’s what you’ll find:
-
Basic Blockchain Setup: Dive into the world of blockchain like a tech wizard! 🧙♂️🔗
- PyBasicBlockchain.py: A nifty little library for managing blockchain magic—think of it as your crypto-coding toolkit. 💼💰
- PyBasicBlockchain2.py: This one’s for chatting with blockchain flair! Think messages with a side of crypto—how cool is that? 💬💎
-
Chat App with Blockchain: Chat like a boss and watch blockchain do its thing! 🚀💬🔗
- Server: The digital fortress where all messages are saved, just like your favorite chat app but with blockchain vibes. 🏰💬
- User Interface: A starter UI for chatting. Dress it up if you like—it's ready for a makeover! 🎨💻
- Message Viewer: Peek into your messages like a spy in a movie. 🕵️♂️🕶️
-
File Management: Handle JSON files like a pro with style and grace. 📂✨
- Python 3.11 🐍
- Basic Python knowledge (or at least enough to not break things) 🧠
- Some blockchain curiosity (or a lot, we won’t judge) 🔍
-
Clone the Repo: Grab the code and bring it to your local machine!
git clone https://github.com/Yuri-DaBang/LEARN-BLOCKCHAIN-WITH-PYTHON.git
-
Navigate to the Project Directory: Because you gotta go to the party to enjoy it!
cd LEARN-BLOCKCHAIN-WITH-PYTHON
-
Install the Requirements: Let’s get the party started with all the cool packages!
pip install -r requirements.txt
- Navigate to ./PyBasicBlockchain/Chain1 📂
- Type python Blockchain.py in the terminal, and watch the magic unfold! 🎩✨
- Feel free to explore
Blockchain.py
andPyBasicBlockchain.py
for some helpful explanations and magical insights. 📜🔍
- Navigate to ./PyBasicBlockchain/Chain2 🏗️
- Run python Blockchain.py in the terminal—this is just the beginning of the blockchain adventure! 🚀
- Don't forget to browse through
Blockchain.py
andPyBasicBlockchain.py
for more amazing explanations and tips. 📖🧠 - Next, head over to ./PyBasicBlockchain/Chain2/ChatApp 💬
- Start the server by typing python ChatServer.py. Then, launch the chat app with python ChatApp.py. Create your own users and chat all day long with your friends! 🗣️🎉
- NOTE: For network chatting, host
ChatServer.py
on your home server and runChatApp.py
on your local network. Enjoy the endless chatting! 🌐🎈
- Feeling bored? Run python MessageViewer.py to see your messages come to life with animation. 📽️🎨
- Fork the repo (because sharing is caring) 🍴
- Create a new branch (git checkout -b feature/YourFeature) 🌿
- Commit your changes (git commit -am 'Add new feature') 💾
- Push to your branch (git push origin feature/YourFeature) 🚀
- Open a Pull Request (show off your work!) 💪
This project is licensed under the MIT License. Check out the LICENSE file for all the fine print. ✨
Got questions, feedback, or just want to chat? Join our discord Server, you'll find that in HERE. 💬