Skip to content

IIT D - COL 867 - Assignment: An Ethereum smart contract for licensed media distribution.

Notifications You must be signed in to change notification settings

dufferzafar/solid-media

Repository files navigation

Media.sol

An Ethereum smart contract for licensed media distribution.

Screenshot

Stack

  • Solidity for the core smart contract code.
  • Ganache to run a local Ethereum testnet. I used the GUI, but ganache-cli will work as well.
  • Truffle to manage the dev environment - compile contract, interact with local testnet and run tests.
  • Solium to lint the contract for style and security best practices.
  • Mocha & Chai for writing unit tests.
  • ES Lint for linting the JS tests.
  • General HTML/CSS (Bootstrap)/JS for the Web UI.
  • MetaMask as the bridge between the browser and the dapp?

Building

git clone https://github.com/dufferzafar/solid-media
cd solid-media

make install

# Run Ganache!

make tmr

make test

Resources

Tutorial on an election app

Code from the tutorial

Off-chain processing:

Grading by TA

We scored 19/20 on the assignment. 1 mark was deducted on some theoretical question that we didn't even understand.

About

IIT D - COL 867 - Assignment: An Ethereum smart contract for licensed media distribution.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published