Magic: The Gathering marketplace using blockchain technology with Ethereum
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
contracts
migrations
support
.gitignore
LICENSE
README.md
make_private_net.sh
start.sh
truffle.js
update_addr.sh

README.md

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.