Blockchain Master's Project
In the present world social media has become a very important part of our lives. We share so much content everyday ranging from what we are doing in our personal lives to professional information. For some it's a source of income due to its marketing capabilties and for some it's platform to share there content, for some its a platform to raise there voice and for some it's a platform to connect to world. Infact some social media platforms have become a political playground also. Many decisions, ideas, events our shared on these platforms, consider the case of twitter many heads of countries share updates on this platform. But with all these things we know social media has a problem due to its centralized nature. we have seen of password leak of twitter users and forcefull banning of accounts due to political influence. Also the advertisers may not know wether the ads they are promoting are not influenced by these companies. All these things force us to adopt a decentralization and this project have tried to implemented that.
The platform is a decentralized social media something similar to twitter but totally in a decentralized way having no server. The platform is having a smart contract containing all the important logic and is deployed on Ethereum Blockchain. Some of the features of the platform are:
- Secure and user friendly login using metamask wallet
- Only your Public address is the key to access the platform
- Cool user profile same as Twitter
- Easy to use interface
- Commenting feature on dweets
- Reporting feature on dweets
- Once a dweet get a specified no of reports it will be sent to maintainers for action
- You will have to stake some ethers for reporting
- If the dweet is banned by maintainers you will get refund and a reward
- If the dweet is not Banned by maintainers you will get no refund and the staked amount will go to the reported dweet author
- Like feature on dweets
- You can upload advertisements(image and a link) and reach out to platform users at nominal cost
- Advertisements once submitted will be sent to maintainers for acceptance -If it is rejected then 80% amount will be refunded
- Maintainers can be added to the platform
- A dedicated maintainer page where you can give acceptance and ban dweets(only If it gets required reports)
- Ethereum
- IPFS
- Web3js
- HTML
- CSS
- Bootstrap
- Javascript
- Jquery
- Truffle
- Use Meta transactions(gasless transactions) to make the platform gas free for users
- Add more Features like follow, profile view etc
- Add video Advertisement options
- Add reporting on comments
๐ฆ DECENTRALIZED_SOCIAL_MEDIA
โฃ ๐ .github
โฃ ๐ node_modules
โฃ ๐ build (Recent build of the Smart Contracts)
โฃ ๐ contract (Solidity Smart Contracts)
โฃ ๐ migrations (Truffle deployment migrations)
โฃ ๐ test (Smart Contract Tests)
โฃ ๐ src (Dapp Frontend)
โฃ ๐ avoiding_common_attacks.md
โฃ ๐ design_pattern_decisions.md
โฃ ๐ package.json (project dependencies)
โฃ ๐ README.md (Project Documentation)
โฃ ๐ server.js (Lite server to host frontend)
โ ๐ truffle-config.js (Truffle Project Config)
- Run
npm i
to install dependencies. - Run
ganache-cli
to start a local chain. - In the projects root directory, run
truffle console
to interact with the porject. - To compile contracts run
truffle compile
- To deploy run
truffle migrate
- To test run
truffle test
- In the projects root directory, run
npm start
Website ๐ https://dwittermedia.herokuapp.com/
YouTube ๐ https://youtu.be/l75vF8HAJ8Y
Documented here ๐ avoiding_common_attacks.md
Documented here ๐ deployed_addresses.md
Documented here ๐ design_pattern_decisions.md