Skip to content

Ethereum dApp to facilitate a place to advertise and promote blockchain games

Notifications You must be signed in to change notification settings

fluffycatware/gamecards

Repository files navigation

GameCard

GameCard let you buy, lease and sell cards on the Ethereum blockchain.

A donation is cut from each purchase and is donated the the fluffyCat wallet address, which in turn is donated to Animal Welfare.

Build Setup

# install dependencies
npm install

# serve with hot reload at http://localhost:8080
npm run dev

# build for production with minification
npm run build

You can set up a developement Ethereum node with truffle. You should probably install truffle for use globally, however its up to you

npm install -g truffle

Then to use truffle run the following:

# Run node
truffle develop

# Compile contracts
truffle compile

# Migrate contracts
truffle migrate

# If you are migrating to ropsten use the following
truffle migrate --network ropsten

Test

# Run truffle test
truffle test ./test/gamecards.js --network test