- 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
- Fix AdminApiService included on interface 0ac7332
- EIP2612TypeFactory 4452ad3
- Preset DomainWithNameVersionAndChainId 25cc654
- Fix misspelt parameter and field in TransactionReceiptPollingService 5d66486 Thanks @GitHubPang
- Fix BigDecimal Floor should return 0 when precision is 0 or lower 5c159ae
- Update rpc generator Unity 6c71ce7
- fix #861: last confirmed block equals latest block by @FatTigerWang in #862
- Chain Features 1980fee
Full Changelog: 4.6.1...4.7.0
NOTE: Unity users netStandardMinimalUnityAOT includes the Metamask jslib to enable the integration.