Calling functions from another Smart Contract
  • Create the withdraw balance and check for the user balances to withdraw
  • Reducing our token from the account table by the requested amount
  • Compiling, Deploying and Testing the Withdraw Action
  • Calling the transfer Action from our token Smart Contract
  • Compiling, Deploying and testing the transfer tokens functionality
Creating a multi-index table
  • Creating the tools table
  • Creating an action to add tools to our game
  • Adding new tools to our tools table
Creating tables with secondary indexes
  • Creating a multi-index table with seconday index
  • Creating a Action to add new tools to the account
  • Compiling, Deploying, testing and fixing our addnft Action
Creating more complex actions and private functions
  • Creating our claim tool and adding all the check for it
  • Creating our change energy Action
  • Creating our change tool durability Action
  • Add a function to update the player ingame balance
Improving the work with tables
  • Creating a global definition for our table
  • Checking if the tool is available for use and reset the availability
  • Compiling, Deploying and testing the tool availability and enforcing it - p