Template Repository

A comprehensive walkthrough of the Okto SDK Template Apps designed for Unity. This template demonstrates core Okto functionality—including authentication, wallet management, and blockchain interactions—so you can quickly get started building with Okto.

Customize Before Production

Please note that this template is for development and testing purposes only. Be sure to customize and secure it before using in production.

Unity Template Repository

iOS Support

The Okto SDK for Unity is designed to work out of the box with iOS builds. Unity's standard iOS build process is sufficient - no additional dependencies or special configurations in Xcode are required.

You don't need to:

  • Add any frameworks
  • Modify Info.plist
  • Add any dependencies
  • Configure any special permissions

Getting Started

For detailed installation instructions, select your framework below:

Unity Template App
  1. Clone the repository:
git clone https://github.com/okto-hq/okto-sdkv2-unity-template-app.git
  1. Change into the project directory and install dependencies:

"com.unity.nuget.newtonsoft-json": "3.0.2"

  1. Set up environment variables:
Login.cs
webClientId="Google_Web_OAuth"
  1. Add your API keys to the .env file:
OktoClient.cs
clientPrivateKey="YOUR_CLIENT_PRIVATE_KEY"
clientSwa="YOUR_CLIENT_SWA"
Warning:Essential Setup Required
Show

Before you begin, set up your developer dashboard by making sure you have :

If you need help, reach out to us on our troubleshooting form and we will contact you.

  1. Start the Unity Project by running play.