Skip to content

Releases: ChainSafe/web3.unity

Release 3.0.3

22 Oct 06:58
Compare
Choose a tag to compare

Improper comparison in isLightweight fixed.

Release 3.0.2

21 Oct 17:43
Compare
Choose a tag to compare

Added an event to the Web3Unity that you can subscribe to that gets invoked once Web3 instance gets initialized

3.0.1

15 Oct 14:31
Compare
Choose a tag to compare

3.0.1 Release Notes


  • Compile error fixed for projects with new Unity Input System

3.0.0

09 Oct 15:32
Compare
Choose a tag to compare

3.0.0 Release Notes


Breaking Changes:

  • Web3Acessor has been renamed to Web3Unity.
  • All wallets are now unified under a single modal window.
  • There is now a single scene for the samples, SampleMain.
  • The EVM class has been removed.
  • async signer.GetAddress() has been replaced with the synchronous version signer.PublicAddress.

What's New:

  • You can read from the blockchain as soon as you call Web3Unity.Instance.Initialize(false);.
  • Support for subscribing to blockchain events has been added.
  • Added support for multiple chains within the same project, including chain switching.
  • A Contract ABI↔C# generator has been introduced to offer developers a more user-friendly way of calling functions from contracts.
  • A GUI for the Web3Auth wallet has been added, allowing users to approve and track their transactions.
  • A Marketplace Sample has been created where users can view and purchase marketplace items.
  • WalletConnect is now supported on WebGL.
  • Initial support for interacting with MUD has been added.
  • Clipboard pasting is now properly supported in WebGL.
  • In WebGL, Web3Auth no longer redirects to its connection page in the same tab, but instead opens a new window.
  • All web3.unity add-on services (such as Gelato, Ramp, and Marketplace) have been converted into Service Adapters.

Known Issues:

  • "Remember Me" is not part of the UI but is instead a toggle on the ConnectToWallet script. This will be properly addressed in a future release.
  • MUD samples are currently only working for local wallets using Anvil. We’re continuously improving our MUD implementation to make it easier for you to create new on-chain autonomous worlds.

2.6

03 Jun 19:03
cc03f62
Compare
Choose a tag to compare
2.6

