Part 14: Governance in games

Part 14: Governance in games

In this article, we will develop a voting system that will allow users to provide developers with suggestions or change the value of game changes. Creating configs table struct [[eosio::table]] mconfig_j { std::string variable_name; std::string variable_type;...
Part 12: Token and resource swaps

Part 12: Token and resource swaps

In this article, we’re building on previous discussions about upgrading items by introducing a method to exchange resources for tokens. We’ll add a new table to track resources, where each entry includes a `key_id` (numerical ID for the resource),...