Skip to content

Releases: ChainSafe/web3.unity

2.6

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

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

v2.1.0

28 Mar 20:43
a04a251
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.3...v2.1.0

v2.0.3

27 Feb 19:24
2c12afb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

v2.0.2

22 Feb 16:15
e075277
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

v2.0.1

15 Feb 19:43
f079eb0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1