Website | Documentation | API Docs | Twitter
- Create a
Plugins
folder at the root of your project - Copy the Openfort plugin there
- Open your project in Unreal Editor
- Verify that the plugin is installed
- Reduild your project
Openfort
- the main component of the plugin, which includes the functionality related to the session keys and has integration with Openfort API
GenerateSessionKey
- generates a new key pair for the Openfort sessionInitializeSessionKey
- initialize Openfort component based on the private key hex (privateKey
parameter), saved in the gameGetSessionPublicKeyHex
- returns the public key in the hex format for the current session key pairGetSessionPrivateKeyHex
- returns the private key in the hex format for the current session key pairGetSessionAddressHex
- returns the address in the hex format for the current session key pairSignMessage
- signs with the session key the message provided as a parameter for the function
SetApiKey
- set the API key to the Openfort client to be able to connect to the Openfort APISignatureSession
- sends the signature session request to the Openfort APISignatureTransactionIntent
- sends the signature transaction intent request to the Openfort API
The following blueprints are provided as examples of the basic functionality and can be modified according to the architecture and needs of the project