Skip to content

This is a social network messaging website under development that uses blockchain technology to validate exchange of messages and also uses it to authenticate user login system.

License

Notifications You must be signed in to change notification settings

agnij-dutta/Nexus

Repository files navigation

Nexus

Nexus Online This is a simple social network web app built using Python and Flask that leverages blockchain technology to store user accounts and messages as transactions. Each user is treated as a ledger and each message as a transaction. The app uses proof of work to validate transactions and ensure the security and integrity of the blockchain.

Installation

Clone the repository:

git clone https://github.com/yourusername/Nexus.git

Install the dependencies: cd social-network-nexus-online pip install -r requirements.txt

Run the app: python backend.py

Usage: Sign Up To sign up for the social network, navigate to the sign up page and enter your username. Your account will be added to the blockchain as a new block.

Login To login to the social network, navigate to the login page and enter your username. The app will search for your account in the blockchain and prompt you to enter your private key. If the private key is correct, you will be logged in and able to view and post messages.

View Messages Once logged in, you can view all messages sent to you by other users in the social network.

Post a Message To post a message, click the "New Message" button and enter your message text. The app will add your message as a new transaction to the blockchain and will send the message to selected user.

Security This app uses proof of work to validate transactions and ensure the security and integrity of the blockchain. Each user's private key is hashed and stored in the blockchain to ensure secure login.

About

This is a social network messaging website under development that uses blockchain technology to validate exchange of messages and also uses it to authenticate user login system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published