Nethereum Versions Save

Ethereum .Net cross platform integration library

4.11.0

1 year ago

EVM simulator (rc1)

  • EVM simulator to simulate the outcome and state changes (and optionally trace) a new or existing call / transaction (no gas counter for the time being), and be able to validate state changes, ether transfers. Another aim is to enable users, in the future, to preview state changes when interacting with common contracts or standards like erc20 enabling a bigger trust and avoid unexpected results, also in the future smart contracts could provide the state changes "expectations" to be validated.

"Simple" example of simulating an ERC20 transfer: https://github.com/Nethereum/Nethereum/blob/master/tests/Nethereum.Contracts.IntegrationTests/EVM/EvmSimulatorERC20Tests.cs#L26 "Complex" example of simulating Create2 and Ether transfer fallback transfer and event logs: https://github.com/Nethereum/Nethereum/blob/master/tests/Nethereum.Contracts.IntegrationTests/EVM/WalletForwarderTests/ForwarderTests.cs

  • Bytecode utils to disassemble bytecode and check function signatures.

Commits: https://github.com/Nethereum/Nethereum/commit/2e7c254d7f49cdd22bb4854ef2c0816436b7286d, https://github.com/Nethereum/Nethereum/commit/f67b5e64dfff3b8e118efe2de50c01013f78174a, https://github.com/Nethereum/Nethereum/commit/dc4200a6ef3b5a5a703bc82d56f10fe7bd0c2f3c, https://github.com/Nethereum/Nethereum/commit/f576f6645948c3b4e35e1ad2e77bb4edec4dadc5 Nuget: https://www.nuget.org/packages/Nethereum.EVM/1.0.0-rc1

Blockchain Storage upgrade

Metamask

ChainIds

Generator Console

Smart contracts standards

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.10.0...4.11.0 Nuget Web3: https://www.nuget.org/packages/Nethereum.Web3 All Nugets: https://www.nuget.org/profiles/nethereum

Unity DLLs (attached)

net472UnityCommonAOT Includes all the Common used net472 AOT dlls, if you need extra libraries just copy them from net472dllsAOT. net472dllsAOT: Includes all the net472 AOT dlls, this includes libraries like Nethereum.Geth, Nethereum.Besu etc that are not Common

netStandardMinimalWebglUnityAOT Includes a minimal set of netStandard dlls to work with webgl, it excludes libraries like Nethereum.Web3 and Nethereum.JsonRpc.RpcClient which cannot be used in webgl but instead is required to use Nethereum.Unity with coroutines. netStandardCommonUnityAOT Includes all the Common dlls / libraries used in netstandard AOT, if you need extra libraries just copy them from netStandardUnityCommonAOT. netStandardUnityCommonAOT Includes all the netstandard AOT dlls, this includes libraries like Nethereum.Geth, Nethereum.Besu etc that are not Common, this may include duplicated libraries like UnityEngine or Newtonsoft.Json.dll

net461dllsAOT Includes all the net461 AOT dlls, this includes libraries like Nethereum.Geth, Nethereum.Besu etc that are not Common, this may include duplicated libraries like UnityEngine or Newtonsoft.Json.dll

Note: If you need the net351 dlls for older versions of unity, please let us know in discord.

4.10.0

1 year ago

Update Unity https://github.com/Nethereum/Unity3dSampleTemplate.git with Nethereum.Unity.Metamask

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.9.0...4.10.0

4.9.0

1 year ago

What's Changed

Logging Breaking Change

Migration of Logging from Common.Logging to Microsoft.Extensions.Logging For older versions of .net where Microsoft.Extensions.Logging is not supported a custom ILogger has been created in Nethereum.JsonRpc.Client which anyone can implement for simple logging.

This fixes Unity when there is a namespace conflict with their internal Common libraries (Burst)

https://github.com/Nethereum/Nethereum/commit/8efdef896b3684e3d329d27327d19e7e1b6464d6

Metamask

Nethereum.UI

Unity3dSampleTemplate Upgraded Unity3dSampleTemplate to include example of targeting multiple platforms Desktop / Native / Browser to enable code reusability https://github.com/Nethereum/Unity3dSampleTemplate

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.8.0...4.9.0

4.8.0

