Skip to main content

Installation

We provide SDKs for developing projects in: NodeJS, Go, React Native (Android and iOS), Web projects, Kotlin for Android, Swift for iOS, and Unity for mobile game development.

Obtaining Credentials

To obtain the necessary credentials for accessing the Sodot JFrog Artifactory repository, use our guide here.

Minimum Requirements for Installation

  • Unity 6.0 or higher (i.e. minSdkVersion 23 for Android, and iOS 13.4 or higher)

Unity SDK Installation

To use the Sodot Unity SDK in your Unity mobile game project, follow these installation steps:

  1. Follow the instructions in the Obtaining Credentials section to obtain your credentials and log into the JFrog Artifactory repository.

  2. Create a .upmconfig.toml file in the home directory of your machine (e.g. ~/.upmconfig.toml on Linux or macOS, or %USERPROFILE%\.upmconfig.toml on Windows) with the following content:

[npmAuth."https://repo.sodot.dev/artifactory/api/npm/v1-sodot-mpc-sdk-unity/"]
token = "<YOUR_JFROG_NPM_TOKEN>"
email = "<YOUR_EMAIL>"
alwaysAuth = true
  1. Set registry URL in Unity:

    • Open Unity and go to Edit > Project Settings.
    • In the Package Manager section, set the Scoped Registries to include the Sodot registry:
      • Name: Sodot
      • URL: https://repo.sodot.dev/artifactory/api/npm/v1-sodot-mpc-sdk-unity
      • Scope: dev.sodot.mpc.sdk
  2. Open the Package Manager in Unity by going to Window > Package Management > Package Manager.

  3. In the Package Manager window, in the Registries section, select the Sodot registry you just added.

  4. Select the Sodot MPC package from the list of available packages and click Install.

Usage

After installation, you can import the SDK classes in your C# code by importing the package e.g. :

using SodotSDK.Ecdsa;

You can now start generating keys and signing. Refer to the Getting Started guide for next steps.