Pirichain Whitepaper
🌍 Pirichain🔮 Explorer🧰 API
  • 👋What is Pirichain?
  • Overview
    • 🔮Upcoming Projects
  • PIRICHAIN INFRASTRUCTURE
    • 🛤️Pirichain Infrastructure
      • 🅱️1.1. Pirichain specific block fields
      • ⏩1.2. Pirichain-specific transaction fields
      • 📒1.3. Pirichain Wallet Structure
        • 👤Personel Wallet
        • 💼Business Wallets
      • 👉1.4. Creation of Pirichain Transaction
      • 📎1.5. A New Concept in Blockchains! Adding Data to the Blockchain
      • 💠1.6. Pirichain's Web Server Services Structure
      • 🤝1.7. Consensus at Pirichain
  • PIRICHAIN SMART SCENARIO
    • 💡Pirichain Smart Scenario
      • 🌀2.1. Pirichain Smart Scenario Virtual Machine
        • ⚗️2.1.1. Pirichain Example Smart Scenarios
          • 🩺2.1.1.1. A Scenario on Health
          • 📦2.1.1.2. A Scenario on Inventory
        • 🎓2.1.2. Scenario of calculating the semester average with course grades and coding example
  • PIRICHAIN PLATFORMS
    • 🖥️3.1. Pirichain Desktop Wallet & Database Bridging Application (Wallet & DataBridge Application)
  • PIRICHAIN TRANSACTION TYPES
    • ⛓️4. Pirichain Transaction Types
  • PIRICHAIN COMMISSION
    • 🔥5. Pirichain Commission
  • PIRICHAIN REWARD DISTRIBUTION
    • 🎁6. Pirichain Reward Distribution
  • PIRI Coin Holders
    • 👥PIRI Tokenomics
  • 📍Pirichain Projected Roadmap
  • ⬆️Updates
    • 🚀New Fee Mechanism in Pirichain
  • REFERENCES
  • 🌎Pirichain Showcase
  • 🔎Pirichain Explorer
  • 🌐Pirichain Scanner
  • ✒️Pirichain Master Thesis
Powered by GitBook
On this page

Was this helpful?

  1. PIRICHAIN SMART SCENARIO
  2. Pirichain Smart Scenario
  3. 2.1. Pirichain Smart Scenario Virtual Machine

2.1.2. Scenario of calculating the semester average with course grades and coding example

Previous2.1.1.2. A Scenario on InventoryNext3.1. Pirichain Desktop Wallet & Database Bridging Application (Wallet & DataBridge Application)

Last updated 2 years ago

Was this helpful?

As seen in Figure 2.7, the course name and course grades of the student were sent to the block via different transactions.

As seen in Figure 2.8, the smart scenario was coded upon calculating the student's semester average. All lecture notes of the student sent to the block network beforehand are shown in Figure 2.9.

These grades are intended to be averaged with a small scenario as in Figure 2.8. Coding was done in javascript format on the left side of Figure 2.8. As can be seen on the right, the period average is calculated by the system.

To see details and more inside Pirichain Explorer click link below.

💡
🌀
🎓
🔽
https://explorer.pirichain.com/scenarios/PRTMQ7fcZp7ACGDEom4KJQ4bvJ5nwQ3CcaUTFy642mE
Figure 2.7: The course information of the student has been sent to his/her own address.
Figure 2.8: Smart scenario coding that finds the semester average
Figure 2.9: Entire list of grades