github Nethereum/Nethereum 4.7.0

latest release: 4.8.0
21 months ago
  • Unity changes
    • New Unity abi requests code generator 3c55452 9784a79 https://www.npmjs.com/package/nethereum-codegen
    • Unity support for different clients when using coroutines 5dce957
      • IUnityRpcRequestClient as a generic interface to make rpc requests (http, etc)
      • UnityWebRequestRpcClient specific implemenation for UnityWebRequest
      • UnityRpcRequest the main class that wraps calls to IUnityRpcRequestClient, defaults to UnityWebRequestRpcClient or uses a IUnityRpcRequestClientFactory to create other types of rpc client
      • All Eth RpcRequests now inherit from UnityRpcRequest and accept IUnityRpcRequestClientFactory.
      • All other requests like TransactionSignedUnityRequest, Query calls, Estimate, EthTransfer, Fees calculations etc also accept IUnityRpcRequestClientFactory as a way to initialise their internals requests
      • New Contracts Requests base classes and Factories to simplify the creation of specific requests to query and transact with smart contracts.
    • Unity ERC20, ERC1155, ERC721 requests and factories 84095de
    • Metamask integration e4103d6
      • New MetamaskRequestRpcClient implementing IUnityRpcRequestClient, it includes a concurrent dictionary to store and check for callback messages, avoiding having callbacks with SendMessage
      • MetamaskRequestRpcClientFactory implementation of IUnityRpcRequestClientFactory
      • MetamaskTransactionUnityRequest implementation of IContractTransactionUnityRequest and using IUnityRpcRequestClientFactory this after refactoring it does not dependent of Metamask as it is a simple implementation of TransactionSend
      • All the other classes now take use the IUnityRpcRequestClientFactory, NFT helpers also migrated from Nethereum.Unity.Webgl
      • Metamask timeout 5ecce4a
      • WebGl template update https://github.com/Nethereum/Nethereum.Unity.Webgl

NOTE: Unity users netStandardMinimalUnityAOT includes the Metamask jslib to enable the integration.

Don't miss a new Nethereum release

NewReleases is sending notifications on new releases.