We're excited to announce that 2.6 is out!

  • Added [Ramp.Network](http://Ramp.Network) as a fiat on/off ramp provider for iOS and WebGL.
  • await ISigner.GetAddress() is changed to synchronous ISigner.PublicAddress.
  • Reworked static ERCxx utility classes into web3 services and default contract wrappers. You can now access them with web3.ErcXX.*.
  • Login fix as the previous json file regarding chains was deprecated.
  • Marketplace read/write calls added to the SDK via modular package import.
  • Hyperplay integration to the SDK via modular package import.
  • IPFS/Storage metadata & image uploads fixed.
  • Server drop down menus included in server settings for a nicer UX.
  • Server settings tab moved to the top toolbar in unity for a nicer UX.
  • Server menu items order adjusted to make the server settings more prominent for easy access.
  • Sample scene calls now have serialized editor fields for on the fly changes.
  • Docs strings added to functions for readability.
  • General bug fixes, optimizations.
  • Moved out our custom WalletConnectSharp integration to a separate package.
  • Improved WalletConnectSharp integration. Added an option to use a custom connection popup.
  • Added WalletConnectUnity integration to the core package.
  • Removed Save Settings button from Server Settings → Now we detect changes automatically
  • Improved contract interaction UX. Added generic CallSingle<TOut, TIn1, …, TInX>, CallMany<…>, SendVoid<…>, SendSingle<…> & SendMany<…> extension methods to invoke smart contract methods.

Known Issues

  • Buy listed NFT not working #998
  • Tx hash not displayed for Marketplace write calls #997
  • Gelato samples #881
  • Samples that require gas fee not working with Web3Auth and WebGL #960

v2.5.5

15 Dec 09:27
Compare
Choose a tag to compare

We are constantly improving our SDK, and before the holidays we're pushing one more update!

New Feature

  • Metamask Browser Wallet is now fully supported for WebGL builds ONLY. You can check the SampleLogin - MetaMask scene in the samples area to test it out.
  • You can now set the scene to load up after successful connection by setting the scene name on the login object in the login scene.
  • The server settings area has had a huge quality of life improvement, we now give you the option to choose from a list of networks and RPCs.

Bug fixes

  • Fixed Libc DLL missing issue on WebGL when logging in via Web3Auth.
  • Fixed Web3Auth issue where it would automatically log you in even though you didn't give consent for it to remember you.
  • Fixed an issue where saving the server settings prior to WebGL being selected wouldn't write to the network.js file correctly.

2.5.4

23 Nov 12:51
a7b890c
Compare
Choose a tag to compare

We're constantly trying to update and improve our SDK so here is the fresh new update!

  • WalletConnect now works on WebGL! When switching the platform to WebGL (or if you're already on it), you'll get a prompt to install additional dependency which makes the WC work on WebGL.
  • Fixed the issue with iOS Wallet Redirect not working

Known issues:

  • When sometimes connecting WalletConnect trough WebGL , you'd get a Invoking error handler due to
    RuntimeError: null function or function signature mismatch for Unity 2022 LTS.

2.5.3

21 Nov 19:33
Compare
Choose a tag to compare

This release provides some important fixes to 2.5.1

  • Fixing meta files not being present in the Library Folder of the package
  • Fixing compiler errors that were caused by an unused import
  • Fixing errors from WalletConnect caused by an earlier version of the BouncyCastle.Crypto.dll

Known issues:

  • WalletConnect doesn't work with WebGL. We'll add support for MetaMask wallet in the later version of our SDK.

v2.5.1

20 Nov 19:16
c9690f8
Compare
Choose a tag to compare

We are continue to improve and update SDK.
This release brings some new features and a lot of bug fixes.

New in this release:

  • WebPageWallet is finally decommissioned and replaces with WalletConnect v2
  • Chainlink Lootboxes added as external package
  • We switched all our Samples from Göerli to Sepolia
  • Now all the Samples are incapsulated to the packages it showcase, no more errors on Samples import
  • SDK now supports Multicalls
  • We pushed through in-line documentation and added docstrings to all the public methods, interfaces and types

This release fixes:

  • Refactor samples to make it more clear and approachable
  • Web3Auth 2.0.2 support
  • Fix a problem with Owner call on 721 and 1155
  • Fix a problem with Mint/Transfer for 1155
  • Fixing the issue where people can't use our SDK properly for WebGL

Known issues:

  • WalletConnect doesn't work with WebGL. We'll add support for MetaMask wallet in 2.5.2

Package also distributed via OpenUPM: https://openupm.com/packages/io.chainsafe.web3-unity/

v2.5.0

26 Sep 11:54
8827783
Compare
Choose a tag to compare

What's Changed

This is a new release of the ChainSafe Gaming SDK. We went to a completely different approach of architecting it internally.
Current implementation utilizing Dependency Injection as a main way to composability.

With this release we want to keep absolutely minimum core functionality in the io.chainsafe.web3-unity Package and start introducing auxiliary packages for a diverse, but complete Developer Experience.

In this version

  • Another package io.chainsafe.web3-unity.web3auth got introduced to support Web3Auth authorization mechanism
  • web3.unity SDK v2.5.0 is not backward compatible with v2.1.0
  • Gelato gasless service support

Both packages are available via OpenUPM:

Get Started

  • Create Unity Project
  • Follow OpenUPM guide to install openupm-cli
  • Inside your Unity Project folder:
    • openupm add io.chainsafe.web3-unity
    • openupm add io.chainsafe.web3-unity.web3auth
    • Import Samples from Package Manager web3.unity Package Page:
      image

Known Limitations

  • web3.unity SDK v2.5.0 is not backward compatible with v2.1.0
  • If you will see some Assembly Loading errors related to Newtonsoft.Json v11 please turn off "Assembly Version Validation" in "Player -> Other Settings"

Full Changelog: v2.1.0...io.chainsafe.web3-unity/2.5.0