Giter Site home page Giter Site logo

dappauction's Introduction

DApp for the SmartAuction on the Ethereum blockchain.

Final project of Peer to Peer Systems and Blockchains A.A. 2018-19 (UniPi)

The DApp has as back-end the previously developed contracts (see here) that manage the auction house and the two types of auction: Dutch and Vikrey; while as front-end a simple web interface that allows you to easily interact with them.
ATTENTION: Before you can launch the DApp, you must retrieve the contracts and the python script from here and compile and deploy the contracts on a net with truffle migrate --reset --network ropsten, with this you will sent on the Ropsten network (with Infura, you must add info in truffle-config.js) you can use a Local network (builded with Ganache)replacing Ropsten with test.
You can simply replace the contracts folder and insert the scirpt in the root. If you put the Python script in a different folder you have to change the path in the package.json file (10-11 rows).

How to run

To use the DApp, you will need to run the npm run all command from the project folder, which will start both the web interface and the python script that acts as EAC. In case you want to start the two elements separately you can do it using: for the interface npm run dev_j while for the script npm run dev_p.

How to interact with a DApp

You need to install on the browser Metamask that simply manage for you the adress and all transaction on the blockchain.

dappauction's People

Contributors

ruggiero-santo 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.