SHIRO
HomeAboutRoadmapTelegramTwitterWebsite
  • 👋Welcome to Shiro
  • 👩‍🏫Introduction to Shiro
  • 🚀The Vision and Mission
  • Shiro Gameplay
    • 🐱The World of Shiro
    • 🎩Characters and Abilities
    • 🎮Collectibles and In-Game Currency
    • 💪Levels and Challenges
  • Economics of Shiro
    • 🪙Tokenomics 101
    • 💲The $SHIRO Token
    • 💰Earning and Spending $SHIRO
    • 🏆Staking and Rewards System
    • 💸In-Game Purchases and Economy
  • The Shiro Platform
    • 🎩Technology Overview
    • ⛓️Blockchain Integration
    • 🔐Smart Contracts and Security
    • 📱Shiro on Different Devices
  • Smart Contracts and Interactions
    • 🛡️Overview of Shiro Smart Contracts
    • 🧊The Token Contract
    • 💫Gameplay Mechanics via Smart Contracts
  • Security Protocols
    • 📜Smart Contract Audits
    • 📃Best Practices for Users
    • 🔓Security Infrastructure
  • Governance and Community
    • 👥The Role of the Community
    • ⭐Governance Model
    • 🌀Proposing Changes and Voting
  • Marketing and Partnerships
    • 🧃Overview of Marketing Strategies
    • 🔮Collaboration and Sponsorships
    • ➰Merchandising and Branding
  • Roadmap
    • 🛣️Historical Milestones
    • 🗺️Current Developments
    • ⌛Future Plans and Aspirations
  • Contact and Official Links
    • 🌐Website
    • 🌠Telegram
    • ✖️Twitter
    • Ⓜ️Medium
Powered by GitBook
On this page
  • Design Principles
  • Contract Architecture
  1. Smart Contracts and Interactions

Overview of Shiro Smart Contracts

Shiro utilizes smart contracts to automate, secure, and decentralize various aspects of the gameplay and token economics within its Solana-based platform. These contracts are central to ensuring that all transactions, from token transfers to gameplay interactions, are executed transparently and without the need for a trusted third party.

Design Principles

The smart contracts for Shiro are developed with a few key principles in mind:

  • Security: The utmost priority is given to making the contracts secure against attacks and vulnerabilities.

  • Efficiency: Optimizing for low cost and high throughput, essential on the Solana blockchain where speed and scalability are significant.

  • Upgradability: Ensuring that parts of the contract can be upgraded in response to gameplay changes, technological advancements, or security updates without disrupting the user experience.

Contract Architecture

The smart contract architecture in Shiro consists of several modules, each handling distinct aspects of the game:

  • Token Management: Handles all operations related to the $SHIRO tokens such as issuance, transfers, and staking.

  • Game Logic: Encodes the rules of the game, interactions within the game environment, and player actions.

  • Asset Registry: Keeps track of the ownership and attributes of digital assets, whether they are collectibles or consumables within the game.

PreviousShiro on Different DevicesNextThe Token Contract

Last updated 1 year ago

🛡️