📖
Diary Of An Explorer (EN)
  • ☝️Preface
  • 🎯Introduction
    • Giants Planet
    • Overview
    • Highlights
    • Roadmap
    • Architecture Overview
  • 🌟GIANTS PLANET COLLECTIONS
    • Founding Explorers
    • Giants Ordinals
      • Giants Ordinals V1 Staking For BGPS
      • Giants Ordinals V2 Staking For BGPS
  • 🪙BGPS
    • Overview
    • Tokenomics
  • 📙GIANTS PROTOCOL
    • Overview
    • Advantages of Giants Protocol
    • User Flow for GP Protocol
    • Application
    • Runes Search Engine
    • Reward Ranking Mechanism
  • 🎮GIANTS PLANET GAME
    • Overview
    • Giants Ordinals > Baby Giants > Adult Giants
    • Technology & Mechanics
  • 🛒Giants Planet Marketplace
    • Overview
    • Detailed Components
  • 📲STAY CONNECTED
    • Official Links
Powered by GitBook
On this page
  1. GIANTS PROTOCOL

Application

PreviousUser Flow for GP ProtocolNextRunes Search Engine

Last updated 9 months ago

The concept is to use public and verifiable data (like a block's information) as a seed for generating random numbers or attributes. This data is then processed using multiple hash functions, each specified by an inscription ID. This approach can be used in various applications, such as:

  • Digital Assets: Ensuring the randomness and uniqueness of attributes assigned to digital assets.

  • Smart Contracts: Generating secure and unpredictable outcomes in smart contract executions.

  • Games: Creating random game elements or loot in a secure manner.

Example: Applying GP Protocol in a Game

  1. Role Creation

  • Scenario: A player creates a new game character.

  • Attributes:

    • Attack: 90

    • Defend: 20

    • Element: Wind

    • Metaprotocol and Metadata:

      {

      "Giant":

      {

      "Attack": "90",

      "Defend": "20",

      "Element": "Wind"

      }

      }

Inscription ID: game_character_inscription

  1. Role Upgrade

  • Scenario: The player joins the Assassin group.

  • New Attributes:

    • Class: Assassin

  • Metaprotocol, Metadata, and Parent ID:

    {

    "Giant": {

    "Class": "Assassin"

    }

    }

Parent ID : game_character_inscription_0in

  1. Claiming Upgraded Role

  • Scenario: The player claims the upgraded character.

  • Process: The player sends a rune to claim the new attributes.

📙
Application of Giants Protocol