Giter Club home page Giter Club logo

streamon's Introduction

Team Ideal Bits

Steps to Run the OTT platform on your local device

Step-1- Clone the app into your local system

git clone https://github.com/ayush18023/SPIT_Ideal_bits.git

Step-2 - Run npm install command for installing all the dependencies

npm i

Step-3 - Compile the OurTube.sol contract

npx hardhat compile

After this an artifact file will be made inside the src folder which contains the JSON file with the ABI code inside it.

Step-4 - Now initiate a local blockchain network

npx hardhat node

Step-5 - Deploy the contract to the blockchain

npx hardhat run scripts/deploy.js --network localhost

here the output will be

Hashes deployed to: (hexadecimal address)

Copy that address and paste it into the hashesAddress global variable in the IPFS.js and Search.js files under 'Components' folder under 'src'

Step-6 - Start the frontend of the application on the browser

npm start

Step-7 - Install Metamask Extension onto the browser and login or create an account. Enable show local/test networks in the metamask settings. Switch to localhost:8545 Click on import an account on metamask then copy the private key of one of the accounts shown during step-3 and paste it to import that account onto your metamask

NOW, Click on Upload movie and Upload file(s) then click the 'Submit' button, this will ask for a payment through metamask, confirm the payment and then the file's hash will be stored on the blockchain.

You can Search for files by clicking the Search button and entering the file name with the file extension For eg: 'ABC.pdf'

After entering the file name then click on Search after that your file will be visible click on it then your file will be downloaded.

Contributing

  • We're are open to enhancements & bug-fixes.
  • Feel free to add issues and submit patches.

Authors

streamon's People

Contributors

ayushmd avatar yashs1623 avatar rish-2912 avatar

Watchers

 avatar

Forkers

yashs1623

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.