GithubHelp home page GithubHelp logo

matheusportela / magic-chain Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 313 KB

Magic: The Gathering marketplace using blockchain technology with Ethereum

License: MIT License

CSS 0.06% HTML 3.01% JavaScript 96.78% Shell 0.16%

magic-chain's Introduction

magic-chain

Magic: The Gathering marketplace using blockchain technology with Ethereum

Requirements

First of all, install Ethereum tools: geth or testrpc and truffle.

Running

Now, in one terminal, run a blockchain with geth or testrpc. The latter is recommended for development purposes because it processes blocks much faster than the former.

$ testrpc

If you prefer using geth, use the provided script make_private_net.sh. It clears all previous blockchains and run a new one. When asked, insert the password: abcd.

$ ./make_private_net.sh
Password: abcd

Now, in another terminal, run the project with the script start.sh. It deploys all contracts and update the front-end with the correct contract address.

$ ./start.sh

You can access the project at http://localhost:8080.

magic-chain's People

Contributors

gabrielnaves avatar matheusportela avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

magic-chain's Issues

Exception when accepting trade from web

The trade was created via web interface. When trying to accept it, the following error is returned from the blockchain:

Error: VM Exception while processing transaction: invalid JUMP(…)

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.