This repo is a crypto card game base on ERC721, non-fungible token, using OpenZepplin.
First install required dependencies:
You'll need local ethereum node, I recommend ganache-cli
. You can install it from npm.
npm install -g ganache-cli
Then install contract dependencies:
npm install
First make sure that local ethereum node is running. Execute:
ganache-cli --gasLimit 0xffffffffff -p 8545
Now you can compile and deploy contracts:
truffle compile && truffle migrate
Run contract tests:
truffle test