Frequently asked questions about the ChainSafe gaming SDK.
Q: I want to connect to other EVM compatible chains but it only lets me connect to Ethereum. How do I do that?
A: You will need to edit the network.js file found within the WebTemplates folder. Edit the ChainId to the one for the blockchain you want to game to hit.
Q: I'm seeing the following error when I install the package. The type or namespace name 'Newtonsoft' could not be found
A: NewtonSoft is a dependency of the SDK and needs to be installed for the SDK to work. This could be found on the Unity Asset store JSON.NET
Q: I'm getting the following error when trying to import an NFT texture into the SDK. Curl error 1: Protocol "ipfs" not supported or disabled in libcurl
A: IPFS has its own protocol that isn't supported in JSON.Net in order to get around that you need to add something like the following code snippet.
string imageUri = data.image;
if (imageUri.StartsWith("ipfs://"))
imageUri = imageUri.Replace("ipfs://", "https://ipfs.io/ipfs/");
C#// Some code
Q: Is the SDK free to use.
A: Yes, the SDK is free to use.
Q: The SDK support chains like Solana or Algorand.
A: Not currently, the SDK is multi-chain. Although, our support is mainly geared towards EVM Ethereum Virtual Machine chains. We do have plans for supporting the above in the future.
Q: Can I make Desktop games with the SDK.
A: Yes, you can make Desktop / Web and Mobile games using our SDK
Q: I'm getting the following error Cannot read properties of undefined reading connect when clicking the login button. What am I doing wrong?
A: This error typically happens with the user hasn't selected the Web3GL Template for making WebGL Games. Make sure you have selected the provided template before making a Web3GL based game.
Last modified 5mo ago
Copy link