Mirage SDK
The Mirage platform serves as a gateway to a comprehensive suite of proven solutions tailored for the development, enhancement, scalability, support, and publication of Web3 games.
The SDKs for both platforms are EVM compatible and have the following features:
- Interaction with Web3 wallets (either WalletConnect or MetaMask) for all supported platforms
- Interaction with EVM-compatible blockchains
- Interaction with smart contracts
Implementation Example
-
Package Install
On Package Manager select
Add package from git URL
and add the following: -
Scene Creation
- Go to Packages -> Examples -> Scenes -> Examples_WebGL.unity
- Copy and paste that scene into your Assets folder
-
Assets Setup
- (optional) Create a scriptable object with the following properties: contract address, contract ABI and SKALE chain RPC.
- Create a script to call the contract you deployed on one of the SKALE chains
-
Contract Call
-
NFTMint call
- Call contract setup method to initialize the contract instance
- Call the
SmartContractCall
function to perform the contract call
Additional Mirage SDK Documentation
Click here for the official documentation.