Transferring In-Game Assets On-Chain

This recipe provides a standardized process for securely transferring in-game assets, using a verifiable workflow that maintains integrity across both the gaming and blockchain environments.

Partners

  • iDOS: Manages identity verification and credentials throughout the gaming transaction process.

  • Cube3: Provides security services and fraud prevention checks for all asset transfers.

  • Privado ID: Provides secure credentialing and identity verification services.

  • Space and Time: Maintains game state storage and ensures synchronization between game world and blockchain.

Example Use Case When a player forges a new item in the game, the system verifies the transaction, handles the token payments, creates the appropriate NFT, and updates both the game world and blockchain records while maintaining security and verifiability throughout the process.

Benefits

  • End-to-end transaction verification through comprehensive hashing

  • Secure handling of both fungible and non-fungible tokens

  • Seamless synchronization between game state and blockchain

  • Immutable proof of ownership and transaction history

Overview of Steps When a player forges a new item in the game, a series of orchestrated steps are triggered to ensure the process is smooth, secure, and verifiable.

Sequence

Trigger: The forging event kicks off the recipe.

1

Verify: The event is verified through our decentralized network to ensure it’s legitimate.

2

Security: Additional security checks are performed to prevent fraud and ensure compliance.

3

ERC-20 Token Handling: The cost of the item is verified as paid.

4

ERC-721 Transfer: The new item (an ERC-721 token) is created and transferred to the player's wallet.

5

Update Game World: The item is added to the player's inventory in the game.

6

Hash Data: All relevant data is hashed in sequence to maintain integrity and provide a verifiable record.

7

Merkle Tree Aggregation: The hashed data is aggregated into a Merkle tree structure for efficient verification.

8

Record on Blockchain: The event is recorded on the blockchain, providing a transparent and immutable record of execution.

Verifiability: Throughout this process, every action (on-chain or off-chain) is hashed and logged, ensuring that each step can be verified. This builds trust and transparency, letting players know their transactions are secure and tamper-proof.