Giter Site home page Giter Site logo

cleancoindev / decentralized-music-ownership-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ediomi-udoh/decentralized-music-ownership-system

0.0 0.0 0.0 387 KB

A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users.

License: MIT License

JavaScript 66.19% CSS 10.05% Solidity 23.77%

decentralized-music-ownership-system's Introduction

Decentralized-Music-Ownership-System

A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users.

Execution Steps

To execute the program files please follow the following steps:

1. Create a new react project by using the following command

a.	npx create-react-app music-app

2. For the react project install the following packages through these commands

a.	npm install web3
b.	npm install - - save ipfs-http-client (Note: the dashes are without spaces)
c.	npm install react-bootstrap

3. After these installations, place the source folder (in the submission) in place of the existing source folder

4. Run ‘npm start’ to start the node project

5. Create a directory and save the truffle project (in the submission) in the folder

6. Run the following command to deploy the contract:

a.	truffle migrate - - reset (Note: the dashes are without spaces)

7. In the truffle project go to the build folder -> contract -> Music.json and open the file

8. Copy the abi in the json file

9. Navigate to the source folder of the react project and in the config.js file, copy the abi in place of the existing one

10. In the same config.js file, copy the address of the deployed contract from ganache in place of the existing contract address

11. The setup is complete and the Music Application can now be used!

Functionality

1. Add Account Information

image

2. Upload a Song to IPFS

image

3. Add Metadata to be Inserted to the Blockchain

image image

4. Get Songs and Artists

image image

5. Play a Song

image

6. Like a Song

image

7. Get Top Songs

image

8. Get Top Artists

image

9. Get Top Listeners

image

10. Get a Genere's Songs

image

decentralized-music-ownership-system's People

Contributors

adilfayyaz avatar

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.