Skip to content

Releases: ChainSafe/web3.unity

v1.6.1

30 Nov 17:39
Compare
Choose a tag to compare

Release notes:

What's Changed

Voucher redeem fix and prefabs added to minter the file for WebWallet & WebGL by @sneakzttv
Rinkeby references removed by @sneakzttv
Show's registration form if one hasn't been created already by @KBryan
Full Changelog: v1.6.0...v1.6.1

v1.6.0

22 Nov 16:58
Compare
Choose a tag to compare

Release notes

What's Changed

  • Added Telos chain ID in WebTemplates/network.js by @nathanduft44 in #141
  • Add CallContract (and helper methods) for calling contracts via Metamask by @blevinstein in #79
  • Updated URI class method by @KBryan in #231
  • Updated ImportNFTTextureExample to work with ChainSafe MarketPlace by @KBryan in #23* Update Web3PrivateKey.cs by @sneakzttv in #235
  • Updated CreateTransaction to support manually providing nonce by @KBryan in #251
  • 1.6.0 by @KBryan in #259

New Contributors

Full Changelog: v1.5.0...v1.6.0

v1.5.0

09 Aug 03:43
Compare
Choose a tag to compare

v 1.5.0
Release Notes:
This major release adds prefabs for minting ERC721/1155 NFTs in-game with or without required anti-cheat vouchers, as well as prefabs for listing NFTs for sale directly in-game via our gaming asset marketplace.

The minting voucher system helps developers quickly start creating monetizable game mechanics like play-to-earn systems, while reducing the likelihood of cheating by players through replaying transactions, etc.

EVM.GetNftMarket will get all listed NFTs minted on the gaming asset marketplace.

EVM.CreatePurchaseNftTransaction will create a response object for purchasing a listed NFT. Refer to GetListedNFTWebGL/WebWallet.cs and BuyItemWebGL/WebWallet prefabs for implementation.

EVM.CreateApproveTransaction will allow for the listing of NFTs in a gaming marketplace. This will be the first thing needed to do in order to sell an item. Or your assets will have false returns for isApproved.

PurchaseItem() is a helper method for purchasing listed NFTs.

EVM.GetMintedNFT returns a list of NFTs that the owner has minted. Please refer to ListNFTWebGL/WebWallet.cs for its construction and the ListItemWebGL/WebWallet prefabs for its implementation.

EVM.CreateListNftTransaction creates a response object with the necessary parameter for listing an NFT for sale on the gaming asset marketplace.

ListItem() is a helper method for setting the price and listing items to the gaming asset marketplace.

We have released a "Lazy Minting Signer", which is a voucher-signing server component. This server can be run by the game developer as a standalone service, or it could be integrated into the existing backend services of the game. Refer to our docs for the full integration and server setup. https://docs.gaming.chainsafe.io/minting-with-voucher

EVM.Get721Voucher() returns a response object containing the signature / uri / signer and minprice

EVM.Get1155Voucher() returns a response object containing the signature / minPrice/ tokenId/nonce and signer.

We have also produced a full demo game showing developers how to create a p2e-based game mechanic using the ChainSafe gaming SDK. You can find the demo code and a link to play the game here: https://chainsafe.github.io/ChainSafe-Demo-WebGL/

This release also includes general bug fixes and revisions.

The updated Minter now takes tokenType parameter when using EVM.CreateMint, which allows the creation of both ERC721/1155. For "1155" the CID needs to be a blake208-b.

Added authentication and redeem prefabs for 721/1155 vouchers. You may use this as a form of authentication or to lazy mint NFTs on chain.

We have added online documentation updates for all voucher/buy/list features.

Beta Marketplace Website can be found at:
https://marketplace.chainsafe.io/

v1.3.2

13 Jul 20:57
Compare
Choose a tag to compare

Release Notes:

Minter now allows the creation of ERC1155 using IPFS CID v1 assets.
Cronos and FTM added to signandcalcparityv in web3privatekey.cs
IPFS file uploading prefab and sample source.

Bug fixes

Renamed minting classes and abstraction
fixed issue with FTM and Cronos signed signatures
Failure to mint ERC721 due to new type param in minter option

v1.3.2_Beta

13 Jul 17:08
Compare
Choose a tag to compare
v1.3.2_Beta Pre-release
Pre-release

Release Notes:

  • Minter know allows the creation of ERC1155 assets.
  • Cronos and FTM added to signandcalcparityv in web3privatekey.cs

Bug fixes

  • Failure to mint ERC721 due to new type param in minter option

v1.3.1

05 Jul 22:49
Compare
Choose a tag to compare

This release fixes SignVerify for Desktop and Private Key returning the wrong public address intermittently.
Optimizations and bug fixes were also added.

v1.3.0

02 Jun 18:35
Compare
Choose a tag to compare

Web3GLSha3Example / WebGLSignSha3VerifyAddressExample and Prefabs.
Show hows to sign a message with Sha3 / Sign Sha3 message and return the signer's address.

Prefabs and Scripts for minting in-game with createNFTTransaction endpoint.
Prefabs are configured mint game objects. Minting your own NFT will require adding a CID. This implementation only works for Ethereum testnets in this current release.

Update to Cronos Web3 / ChainSafe WebTemplate

beta.1.3.0

27 May 20:05
Compare
Choose a tag to compare
beta.1.3.0 Pre-release
Pre-release
  • Web3GLSha3Example / WebGLSignSha3VerifyAddressExample and Prefabs.
    Show hows to sign a message with Sha3 / Sign Sha3 message and return the signer's address.

  • Prefabs and Scripts for minting in-game with createNFTTransaction endpoint.
    Prefabs are configured mint game objects. Minting your own NFT will require adding CID. This implementation only works for Ethereum testnets in this current release.

v1.2.9

28 Apr 20:42
Compare
Choose a tag to compare

In this release:

  • Fixed issue with processing response error and Invalid Signature String found when transferring assets on Polygon and Harmony networks with private keys.

v1.2.8

12 Apr 16:57
Compare
Choose a tag to compare

This release adds bug fixes and extended documentation

  • Bug found in Web3Wallet login scene that would keep user signed in if toggle wasn't selected.
  • Extended documentation.
  • Fixes issue with disposing web requests in Unity 2021