Checking Dependencies - ajuna-network/Polkadot.Unity.SDK GitHub Wiki

For effective use of the Polkadot SDK for Unity, ensure these dependencies are set up, in the correct target framework .NETStandard 2.0, 2.1, or NET6.

Substrate Gaming Libraries

Substrate .NET API

image
Core integration for Substrate blockchains. Handles JSON-RPC, payload-signature integration, and Rust-type translation into C#. Check GitHub and NuGet.

Substrate .NET API needs additional core dependencies to work, please check the guide on how to generate and obtain them.

Substrate .NET Extension

image
Generated from the Substrate .NET Toolchain, it creates a tailored C# SDK for specific blockchains. Essential DLL: Substrate.xxx.NET.NetApiExt. Visit GitHub.

Substrate .NET Wallet (Optional)

image
Adds wallet functionalities, including encrypted JSON file management. More details on GitHub and NuGet.

Wrapper Libraries (Optional)

image
Simplifies blockchain access, integrating game logic and consolidating data into single objects.

Core Dependencies

How to get them

To add the core libraries of Substrate .NET API to the Debug or Release folder, include the following in your .csproj file:

	<!--Set this to true if you want to generate all necessary/dependent DLLs to use them in Unity Project for example-->
	<PropertyGroup>
		<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
	</PropertyGroup>

This will copy all dependencies to your local folder.

image

From there, you can simply drag and drop them into your Plugins folder in Unity.