This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Numerics; | |
using Newtonsoft.Json; | |
using UnityEngine; | |
public class SendERC20Token : MonoBehaviour | |
{ | |
async void Start() | |
{ | |
// smart contract method to call |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Numerics; | |
using UnityEngine; | |
public class GetERC20TokenInfo : MonoBehaviour | |
{ | |
// Chain == Chain name connecting | |
[SerializeField] private string chain = "godwoken"; | |
// Network == The network RPC name | |
[SerializeField] private string network = "testnet-v1"; |