The February Sale is here! Save 50% on select products now through February 22.

Blockchain

3S Game Studio - Code Plugins - Jul 14, 2022

Works with most popular blockchain networks. Native integration. Construct and send blockchain transactions and communication with smart contracts directly from the engine. Package it with the game without a need for any external programs or API.

  • Supported Platforms
  • Supported Engine Versions
    4.27, 5.0 - 5.3
  • 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.

DISCORD SUPPORT | Tutorials (new) | Documentation | Example Project (new)

Blockchain Integration Plugin

Function library to construct and send blockchain transactions via JSON-RPC and communication with smart contracts directly from the engine. All functions are exposed to blueprints for user convenience. Can be Packaged and shipped with Dedicated Servers. No 3rd party libraries or dependencies.

 

Currently Supports Ethereum, Polygon, Avalanche, Binance Smart Chain, Cronos, Huobi Eco Chain, and custom. As well as correspondent test nets for those networks.

 

WHY Blockchain?

Blockchain allows to write, read and store values and functions inside a decentralized ledger that holds no cost to upkeep, and no need to set up servers or databases. It can keep any “cloud data” one would usually use 3rd party providers, involving saves, statistics, account data, user-generated content recipes, anonymous statistics. The cost of creating and maintaining the data can be as low as zero due to the possible use of test networks. Nevertheless, if you wish to migrate your project to the main net, you pay only for what is actual use, with no upkeep or pesky subscriptions to follow. You also are not relying on 3rd party software that could, in theory, go under or unavailable at any time. 

 

NFT support?

You can mint, transfer, or use NFTs with this plugin. Either as rewards for playing or simply utilizing a premade project collection generated months ago. Here lies the most accessible gateway to the utility of NFTs. The plugin also allows launching solidity contracts directly from the engine.

 

Play to Earn?

Our plugin fully supports the play-to-earn model. You can present players with your tokens or directly by transfers or minting privileges for your games' NFTs. Play to earn, go above and beyond simple monetary value, and code work entirely without a payment model or a custom token as currency.

----------------------------- 

V 2.2 release note:

  • Added full LUKSO network support
  • Multiple ERC, EIP, and LSP standards covered by ABI objects
  • Opensea Meta Data Standard covered

----------------------------- 

V 2.1 release note:

  • Private key AES Encryption-Decryption

----------------------------- 

V 2.0 release note:

  • New ABI encoding and decoding using K2 Nodes and Data assets!
  • Allows to return multiple arrays, or mix of static values and arrays/structures.
  • Automatic parsing values to number, bool, and string.
  • ERC20, WRC721, and ERC1155 standards already prepared for ABI use.

----------------------------- 

V 1.1 release note:

  • Layer 2 reading capability. For both ZK rollup and Optimism. Currently supports: ImmutableX & Loopring
  • New ETH_ functions: get transaction receipt, get transaction by hash, get block number

-----------------------------

V 1.0 release note:

  • Base58 encoding
  • Bytes array operations
  • ECDSA SECP256k1 full support (signing, key generation, etc)
  • Sha512, Sha256, Ripemd160
  • Keccak-256 full support
  • JSON-RPC General API call function (async and callback)
  • Uint256 full support: Calculation, Comparison, Conversion, Parsing
  • Ethereum Methods: Estimate gas, Gas price, Transaction count, Get balance
  • Send raw transactions
  • Address generation
  • Address validation
  • Transaction signing
  • Transaction validation
  • Get network configuration

 

Planned updates:

  • More ETH Layer2 Networks
  • Solana Blockchain
  • Bitcoin Blockchain
  • More target platforms support
  • OpenSEA Integration
  • JSON parser
  • QR code generation

Technical Details

Features:

  • ECDSA - SECP 256 K1– a private and a public key generation based on elliptic curves. From random input or string key seed.
  • Keccak 256, sha 256, sha 512, ripemd 160 hashing library functions integration.
  • Ethereum Address generation and validation.
  • JSON RPC Request – Functionality to call JSON RPC call on any blockchain node in any blockchain implementing JSON RPC as a method of communication. Send messages directly to nodes instead of a singular point of failure API gateway. Async nodes and event call-back version.
  • _ETH functions – basic ETH functions for checking gas price, Get Balance, Send Raw Transaction, Estimate Gas. More coming.
  • Uint256 parser – Blockchain uses variable types out of bound for unreal engine to handle natively. That’s why we introduced parsers for 256-bit integers and unsigned integers.
  • Hex conversion – Converters in both ways to generate hex string from big int string, and other way around.
  • Generate transaction – generation and signing transactions to send via RPC calls.
  • Base58 Parser.
  • Secure Random Bytes Library.

 

Code Modules:

  •  TSBC_Plugin (runtime) 

 

Number of Blueprints: 0

Number of C++ Classes: 29

Network Replicated: Yes (via blockchain)

Supported Development Platforms: Windows

Supported Target Build Platforms: Win64, Linux, Android

Documentation: Link.

Example Project: Link.