Skip to content

v1.5.0

Compare
Choose a tag to compare
@KBryan KBryan released this 09 Aug 03:43
· 420 commits to main since this release

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/