Minting your first Enjin Token
Now that you already have your token template and set valid metadata to it, it's time for you to mint your asset to your wallet.
The request for minting Fungible Tokens (FTs) vs Non-Fungible Tokens (NFTs) varies slightly. You can mint batches of any token type to multiple addresses or mint them to a single address.
The supply of Fungible Tokens is essentially represented by a quantity field within the token data, as opposed to Non-Fungible Tokens whose supply is represented by the quantity of separate token identities.
If you need to mint multiple NFTs in a single transaction, you will need to specify the receiving Ethereum address for each individual item.
It's important to keep in mind that although there's no limit on the number of mint objects you can send through the mutation, there's a limit on the number of mint events that can be added into a single transaction. In this case, if you specify to try and mint more than 150 assets from one request, it will be split into multiple transactions in the wallet to sign.
FTs do not have the same restriction, you can mint unlimited Fungible Tokens to an Ethereum Address. However, it is advisable not to mint any amount of Fungible Tokens into over 100 different Ethereum Addresses in one transaction.

Minting via Platform

You can also mint via the Enjin Platform on Mainnet or on JumpNet. Minting via the Enjin Platform is simple.
  1. 1.
    First, locate the asset you want to mint, and click the Mint button on the far-right.
  2. 2.
    Select the quantity to mint.
  3. 3.
    Input an address that you'd like the asset(s) minted to.
Minting via the Enjin Platform does have some limitations, such as you can only mint to 1 single address, rather than minting to multiple unique addresses.

Minting using GraphiQL mutation

The following mutation allows you to mint assets over to a wallet address -
1
mutation {
2
MintAsset(
3
assetId: "70800000000029b7"
4
mints: { to: "0xCc5e715008aceD612C00c0a4066AB7Da287cF0bB", value: 1 }
5
wallet: "0xCc5e715008aceD612C00c0a4066AB7Da287cF0bB"
6
send: true
7
) {
8
asset {
9
name
10
id
11
}
12
transactionId
13
id
14
value
15
wallet {
16
ethAddress
17
}
18
}
19
}
Copied!
If all the parameters of the request are correct, this is the response that you should get from the platform -
1
{
2
"data": {
3
"MintAsset": {
4
"asset": {
5
"name": "NFT Test",
6
"id": "70800000000029b7"
7
},
8
"transactionId": null,
9
"id": 98423,
10
"value": "1",
11
"wallet": {
12
"ethAddress": "0xCc5e715008aceD612C00c0a4066AB7Da287cF0bB"
13
}
14
}
15
}
16
}
Copied!
The request should be approved in your wallet under the requests tab, after that is done, the asset should appear under the assets tab in your Enjin Wallet in a few minutes. You can also check https://goerli.enjinx.io/eth/assets with your Enjin Wallet address to have a look at your asset!