Code Monkey home page Code Monkey logo

ronin's Introduction

Ronin Cats, Recruits and $HONOUR token

$HONOUR token

Each Cat will accrue 10 $HONOUR every 24 hours. $HONOUR can be claimed at any point and will be used to recruit new cats for your clan. $HONOUR will provide extra utility when the battle begins and will be used for cosmetic in-game purchases. Any unclaimed $HONOUR is still claimable after a transfer of ownership.

Recruiting

When a holder of 2 or more Ronin Cats has enough $HONOUR, they will be able to begin recruiting. There are five types of cats you can recruit for your clan: Merchants, Craftsman, Samurai, Daimyo, and of course, Musicians. Each type of cat will have a different play style and can be used in conjunction with your other cats for unique combinations and strategies.

  • Burn 600 $HONOUR to mint a “Ronin Recruit”
  • Must be holding 2 Ronin Cat NFTs
  • Total supply of 500

Deployment instructions

  • Ensure all 5 contracts are in the same directory.
  • Deploy RoninCats
  • Deploy RoninKittens
  • Deploy HonourToken. Parameters are the addresses of RoninCats and RoninKittens.
  • Call setHonourTokenAddress() function on RoninCats contract, where the input argument is the address of the HonourToken contract
  • Call setHonourTokenAddress() function on RoninKittens contract, where the input argument is the address of the HonourToken contract

Note:

  • preSaleStatus and publicSaleStatus are set to false by default. Only one can be live at any one time. Setting either one to true or false will automatically set the other to false.

  • breedingStatus is set to false by default. Until it is set to true (using the setBreedStatus() function on the RoninKittens contract), RoninKittens cannot be minted by calling breed() function on HonourToken contract.

  • Rewards can be claimed by calling claimReward() on the HonourToken contract.

  • Outstanding amount of HONOUR that can be claimed can be viewed by calling viewReward() on the HonourToken contract. Unit is Wei (standard practice) where 1 HONOUR = 1*10^18 Wei.

ronin's People

Contributors

0xtdf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.