Analytics Of Gaming Smart Contracts By Examining The CryptoKitties Game

News - Archive

  CryptoKitties  is one of the most popular games in the Blockchain network. It is based on the smart contracts of the Ethereum blockchain network. An example of a collection game with kitties has shown the value of ERC-721 tokens to the community and the possibilities of Ethereum as a playground. In this research a team of analytics from Chaingraph.io attempted to conduct an extensive analysis of the decentralized application CryptoKitties, using the transactions extracted from the Ethereum network. The main analysis tool used is the smart contract analytical platform Chaingraph.io. It is also worth adding that analytics is not ...

Reading time:

20 mins

AUTHOR

John Asher

LAST UPDATED:

blue cryptokitty

Analytics Of Gaming Smart Contracts By Examining The CryptoKitties Game

 

CryptoKitties  is one of the most popular games in the Blockchain network. It is based on the smart contracts of the Ethereum blockchain network. An example of a collection game with kitties has shown the value of ERC-721 tokens to the community and the possibilities of Ethereum as a playground.

In this research a team of analytics from Chaingraph.io attempted to conduct an extensive analysis of the decentralized application CryptoKitties, using the transactions extracted from the Ethereum network. The main analysis tool used is the smart contract analytical platform Chaingraph.io.

It is also worth adding that analytics is not just about the analysis of transactions, but also an attempt to understand and predict user behavior. The basis and purpose of the analysis is business, and the analytics should work for it. That is why many solutions from this report can be used for other decentralized applications of the crypto-game business sector.

For this study, the key issues were the increase of the audience for the DApp on the part of the developers and making a profit from the gameplay on the part of the player.

The contract that was analyzed is the main KittyCore contract

(0x06012c8cf97bead5deae237070f9587f8e7a266d). We also used the data from the SaleClockAuction (0xb1690c08e213a35ed9bab7b318de14420fb57d8c) and SiringClockAuction (0xc7af99fe5513eb6710e6d5f44f9989da40f27f26) contracts.

Besides Chaingraph.io, the following services were used: Opensea.io, Bloxy.info and Dappradar.com. Data may have some inaccuracy.

Stats at the beginning of 2019

word image 4

Market Cap: 40,000 ETH

Number of users (7d): 1,300

Number of users (24h): 450

Number of token holders: 70,000

Number of tokens in circulation: 1,500,000

Turnover: 57,000 ETH

Turnover (24h): 130 ETH

Number of smart contracts: 4

Twitter followers: 27,000

word image 5

What is CryptoKitty?

Each kitty is a unique token that belongs to one holder. The uniqueness of a kitty is defined by its characteristics, or “cattributes”. The color of the paws, the shape of the whiskers, the length of the tail – all of this depends on the attributes obtained at birth. Besides the normal kitties with a set of certain characteristics there are also unique ones that look “not like everyone else” and possess exclusive arts/traits

word image 6 .

Types of Kitties

Normal – ordinary cats with a number of standard characteristics

Fancy – unique cats with a limited number in circulation.They can be created by cross-breeding using the right combination of genes at a certain time (alchemy). Such cats do not possess standard characteristics

Exclusive – these cats exist in the game only in one copy and they can not be bred. Every Exclusive cat is specially introduced into the game by the developers. Do not possess standard characteristics.

Special Edition – similar to Exclusive Cats in that they have unique art, but they are released in larger numbers and may be bought. Also do not have standard characteristics.

There are also some additional unique features:

Prestige is a special characteristic cat obtained by cross-breeding by certain recipe.

Wild is a special wild element

Genetic Anomaly happens when the cat has a hidden gene that can suddenly appear in offspring

word image 7

Average price for normal cat: 0.1 ETH

word image 8

Average price for fancy cat: 0.26 ETH

word image 9

Average price for exclusive cat: 32 ETH

word image 10

Average price for special cat: 0.4 ETH

word image 11

Average price for prestige cat: 0.17 ETH

word image 12

Average price for wild cat: 0.07 ETH

word image 13

As you can see Exclusive cats are ahead of the rest. And the wild characteristic, on the contrary, is not decisive in defining the price for normal cats. It can be concluded that, despite its rarity, the wild characteristic is not very valuable.

