We wanted to pass this onto any developers interested in the option to integrate a cryptocurrency into their game projects. This hasn't been updated in a bit but we think there is probably going to be a new release eventually. We did manage to get this to load in UE 4.24 but I suspect it may also work fine in 4.25 with a little work. NANO is doing decent lately and its an option if you want to embrace some crypto in your games. We will try to pass on more that we find that is crypto related for our game developers here.
Plugin for integrating Nano micropayments into Unreal Engine 4
Currently in Beta. Only tested on Windows Desktop (UE 4.22.3 VS 2019), do not use in production.
Heres a video showing an older version of the test map:
Here's a video showing the plugin being used with the ActionRPG sample game:
How to use:
Copy Plugins folder to an Unreal Engine project root directory
A http server (for RPC requests) & a websocket server (to receive notifications from nano network) are needed. A sample node.js file is supplied (server.js) which sets this up. config.js is where the server settings go for this. Run npm install to instal dependencies.
A node is required to be running which the websocket & http server (for RPC request) will talk with. websocket and rpc should be enabled in the config.
To check everything is set up, try the TestLevel Unreal engine map. BP_PlayerState contains NanoWebsocket & NanoManager variables which are set in the level blueprint and used throughout. NanoManager has the required http server details which need changing. A video demonstration is coming soon.
Implementation details:
NanoBlueprintLibrary contains various generic functions such as creating seeds, encrypting/decrypting them using AES with a password, converting to accounts, converting between Raw and Nano and various other things.
NanoManager is where the other functionality is located
Where are AES encrypted files stored?
Windows
C:\Users<user>\AppData\Local\Nano_Games
Linux
/home//Nano_Games
Mac
/Users//Library/Nano_Games
You can grab their official NANO UE4 Plugin here:
https://github.com/wezrule/UE4NanoPlugin