Minter - EVM
Our minter is currently working on both EVM testnet and mainnet. A fuller list of supported chains will be added upon request from other chains and our wider gaming community.

Supported Chains

Network Name
Type of Chain
Chain ID
ETH Mainnet
Mainnet
1
Polygon
Mainnet
137
BSC
Mainnet
56
BSC
Testnet
97
Avalanche
Mainnet
43114
Avalanche
Testnet
43113
Mumbai
Testnet
80001
Goerli
Testnet
5
Cronos
Mainnet
25
Cronos
Testnet
338
Moonbeam
Mainnet
1284
This video shows user's how to mint an asset using our In game minting features
This video shows how to retrieve a balance of a minted asset created with the ChainSafe marketplace.

Mint NFT via Private Key

This implementation will mint an NFT via a private key.
CreateMintModel.Response nftResponse = await EVM.CreateMint(chain, network, account, to, cid, type);
if (nftResponse != null)
{
string chainId = await EVM.ChainId(chain, network, "");
// private key of account
string privateKey = "ADD_YOUR_PRIVATE_KEY";
string transaction = await EVM.CreateTransaction(chain, network, nftResponse.tx.account,
nftResponse.tx.to, nftResponse.tx.value, nftResponse.tx.data, nftResponse.tx.gasPrice, nftResponse.tx.gasLimit);
string signature = Web3PrivateKey.SignTransaction(privateKey, transaction, chainId);
string responseBroadcast = await EVM.BroadcastTransaction(chain, network, nftResponse.tx.account, nftResponse.tx.to, nftResponse.tx.value, nftResponse.tx.data, signature,
nftResponse.tx.gasPrice, nftResponse.tx.gasLimit, "");
}

Mint NFT via Web3Wallet

This implementation will mint an NFT via Web3Wallet.
CreateMintModel.Response nftResponse = await EVM.CreateMint(chain, network, account, to, cid, type);
account = PlayerPrefs.GetString("Account");
// connects to user's browser wallet (metamask) to send a transaction
try
{
string response = await Web3Wallet.SendTransaction(chainId, nftResponse.tx.to, nftResponse.tx.value, nftResponse.tx.data, nftResponse.tx.gasLimit, nftResponse.tx.gasPrice);
Debug.Log(response);
} catch (Exception e) {
Debug.LogException(e, this);
}

Mint NFT via WebGL

This implementation will mint an NFT via WebGL.
CreateMintModel.Response nftResponse = await EVM.CreateMint(chain, network, account, to, cid, type);
// connects to user's browser wallet (metamask) to send a transaction
try
{
string response = await Web3GL.SendTransactionData(nftResponse.tx.to, nftResponse.tx.value, nftResponse.tx.gasPrice,nftResponse.tx.gasLimit, nftResponse.tx.data);
print("Response: " + response);
} catch (Exception e) {
Debug.LogException(e, this);
}
Copy link
On this page
Supported Chains
Mint NFT via Private Key
Mint NFT via Web3Wallet
Mint NFT via WebGL