Post
Topic
Board Development & Technical Discussion
Re: Can each new coin have random properties?
by
Marlo Stanfield
on 24/05/2018, 13:06:58 UTC
Hello,

I'm familiarizing myself with blockchain and cryptocurrencies.
I was wondering if from a technical perspective it would be possible that when a new coin gets mined, it would be possible that it receives random properties that are saved within the coin?

I've had the idea to use blockchain and/or cryptocurrencies to create some kind of virtual card game, like magic the gathering or Blizzards Heart Stone. Each coin/token would represent a card, and within each coin/token, additional information would be saved that will be generated when the coin is mined and can not be modified, which would represent the cards attributes.

From a technical perspective, is that even possible to store fixed random properties within a coin/token?

Someone could correctly if I'm wrong or over simplifying it, but it sounds like it would be possible to do something like that by using the block hash as a pseudo-RNG.

But if it were a game you'd be setting the ranges yourself beforehand so you would have to hard code that part.

Originally this type of idea was implemented as a way to gamble with Bitcoin back in 2012 with Satoshidice. Although they were just using the hash to settle the bets, not creating cards or tokens.