9. Components of the NitroPortal System
Before diving into the detailed processes of how items are extracted and injected within the NitroPortal, it’s essential to understand the components involved and how they interact.
1. Portal API: The Portal API is hosted by NitroDome and serves as the intermediary layer between the Portal UI and the game-specific APIs (referred to as Portal Game APIs). All communication between the user interface (UI) on the NitroDome website and the game itself is routed through the Portal API. The Portal API manages its own database, smart contracts, event listeners, and handles all the core functionalities needed to interact with the game.
2. Portal UI: The Portal UI is the user-facing component of the NitroPortal, where users can interact with their game assets, manage their inventory, and initiate transactions such as extracting items to NFTs or injecting NFTs back into the game.
3. Portal Game API: Each game integrated with the NitroPortal has its own Portal Game API. This API is responsible for verifying user credentials, managing in-game inventory, and handling specific game-related operations. It communicates with the Portal API to ensure that the correct data is exchanged between the game and the blockchain.
Last updated