Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cryptokitties in XML #34

Closed
bitcoinwarrior1 opened this issue Jul 13, 2018 · 1 comment
Closed

Support cryptokitties in XML #34

bitcoinwarrior1 opened this issue Jul 13, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bitcoinwarrior1
Copy link
Contributor

bitcoinwarrior1 commented Jul 13, 2018

Once apps can support erc721, we should create an XML for them based of the encodings they currently have.

Only one fourth of the byte32 is used to represent a kitty's look.

bits: 012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234012340123401234
blok: 0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    0    1    2    3    

mask: 000000000000000111110000000000000001111100000000000000011111000000000000000111110000000000000001111100000000000000011111000000000000000111110000000000000001111100000000000000011111000000000000000111110000000000000001111100000000000000011111

mask for the first kattribute is body:
      000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Data refered to from this table:
https://medium.com/@kaigani/the-cryptokitties-genome-project-on-dominance-inheritance-and-mutation-b73059dcd0a4

@bitcoinwarrior1
Copy link
Contributor Author

XML not used for cryptokitties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants