Skip to content

Implementation of a blockchain-based messaging web app that uses mining and proof of work to provide security and validation to individual messages. This project is build using Python, HTML, CSS, and MySQL.

Notifications You must be signed in to change notification settings

aksr27/MailBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#in cmd for localhost

  1. set FLASK_APP=node_server.py
  2. flask run --port 8000

#in another cmd

  1. python run_app.py

#for online sharing

  1. ngrok.exe http 5000

python_blockchain_app

Start a blockchain node server,

# Windows users can follow this: https://flask.palletsprojects.com/en/1.1.x/cli/#application-discovery
$ set FLASK_APP=node_server.py
$ flask run --port 8000

One instance of our blockchain node is now up and running at port 8000.

Run the application on a different terminal session,

$ python run_app.py

The application should be up and running at http://localhost:5000.

Here are a few screenshots

  1. Posting some content

image.png

  1. Requesting the node to mine

image.png

  1. Resyncing with the chain for updated data

image.png

About

Implementation of a blockchain-based messaging web app that uses mining and proof of work to provide security and validation to individual messages. This project is build using Python, HTML, CSS, and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published