Generations of cats

Cats are cross-bred and have such an option as a generation.

word image 14

As you can see, the cats of the latest generations belong to one and the same player nicknamed Solidox, who is really far ahead. It looks like he wouldn’t be overtaken soon, since with the birth of nextcat’s generation, the cooldown after the breed-crossing increases. That is why the one who first has occupied a niche and is not going to yield it, is hardly probable to let somebody in.

Now let us consider the dependence of the average selling price on the generation of the cat, and also show the number of cats in each group.

Dependence of the number of cats on the generation

word image 15

As can be seen, after the 20th generation the number of kitties is significantly reducing, and with a three-digit generation their numbers tend to units.

Now let’s see the dependence on the selling price.

Dependence of the medium selling price on the cat generation

word image 16

As you can see, after the 1000th generation the sales of cats are on the decline. Does it mean that after a fixed number nobody purchases? Let us study the sales of kitties of maximum generations.

word image 17

The price of a cat depends on the cat itself but the generation does not really matter in its formation. The hypothesis about the guy who breeds the cats of the largest generation to earn seems to have failed. Unless he does not sell out them in some other way. It may be worth looking at buying crossings using the SiringAuction contract (the cats are not put up for sale, but one-time crossing with a cat :)).

Average price on crossing depending upon cat’s generation

word image 18

As shown in the graphic above, the larger the generation is, the lower the price of breeding becomes. Kitties’ youth matters.

What cats with which characteristics are born most often and least often?

Normal cats have a set of cattributes that form their appearance. The direct logic suggests that the rarer any trait occurs, the more expensive the item is. Let us test this assumption.

Here are the rarest cats in the game. For defining the rareness of a kitty, the rareness of each characteristic matters and calculated by secret formula:

word image 19

The cats above have not been purchased even once 🙂

If we, on the contrary, study the rareness of certain characteristics of kitties, that were marketed at least once, there won’t be any surprises:

word image 20

The cost of rare kitties tends to the average price of all items.

Cattributes and their rareness are not so obvious for a player. Moreover, the traits that are considered to be the most pricy at the moment should show decrease in rareness, as the kitties with such cattributes will be bred more.

Now let’s take a look at the most expensive cats and at the same time quite rare:

word image 21

The average rareness index of normal cats is about 3. The cats presented above possess the index 170+ (that is not the highest index, but is closer to maximum 500-800 than the 90% kitties). One may note that high price is formed due to additional rare elements (purrstige), or the combination of such characteristics, that accord kitties the more beautiful and catchy appearance. It can hardly be concluded about certain steady connection between the rareness and the price.

The following charts attest this. By each characteristic we observe approximately one and the same picture, namely sudden upsurge in certain rare trait. It should be mentioned that these spikes affect the price in no way.

word image 22

For those who are inquired about Cryptokitties game and would like to learn more about the most popular cattributes, the following information is shown below:

body

The most popular body types:

word image 23

The rarest body types:

word image 24

color (accent colour)

The most popular body types:

word image 25

The rarest body types:

word image 26

colorprimary

The most popular colorprimary types:

word image 27

The rarest colorprimary types:

word image 28

colorsecondary

The most popular colorsecondary types:

word image 29

The rarest colorsecondary types:

word image 30

colortertiary

The most popular colortertiary types:

word image 31

The rarest colortertiary types:

word image 32

eyes

The most popular eyes types:

word image 33

The rarest eyes types:

word image 34

coloreyes

The most popular coloreyes types:

word image 35

The rarest coloreyes types:

word image 36

mouth

The most popular mouth types:

word image 37

The rarest mouth types:

word image 38

pattern

The most popular pattern types:

word image 39

The rarest pattern types:

word image 40

environment

The most popular environment types:

word image 41

The rarest environment types:

word image 42

purrstige

Purrstige – is a unique element of a kitty. There are only 2 species of this element and not many items that possess it.

word image 43

wild

The most popular wild types:

word image 44

The rarest wild types:

word image 45

This cat obtains summarily rarest cattributes:

word image 46

id 1497244

What cats with which characteristics do mate more often than others?

It is obvious that rareness of a kitty is inverse proportion to number of matings it has had. Let us consider the incidents with body type:

word image 47

Still, if look at paid cross-breedings, we won’t see any connection between the rareness and the price again. The charts will look like the following:

word image 48

That is , there are some upsurges with no logical reason to it.

Is there any correlation between the balance of a wallet and the number of kitty tokens that the user possess?

A great number of players who were involved into the game has either changed their accounts or just got rid of their kitties and stopped playing. The quantity of such users is estimated to be over 14000. Speaking about the existing accounts, with the increasing in the number of kitties the amount of players naturally and pretty quickly decreases:

1 CK 8493 users

2 CK 9749 users

3 CK 10004 users

4 CK 6346 users

5 CK 4303 users

6 CK 3265 users

7 CK 2476 users

8 CK 1887 users

9 CK 1437 users

10 CK 1204 users

11 CK 935 users

word image 49

Account balance dependence on the number of items possessed:

word image 50

If account balance shows no regularities, then the connection between the number of tokens on Eth turnover is a little more vivid:

word image 51

Here you may observe that the more kitty tokens the player possesses, the greater Ether turnover he has. Also let us compare the turnover of Kitty tokens and Ether:

word image 52

The address (0xFC624F8F58DB41BDB95AEDEE1DE3C1CF047105F1) that had the biggest Ether turnover to the moment of research had about 3.5k kitty tokens on balance and its total kitty turnover was about 40k transactions.

It may be suggested that accounts with more than 1000 Eth of turnover will play the game more intensively, than the addresses having 500 Ether turnover.

What cats are marketed more often?

As we showed above, a separately taken attribute of a Normal cat does not statistically affect the price or the number of purchases of this cat. The difference over a large sample is obvious only between different types of kitty tokens. The histogramme of the dependence of the number of deals on the type of a kitty illustrates this:

word image 53

As you can see, the majority of deals occur with fancy kitties and ones having wild traits. But, if to separate these parameters to total amount of kitties for each type, then it is noticeable that the most purchased and sold cryptopets are ones from Special Edition.

word image 54

Thus, if player wants to make money off virtual pets, he should pay more attention to Special and Fancy items.

What days are the most productive for Kitty sales?

Widely recognizable chart illustrating the number of calls to KittyCore contract with the splash in the end of 2017 is almost identical to the stats of all deals, with the exception of New Year 2018.

word image 55

If we take the stats by days of a week, then Wednesday is a bit ahead, though these data may be deceptive.

word image 56

When we look at this option with a limited number of users that had only 10 Kitty turnover or less ( i. e. to remove the accounts of avid players, markets, shops, etc), then the 1st position goes to Monday and Tuesday:

word image 57

Almost the same picture we get from Ether turnover for the SaleClockAuction contract. For all addresses who play Cryptokitties game:

word image 58

For addresses whose turnover is less than 10 Cryptokitties:

word image 59

In addition, to answer the question correctly we should remember about the difference in time zones. However, we will come back to days of week further on.

 

What Kitties have made the most profit for their owners?

As we have already found out the rareness of a cat and its cattributes do not affect the price so much as some unique “off-game” characteristics (token ID, name, etc) do. To confirm this, let us look at Kitty tokens for which difference between purchase price and selling price exceeds the amount of 100 Eth (towards an increase).

word image 60

word image 61

word image 62

word image 63

As you can observe, the most profit-making Kitties’ IDs are under 100. These are the so- called “founders’ cats”, that firstly were bought for 9 Ether and then sold for 100+ Ether.

Let us have a look at a list with “younger” cryptopets ( ID > 100):

word image 64

word image 65 id 114684 ~ name FRAIDSYCAT

word image 66 id 2238 ~ name 战斗猫

word image 67 id 35068 ~ name Dracula | Earliest Gen Vampire

And the Kitty purchased for 600 Eth you are already familiar with!

What smart-contracts Cryptokitties players call the most?

Here are the most requested smart-contracts by Cryptokitties users for the latest 3 months ( the titles for smart contracts were extracted from bloxy.info). Requests from user accounts to smart contracts:

word image 68

Requests from smart contracts addresses to user accounts:

word image 69

Recognizable addresses of exchanges (EtherDelta, IDEX) are diluted with some other interesting accounts. One may observe a nice scope of cryptogames: 0xUniverse, Axie Infinity, KryptoWar (ranked third, titleless), MLB Champions and a number of some other apps. Also the presence of casino smart contracts( Dice2Win, FckDice) and other addresses belonging to gambling services in the list is interesting . Also several auctions can be found. All these DApps should be cared in mind when to run advertising campaign or use any other means to attract the target audience (airdrop, for example). Auctionity is the first, but there is some surprise in these stats. More details are further on:)

How often do the users play Cryptokitties game?

word image 70

The average interval between two calls from one and the same player is less than 2 minutes. Still, this parameter is interesting for short periods of time.

Let us take the Retention parameter for first months after Cryptokitties were launched and compare it to the number of calls for that period:

23 November, 2017 – 1 May, 2018

word image 71

23 November, 2017 – 1 December, 2017 (before the upsurge)

word image 72

December, 2017 (upsurge)

word image 73

January, 2018

word image 74

February, 2018

word image 75

March, 2018

word image 76

You see during the most active periods the chart is shifted to the right. This may indicate that since the users have made several transactions within a couple of minutes, they do not leave the application, but remain in the game for a longer period: 2-3 hours or more.

Thus, by using this metric, it is possible to track the interest to a new introduced game event or advertising campaign. First, we focus on the number of transactions and the influx of unique addresses – this is the first step of analysis. Then we can assess the quality of the audience that came: whether they only started the DApp,made some test transactions and quitted or joined the existing players of a game.

Still, it should be noted that the explanation provided above does not cover all the cases. If for Cryptokitties we have a dragging out when activity is high, therefore the understanding of crypto casinos logic should be quite different.

Have a look at the chart describing the user retention of Dice2Win (0xD1CEeeeee83F8bCF3BEDad437202b6154E9F5405) casino for the latest 3 months:

word image 77

Another example of a Cryptokitties-like game is Dragonereum:

November,2018 – December, 2018 (the upsurge in activity when everyone bought and unpacked the eggs):

word image 78

December, 2018 – January, 2019 (after the peak, when battles and trading began):

word image 79

What days of week the increase in unique users does occur the most?

word image 80

If take the general stats, then most of the users seem to come on Monday. However, considering time zones and if to request the data for separate months, then the most active days of a week are Saturday and Sunday, followed by Friday and Monday. Conversely, the most passive days are Tuesday, Wednesday and Thursday.

word image 81

These days are good to initiate certain gaming activities or start advertising campaigns.

What other smart-contract and DApps do request to Cryptokitties and what for?

Here are the list of smart contracts ( total number is 225) that interacted with KittyCore Contract. The descriptions are taken from bloxy.info.

word image 82

Apart from 7 dozen autowallets the full list contains several quite interesting smart-contracts that attempted to create autonomous contracts over the Kittycore contract. For example, the battles between cats 🙂 Unfortunately, none of them took off. EtherDelta is just a throw off (two transactions over a year old)

What are the top reasons of fail requests?

word image 83

The majority of fail transactions happened when a player wanted to call a certain method when he had no permission to do this. For example, to sell someone else’s kitty. If we look at chart of fail transactions, we will see that most of them are concentrated in December, 2017, when the project was just launched. It can be assumed that at the first stage there were some bugs when forming a transaction on the UI, that were later fixed.

word image 84

On 25 March, 2018 the address 0x68B42E44079D1D0A4A037E8C6ECD62C48967E69F made 3330 failed transactions trying to call the breedWithAuto method.

Here is a list of top-5 addresses that have had most fail requests:

0x6B9AA4087E8643E672CAAD55CEB8A78D547189EA 13667 fail txs

0x1F35924AE9B34BBD1DFA7E527964C430D5AFAB92 9174 fail txs

0x49C4460CC2366BD93D24974FF6813EF7FF4FB649 5644 fail txs

0xE1AB3DF91C8D871D59AE48D1DF18664173CB6297 4865 fail txs

0x4B15E04EBA58A46FB44829BBFE0D9CD82C149745 4830 fail txs

Who earned the most by playing the Cryptokitties game?

The list below enumerates top 10 players that have gained the most revenue playing the game. The parameter called “Kitties_amount” is the number of cryptopets, that the user has had for the all period of gaming. Apart from the developers’ account the list includes the address of already mentioned player (ranked second) who has bought a kitty from himself for 600 Eth

word image 85

These are accounts that are running at the most deficit

word image 86

Business Model

The main unit of a decentralized system is token. The more it is in demand the more success the DApp has. The situation of such interdependence of supply and demand is a pyramid. The more users and assets are involved in the game, the more valuable this game becomes. Thus, the main goal for developers is to create an environment in which new technologies and new players are constantly involved.

word image 87

What needs to be done to attract new users?

The first thing to do is to study when generally new accounts start using the DApp and find out the reason of such behavior. If to speak about Cryptokitties, the vivid interest is observed during the New Year time: New Year 2018 was the launch of the project and then that all-known “kitty boom”. A year after, New Year 2019 the game celebrated the first anniversary and the team used it as a good moment for giving-out of cryptocutties. Advertising campaigns and special events related to special occasions to which users react through the application, allow to transform a passive player into a more involved one. Having the figures, one can build a marketing strategy and understand what time is the best to start it. Statistics in its turn allows to monitor user reaction and behavior during a particular campaign: which methods are called most often, the intense of user retention to the application, etc.

word image 88

The second to be done is to analyze the periods ( time intervals, days of week) when the audience of the DApp is the most active and make prediction on further activities. These data allow to make some conclusions on user profile and behavior. For example, region, evening activity or during working hours, weekends or weekdays, on which days the turnover is higher, and which days is traffic. These metrics are of interest not only for the team of the project, but also for partners and competitors. If you understand the users of your business, then you better realize what kind of product they need the most.

word image 89

The third is to single out the most active accounts of your competitors’ products ( the biggest profit, the most transactions, etc). They are most likely to have interest to your DApp, that’s why they are highly desirable to be airdropped from you. One more moment not-to-forget is to study the behavior of such users and analyze their nearest environment using the graph.

word image 90

What needs to be done to increase the number of transactions?

All in all, the number of transactions depends on two reasons – the size of the audience and the intensity of the gaming process. Regarding the first factor we have already talked about above – this is primarily analytics, marketing and business strategy – then the second one is mostly connected with the developer of a smart contract.

word image 91

Also you need to get to know why the players like this or that game. Such data can be obtained by analyzing the statistics on the methods called. If a bet was made, say, on the crossing of cats, but the audience is interested in the auction part of the DApp, then it may be worthwhile to adjust the logic of the game. Chaingraph.io easily provides you with these data : one may calculate not only the overall retention to the smart contract, but also to the each of the contract methods.

word image 92

The lack of demand for some methods can be associated with problems on user interface, errors when making a transaction, and even the amount of gas needed. Therefore, it is necessary to have constantly updated relevant statistics on all technical aspects of the decentralized application: trace not only external calls but internal ones as well, event logs, gas statistics, etc.

word image 93

Have there ever been any fraudulent activities?

It is almost impossible to foresee all the vulnerabilities and loopholes of your application, but you can minimize the likelihood of their occurrence and rapidly track the possible failure if happens . The first may be implemented by the Security Check service, which detects possible bugs in the smart contract code. For the second item you need a tool to monitor user activity. All these instruments are at the disposal as soon as you start using Chaingraph.io.

word image 94

Chaingraph.io: Security Check Tool

word image 95

Chaingraph.io: Live Section

Some examples of atypical user behavior on the example of CryptoKitties:

A kitty bought for 600 Eth

word image 96

Buying and selling kitty from one and the same account may testify on a bubble of statistics and kitty price. Without analyzing the situation, a third-party user can observe a picture of active trades of a certain token, but this can only be a game to create the illusion of its “demand”. Such action can lead the local market of the application to undesirable consequences and the developer, at least, should be aware of the current economic situation in order to react adequately to it.

word image 3

The addresses that were involved into a transaction for 600 Eth

Kitties with three hundred resale

word image 97

Next is one more illustration of cheating statistics, this time the number of sales. More than a dozen kittytokens are far ahead from the nearest top (the gap is 20-30 times). If to go deeper it becomes evident that all 16 Kitties that have approximately the same number of transfers (about 300) were transmitted through the Auctionity smart contract for the same price. The representative of this crypto-auction commented that those actions were made to demonstrate the capabilities of the service, to boost initial stats and are not real sales. Perhaps this is a good example that statistics alone sometimes is not enough, it should be digested first.

word image 98

The gap in the statistics on the number of cat sales

What needs to be done so that users buy and sell more active?

The answer to this question is mainly got from two previous ones. With the stable game process, the increase of the audience and the interest to the DApp, apart from gaining more transactions you also get the increase in value for your token. Also, bear in mind that cryptogames are about money. Therefore, the trading volume of your token depends on the economic success of the entire project, that is composed of many aspects. Competent analysis gives an understanding to which parts of the project you should pay attention foremost.

word image 99

Live Section that allows for tracking activity in the real mode

Instead of a conclusion

What does the user need to do to make money by selling or buying cats?

These are several cases:

Long Play

  1. Buy a rare (exclusive, special) cat, preferably at some in-game event.
  2. Wait.
  3. Monitor the graphs of user activity (the number of transactions, the number of accounts calling the smart contract).
  4. When bursts of activity happen, put up a cat for sale at an inflated price.
  5. Gain profit.

Fancy Boom

  1. Monitor the occurrence of the event on the crossing of Fancy cats.
  2. Buy the maximum number of cats with the required genes.
  3. Quickly crossbreed new fancy cats.
  4. All kitties that have the right genes that remained after receiving fancy cats put up for sale a little more expensive than the buying price.
  5. A couple of fancy cats sell immediately at an average price in the market.
  6. The rest leave on the Long Play.
  7. Gain profit

Hard Illusion Risk

  1. Create a number of Ethereum addresses – these will be pseudo players.
  2. Trade kitties between them, breedcross, etc, i.e. create an ecosystem with a local economy.
  3. Choose one cat or more for promotion – preferably with some special feature (interesting name, description, body part, etc).
  4. Create around it an artificial picture of demand: resell it for big money, boost the price, offer for sale on Opensea.io.
  5. The bigger and more unexpected the numbers are – the more interesting. It is advisable the Kitty to be covered in the crypto-media.
  6. Sell a cat at a high price.
  7. Gain profit.

What does the Cryptokitties Team need to do to attract more players?

Airdrop

  1. Get statistics on the most active players of other decentralized games that have not played cats yet.
  2. Send them an egg with a cat.

Affiliate Advertising

  1. Analyze the first environment of CryptoKitties users.
  2. Detect which other decentralized applications the audience uses. For example, online casino Dice2Win, cryptokitties-similar-like games Blockchain Cuties or collection game MLB Champions.
  3. Analyze the smart contracts of competitors and figure out regions with potential audience. In this case, it is even not necessary to determine the region, it is enough to compare the graphs (data shown in UTC +3):

Average transaction time

for January,2019 – May,2019 for CryptoKitties:

word image 100

Dapp: MLB Champions

word image 101

Axie Infinity

word image 102

0xUniverse

word image 103

Dice2Win

word image 104

From the sample above 0xUniverse matches the best : the region coincides and a large number of CryptoKitties users play this game.

4. Start cross-promotion (preferably from 9 pm till 2 am (UTC +3)).

5. The idea is to exchange tokens if some special conditions are met. For example, if you have certain kittytokens, then you can get a bonus in another game and vice versa.

Regional events and advertising

  1. By analyzing the activity of the audience, you can hypothesize the time zone of most users. Add information from the application database and get the most active regions. We, in contrast to the developers, are limited in obtaining information about the IP-addresses of players, so we can only assume: the main audience of the game is located in the American region. It is more likely to talk about the United States (especially the eastern coast) and Canada, however, as an option, it may be a country of South America.
  2. Now you can attach gaming events to events of importance for this region: Christmas (cat-Santa), Halloween (cat-zombie), Thanksgiving (cat-turkey 0_o), Black Friday (cat-discount 0_0), etc.
  3. Do not forget to monitor the figures and the reaction for each activity and thus, single out the most profitable regions.

 

John Asher

About the Author

I am a crypto-enthusiast that likes to write about the blockchain industry. Mostly, I'm interested in the gaming industry and how it will revolutionize in-game asset ownership.