Giter Site home page Giter Site logo

cryptocolors's Introduction

CryptoColors

own Colors, Mix Colors to get new colors

Inspired from cryptoKitties, Cryptocolors is an attempt to implement NFTs on ERC1155 standard. The main idea is that players can own Colors and mix them to get new NFT colors. The color image is hosted on IPFS.

Structure Of the Code

The whole code is broken down into contracts according to the functionality.

  • [Cryptocolors] is our main contract which inherits all the functionalities
  • [paletteBase] is the base contract which defines the necessary variables and data storage
  • [paletteOwnership] is the contract implementing ERC1155 standard which holds the ownership details of colorsNFT. This can also hold ERC20 tokens which can be introduced in further versions.
  • [colorMixing] is the contract which enables players to mix colors and get new NFTs

IPFS image collection

  • colors from #000 to #9ff can be accessed with the CID of QmZNFPrHQwZ6sj6biCuuJCREJXvraL8LQqs2SmWNwvCsGV/{colorId}.png

  • colors from #9ff to #fff can be accessed with the CID of QmQPSkBDsgW83WEtG5w2HgipKPDQUQQu9tpvDyN5nVAPw8/{colorId}.png

ex: ipfs://QmQPSkBDsgW83WEtG5w2HgipKPDQUQQu9tpvDyN5nVAPw8/d46.png

ToDo

  • dev a marketplace where players can sell and buy Cryptocolors

cryptocolors's People

Contributors

vbhaskar125 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.