-
Notifications
You must be signed in to change notification settings - Fork 1
Connect a .NET Library to VARA in Unity
VladyslavLapin edited this page May 6, 2024
·
2 revisions
Here are the main ways you can connect a library to Unity:
- Using NuGet:
- The VARA RPC API supports NuGet which can be used to interact with the VARA network from Unity.
- You need to install Vara.Core package in Manage NuGet Packages.
- You can use docs in NuGet official site: https://www.nuget.org/
- Using gRPC:
- The VARA RPC API supports gRPC, which can be used to interact with the VARA network from Unity.
- You will need to generate gRPC client libraries for .NET from the VARA API protobuf description.
- Protobuf description of the VARA API: https://github.com/gear-foundation/vara-wiki
- Once you have generated the gRPC client libraries, you can use them to send requests to the VARA RPC API and receive responses.
- Using the HTTP API:
- The VARA RPC API is also available over HTTP.
- You can use the standard Unity HTTP libraries to send requests to the VARA RPC API and receive responses.