Skip to content

Learn Blockchain Tech Simply With Python Projects And Blockchain Examples -- It Also Includes A Working Decentralized Chat App

License

Notifications You must be signed in to change notification settings

hmZa-Sfyn/LEARN-BLOCKCHAIN-WITH-PYTHON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

LEARN-BLOCKCHAIN-WITH-PYTHON

UPADTE: Added Chain3!

(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. 🎩✨

🕵️‍♂️ What’s Inside?

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. 📂✨

🚀 Getting Started

📦 Prerequisites

  • Python 3.11 🐍
  • Basic Python knowledge (or at least enough to not break things) 🧠
  • Some blockchain curiosity (or a lot, we won’t judge) 🔍

🎉 Installation

  1. 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
  2. Navigate to the Project Directory: Because you gotta go to the party to enjoy it!

    cd LEARN-BLOCKCHAIN-WITH-PYTHON
  3. Install the Requirements: Let’s get the party started with all the cool packages!

    pip install -r requirements.txt

🏆 Usage

1. Basic Blockchain No 1

  • Navigate to ./PyBasicBlockchain/Chain1 📂
    • Type python Blockchain.py in the terminal, and watch the magic unfold! 🎩✨
    • Feel free to explore Blockchain.py and PyBasicBlockchain.py for some helpful explanations and magical insights. 📜🔍

2. Basic Blockchain No 2

  • 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 and PyBasicBlockchain.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 run ChatApp.py on your local network. Enjoy the endless chatting! 🌐🎈
    • Feeling bored? Run python MessageViewer.py to see your messages come to life with animation. 📽️🎨

👐 How to Contribute

  1. Fork the repo (because sharing is caring) 🍴
  2. Create a new branch (git checkout -b feature/YourFeature) 🌿
  3. Commit your changes (git commit -am 'Add new feature') 💾
  4. Push to your branch (git push origin feature/YourFeature) 🚀
  5. Open a Pull Request (show off your work!) 💪

📜 License

This project is licensed under the MIT License. Check out the LICENSE file for all the fine print. ✨

📧 Contact

Got questions, feedback, or just want to chat? Join our discord Server, you'll find that in HERE. 💬

About

Learn Blockchain Tech Simply With Python Projects And Blockchain Examples -- It Also Includes A Working Decentralized Chat App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages