New Twinmotion products available for free now

Cronos Play for Unreal Engine

Cronos Labs - Code Plugins - Sep 21, 2022

With support for C++ and Blueprint, the Cronos Play Unreal Engine Plugin lets you easily connect to the Cronos blockchain.

  • Supported Platforms
  • Supported Engine Versions
    4.27, 5.0
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

The Cronos Play Unreal Engine Plugin enables games to easily interact with the Cronos blockchain and with common Web3 smart contract standards. These include ERC20 fungible token contracts and ERC721 and ERC1155 non-fungible token (NFT) contracts. Game developers will be able to let end-users log in with their crypto wallets via WalletConnect.


End-users may then access Cronos as part of their in-game interactions. For example, end-users can retrieve their cryptocurrency and NFT token balances, trade, stake, or lend their assets.  They can even leverage their holdings to access premium content as part of a suite of out-of-the-box functionalities.


This plugin supports both C++ and Blueprints Visual Scripting development. It is compatible with Unreal engine 4.27 and 5.0.



Technical Details

Features:

Easily obtain the following pieces of contract/wallet address information by using Blueprint or C++

-Get Token Symbol  

-Token Name

-Token TotalSupply

-Token Balance

-Account Balance

-Get TokenURI

-Get ERC20 Transaction History 

-Get ERC721 Transaction History 


Transfer Functions

–Transfer ERC20, ERC721, ERC1155 tokens using the allowance mechanism

–Allow `approved_address` to withdraw ERC20, ERC721, ERC1155 tokens from your account multiple times, up to the `amount` amount


Wallet Functions

–Connect with WalletConnect

–Restore wallet from mnemonic words


Code Modules:

  •  CronosPlayUnreal: Runtime 

Number of Blueprints: 6

Number of C++ Classes: 8

Network Replicated: No

Supported Development Platforms: Win64, Mac, Linux

Supported Target Build Platforms: Win64, Mac, Linux, Android

Documentation: https://cronos.org/docs/play/getting-started_unreal.html

Example Project: https://github.com/cronos-labs/play-unreal-demo/releases/download/v0.0.7-alpha/CronosPlayDemo.zip

Important/Additional Notes: Please visit Cronos Play or fill this Contact Form for more information.