Post
Topic
Board Digital goods
Re: (WTS) Cryptocards - Unique Collectible Cards on Blockchain
by
kabzeon
on 26/01/2018, 14:01:48 UTC
This is very cool! I’ve wanted to see Smart Contracts in action for some time!

This may be a little off topic as I’m simply curious - how many “functions” per say, of this card game, are handled by smart contacts..if that makes sense? Really cool idea and will be looking in to it! Thx for sharing.

Yes it makes sense ChiBitCTy.

The answer is almost all of them. You can take a look at the main smart contract file https://github.com/skunkworkslab/misfitart/blob/master/contracts/DigitalArtCollectible.sol
The web site mainly queries the smart contract to get details about a card/digital art: who is the owner, is it for sale, transaction history, bids, .etc

On the smart contract we store details about each card/digital art: total supply, price, author, collection, transaction history, offer status, current bid, .etc

We do not store everything though. Images are too big and expensive to successfully store on the smart contract, so we store their fingerprint/signature to uniquely identify them.