Inspiration
Desire to learn new and emerging technologies to solve real life problems.
What it does
As you know now a days news which people are watching are provided by most of news channels which are under a political party with the power of money and hence they show that news to public which this political party allows. Due to this people are unaware about the actual things going on and they make their mindset according. This decentralised application build using block chain is used to get unbiased news to the public which can't be changed due to the power blockchain. On this application ones a news video is uploaded, they can't be deleted and also no one can take them down!
How we built it
When a video is uploaded, it gets hosted on Interplanetary File System (IPFS) by consuming some ether(ETH). As actual cryptocurrency ETH will costs me a lot of money for again and again hosting on Ethereum Main Net Blockchain as during development we tests our application many time by doing changes in it and as you know if we did changes in blockchain application then we need to again publish it on the network as previous version of application ones uploaded it can't be changed, hence I have used Ganache which provides us a local Blockchain network for development purpose and Metamask chrome extension to communicate with the Ganache Blockchain network and confirm the transactions. After uploading a video it generated a unique hash for this video and hence a IPFS URL for this video. Blockchain code is written in smart contracts using solidity programming language for the backend logic like how we want to structure and upload the videos etc. These smart contracts are deployed on blockchain by making their build version using Truffle commands. This applications then displays the News videos uploaded on the front-end user interface using React! Web3 library used to connect React front-end with blockchain network and whenever we make any transaction on it, Metamask confirmation pop-up automatically comes.
Challenges we ran into
Being a new technology resources and support for blockchain is little bit less due to which it requires decent amount of time to learn this but yeah its community is growing rapidly.
Accomplishments that we're proud of
After a lot of hard-work and learning I am able to understand the flow of this emerging technology and implementing it.
What we learned
Learning curve in understanding blockchain and related tools and technologies is exponential. After deciding to learn blockchain I was continuously in learning new different different tools like IPFS, Metamask, Ganache, Truffle, Web3 etc programing languages like solidity. Also learning not stops here, it will keep on going day by day as this technology is emerging.
What's next for Newschain
I think this project can go far away from what stage it is at this point. We can add many more features to this application for production ready like authentication, liking-disliking feature and many more.
Built With
- blockchain
- ganache
- ipfs
- metamask
- react
- solidity
- truffle
- web3
Log in or sign up for Devpost to join the conversation.