GithubHelp home page GithubHelp logo

dmarket's Introduction

enter image description here Ethereum based marketplace for media files

!! This project is not complete and was built for the London Blockchain Week Hackathon in 2017.

To run locally:

npm install
npm install -g truffle
cd contracts

Set providers in contracts/truffle.js. Will work out of the box with Ganache for local development and Rinkeby test network.

truffle migrate

The project currently doesn't have a backend, so you will need to manually set the deployed contract address and ABI in /src/environments/environment.ts. Leave the default values there to work with already deployed contract in the Rinkeby test network. The contract has 3 deployed media files already included in the project. To add more files call the "addItem" function in contracts.service.ts The default contract address on Rinkeby is https://rinkeby.etherscan.io/address/0xff8150272c20c3b926ef6b7bed9c83ab2916494f

ng serve

Connect with MetaMask and go to /market-listings to buy and items or check ownership of items.

The system was originally supposed to run with it's own token, so we also have /create-ico route, that will compile a custom crowdsale for the user in their browser using Solc and let them deploy the contracts via MetaMask.

dmarket's People

Contributors

nikolay-stoev avatar

Stargazers

Nikola Kirev avatar

Watchers

 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.