Architecture

Overview of the architecture and processes for token minting and burning in the CROSS-RAMP platform.

Through the CROSS-RAMP console, you can intuitively check the request-response flow between applications (Dapps) and servers, as well as the token issuance process linked to the blockchain network.

Developers can easily understand how applications (Dapps) interact with the RAMP platform and how token issuance requests are transmitted to the blockchain to create actual tokens step by step.


Components

ComponentRole / Description
RAMP F/EProvides the user interface (UI) and displays transaction status in real-time.
RAMP B/EPerforms core logic such as transaction request processing, validation, and Validator signature requests.
Game ClientCalls RAMP F/E and displays transaction progress status.
Game ServerResponsible for game internal logic such as game asset verification, deduction, restoration, and signature processing.
Blockchain NetworkHandles the minting and burning transactions of actual tokens.

Token Minting

Token minting process sequence.

  • When a user requests token minting, the game assets must be deducted first before token minting proceeds.
    If the token minting fails in the transaction, game assets need to be restored.
  • In sequence 12, it is necessary to verify whether the game assets and token amounts used for user token minting match the game assets and token amounts requested by the CROSS platform.

< Minting >


No.DescriptionNote
1User requests FT, NFT minting
2Request JWT tokenUsed in flows 9 and 14, needs verification on the game server
3Request UUID
4Query game assets required for FT, NFT minting
5Call RAMP API to obtain UUIDRequest must include information necessary for FT, NFT minting (Intent, etc.)
The interface required for UUID requests can be found at the following link .
6Open RAMP F/E web viewIncludes UUID, JWT, sessionID
7Retrieves the user asset information required for calculations in the Ramp F/E.
8Retrieves the user asset informationThe interface for retrieving a user’s in-game assets can be found at the link .
9User selects minting on RAMP F/EProceed with signing through the wallet
10Deliver user signature value
11Request Validator signature to game serverThe interface for signatures required for server verification can be found at the link .
12Verify FT, NFT minting request information and deduct necessary game assetsRestoration needed if transaction fails
13Validator signatureSigned with the Validator private key registered in the RAMP console
14Verify Validator signatureVerified with the Validator address registered in the RAMP console
15Request transaction occurrence to blockchain network
16Send transaction result to game serverThe interface for checking token minting and burning transaction results can be found at the link .
17Process transaction resultRestoration of game assets needed if transaction fails
18Retrieves the user asset information required for calculations in the Ramp F/E.
19Retrieves the user asset informationThe interface for retrieving a user’s in-game assets can be found at the link .
20Process burning result UI in-game

Token Burning

Token burning process sequence.

  • When a user requests token burning, the token burning transaction must be performed first before game assets are granted.
    If the transaction fails, game assets should not be granted.
  • In sequence 12, it is necessary to verify whether the game assets and token amounts used for user token burning match the game assets and token amounts requested by the CROSS platform.

< Burn >


No.DescriptionNote
1User requests FT, NFT burning
2Request JWT tokenUsed in flows 9 and 14, needs verification on the game server
3Request UUID
4Query game assets required for FT, NFT burning
5Call RAMP API to obtain UUIDRequest must include information necessary for FT, NFT burning (Intent, etc.)
The interface required for UUID requests can be found at the following link .
6Open RAMP F/E web viewIncludes UUID, JWT, sessionID
7Retrieves the user asset information required for calculations in the Ramp F/E.
8Retrieves the user asset informationThe interface for retrieving a user’s in-game assets can be found at the link .
9User selects burning on RAMP F/EProceed with signing through the wallet
10Deliver user signature value
11Request Validator signature to game serverThe interface for signatures required for server verification can be found at the link .
12Verify FT, NFT burning request
13Validator signatureSigned with the Validator private key registered in the RAMP console
14Verify Validator signatureVerified with the Validator address registered in the RAMP console
15Request transaction occurrence to blockchain network
16Send transaction result to game serverThe interface for checking token minting and burning transaction results can be found at the link .
17Process transaction resultGame assets need to be granted if the transaction is successful
18Retrieves the user asset information required for calculations in the Ramp F/E.
19Retrieves the user asset informationThe interface for retrieving a user’s in-game assets can be found at the link .
20Process burning result UI in-game