1 year ago
  • HostWallet, AccountSigning https://github.com/Nethereum/Nethereum/commit/dea0cd09c676ab140e64185f7b29e7174e900381 New Host Wallet RPC methods to enable to interact with hosted wallets or signing messages.
    • New host wallet rpc methods (AddChain, RequestPermissions, GetPermissions
    • New AccountSigning rpc methods for personalSign and TypedData V4, these will be replaced when using an Account or External Account to sign with Nethereum or other External Account provider (ie AzureKeyVault, AWSKeyManager, Trezor, Ledger), but will be sent via rpc when using a hosted wallet.
    • Metamask interceptor changes for v4 and personalSign to add from account

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.7.0...4.8.0

4.7.0

1 year ago

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

4.6.1

1 year ago

Full Changelog: https://github.com/Nethereum/Nethereum/compare/4.5.0...4.6.1

Unity: Use netStandardAOTMinimalUnity.zip for a minimal set of dlls (i.e you just want to use webgl) or net472dllsAOT.zip or netStandardAOT.zip if you want all the dlls (some will be redundant be aware of that) and want to target all platforms

4.5.0

2 years ago

4.4.1

2 years ago
  • Nethereum.Optimism L2 project
  • Json.net minimum 11.0.2
  • DataContracts to JsonProperties
  • SiweDates force UTC on parsing
  • 1559 fee strategy default to TimePreference
  • Simple IPFS publisher of Nethereum dlls (Netstandard 2.0 dlls, used by the Playground)
  • BouncyCastle Portable moved to up to 2.0

4.3.0

2 years ago
  • Siwe
    • Simplifying date management using the SiweMessage object
    • Adding Session nonce management out of the box examples, InMemory and Simple. InMemory provides the out of the box template for session management, that will only need to replace the storage with a "proper" database session. Simple provides just an interface to generate nonces.
    • Adding a siwe message service, responsible to create messages (complete them) and validation. This could be inherit by another service to create the default message values.
  • ERC20, ERC1155, ERC721, ENS now part of contracts project as standards to provide easy access and continue build helper functions for standards.
  • ERC20, ERC721 global services with multi calls to retrieve owners, balances
  • Log processing single call process services for ERC20 and ERC721 i.e enabling retrieve all transfers ERC20, ERC721 of an account for a contract / set of contracts in a single call (long running or short running, depending on the amount of transfers).
  • Update / support latest NBitcoin (used in the HDWallet), Bouncy Castle
  • Besu rpc names to lower fix thanks to @tributech-dhofer
  • Spelling corrections by @GitHubPang
  • TokenList part of ERC20 standard contracts https://tokenlists.org/, to simplify users access of token information, retrieve balances, etc
  • Log processing block range changes and defaults to enable bigger weight on failure (too many logs response, retry)
  • Multicall upgrade to v3 allowing to flag failures and values
  • Multicall to avoid timing out is split into different requests automatically. (default to 3000 calls per request)
  • Quorum fixes on data contract deserialisation and adding interfaces to enable mocking
  • Simple IpfsHttpService to add files (ie ERC721, ERC1155) including basic authentication support.
  • Json.Net, Unity json.net upgrade to 13, generic support up to 13
  • Geth admin methods update, fixes s on geth custom eth_call and example,
  • Rpc tests to ensure match (where possible) open rpc spec. Rollback "input" to "data" in Call / Transaction as it is not supported across all forks. Rpc dto updates
  • Code generator upper case constant / functions to CamelCase, publish again structs outside contract fixes

4.2.0

2 years ago
  • Human readable ABI support (similar to ethers)
  • EIP712, support for V4 arrays, structs, complex types, builders. Thanks for the fix on signing @tommyliu9
  • GnosisSafe support
  • MultiSend support
  • Siwe core support
  • TransactionManager disable calculations and estimation to delegate to MM.
  • Error handling (custom, revert) fixes on value access.
  • Azure external signer update to new version and legacy support thanks @rubo
  • Log processing / blockchain progress
  • Code generator fix to bypass views with no output and struct fix with not Contract type on abi.
  • Websocket streaming additions to remove deadlocks when reusing the same client. Thanks for all the feedback and help @SnakePin
  • Addition to Filtering Logs, thanks @jamescarter-le Api updates +Quorum Api Update (Permission, Debug, Privacy, IBFT, Raft, extension contracts). also now Web3Quorum inherits Web3Geth to include Geth extensions (Admin, etc)
  • Parity
  • Geth debug (Thanks @coj337 for debug_traceCall)

DLLs attached, if you are starting Unity3d the best option is to use the NetStandardAOT.zip or the NetStandardAOTMinimalUnity.zip