Make Your Own BlockChain Using Python Part One - BlockChat Concept and Installation of Python, Pip, & PyCharm

in #blockchain6 years ago (edited)

Fallow me as I develop BlockChat

If you're seeing this, then you've heard of the BlockChain using Steemit and scrolling through the thousands of articles about BitCoin and the fact the whole principle of Steemit runs on a BlockChain. What is a better way to build a BlockChain then actually make one yourself?!

If you've never heard of Python, it's a programming language based off C that's very helpful for anything from Scientific research, BitCoin trading, and web applications like what we're going to be doing.  This article will assume you've done some kind of programming, but python experience not required.

What do we need?

Pretty small list, with links to help

  • Python 3.6 - We will be using the third version of python, installation instructions here
  • PyCharm Community Edition - This is a free python IDE that has autofill and great syntax highlighting. The community edition is free for Windows, MacOS, and Linux here
  • Pip - A tool for Python that lets you install tons of helpful packages and libraries
    • Windows- During the installation, there will be a checkbox to install pip
    • MacOS- I don't use MacOS, DOWN WITH APPLE, learn it here instead
    • Linux- sudo apt install pip if you aren't using a debian package and can't figure it out for your own distro Google works great.

The operating system you use doesn't matter; Windows, MacOS, and Linux distributions all have support for everything listed above.

Our BlockChain

So blockchains are the basis for crypto-currencies and that's what most people think of when talking about blockchains. Crypto-currencies are great, but let's think outside the box and make a distributed texting application. Each "Transaction" will have a to and from address, with the data being the message encrypted to prevent everyone on the network from reading your private messages.

We need to program a node, or a web application where users can login, and keep a address book and send messages via a web interface with mining and a database to prevent the RAM from filling up like most other python blockchain tutorials out there. Nodes should be able to connect to other nodes easily so anyone can download from github and start their own node and connect to the network.

Why would we want a blockchain texting service? Using blockchain and making it open source creates a de-centralized services. This means there's no central point to fail, and no one is in charge. It is uncensored, and we can make it operate on the Tor network for anonymity, plus encryption which makes it hopefully secure. No government or company can change or control it, lawless texting.

What is the application for such a concept? People could undoubtedly abuse the system, and creating a plugin manager for anti-spam and anti-porn filters that users could enable would help solve the problem. It is a form of censorship, but making them optionally available to users  kinda makes it not censorship while removing a good amount of the childish programmer problem. People in countries where mass surveillance and over policing could use it for rebellious acts, reporters in hostile countries could communicate with the outside world with the ability to connect to many nodes and send messages without threat of the services being taken down, and people who are forward thinking and don't want their data to be a part of a plot by big business such as the recent Facebook incident. 

We will call it BlockChat, and fallow me and this series to developing the open source platform where I will put it on GitHub for all to enjoy! Videos on YouTube coming soon to combine parts one and two then every part after!

GitHub Repo Here even tho there isn't much there at the time of writing this article.

Up Next: Coding and testing the concept model, installing flask and creating our blockchain

Sort:  

Congratulations @gravit0! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.028
BTC 64377.96
ETH 3500.45
USDT 1.00
SBD 2.52