HOCO Unity SDK 0.0.15-Alpha
A Web3 SDK provided by HoneyComb
|
#ThirdWeb Unity SDK
Import the ThirdWebUnitySDK into you project by grabbing the latest version from their release page
In order to not reinvent the wheel, we use the ThirdWebSDK for Wallet Interactions and Contract Interactions
To use the HoneyComb SDK you need to install a few dependencies:
Note: Not everyone needs UniTask, however it is light and efficient enough to be use by this SDK by default, If you really know what your doing you can always take out all the UniTask calls and put in native async or your own way of handling async calls. For more info about UniTask you can visit the Git Repo Here
UniTask is your go-to for handling asynchronous operations in Unity. It's efficient and more straightforward than Coroutines. Here's how to bring it into your project:
Import UniTask via PackageManager (Add package from git URL)
NewtonSoft.Json is fantastic for managing JSON data in Unity. The HocoSDK uses Json to handle the data backend. You can import the NewtonSoft DLL from importing the ThirdWebUnitySDK package or via the Unity Package Manager.
Import NewtonSoft via ThirdWeb (During ThirdWeb Import)
Import NewtonSoft via PackageManager (Add by Package Name)
Now you should be able to use NewtonSoft.Json:
You can visit the HocoUnitySDK GitHub Here for more Information on the SDK Package.
Import HoneyComb via PackageManager (Add package from git URL)
If all worked out your should see no Errors in the Console and the Hoco Unity SDK in the Installed section of the Unity Package Manager