WEMIX3.0
WEMIX3.0 (ENG)
WEMIX3.0 (ENG)
  • Introduction
    • Blockchain Basics
      • What is Blockchain?
      • Consensus Algorithm
      • Transactions
      • Gas
      • Account
  • Design
    • Architecture
    • Consensus
    • Governance
    • Minting
    • EIP1559
    • Eco Fund
    • Fee Delegation
    • Roadmap
  • Quick Start
    • Start Node
      • Use Binary
        • Command-line Option
      • Use Public API Server(RPC)
    • Connect Node
    • Account
      • Use MetaMask
    • Testnet Faucet
  • Install & Operation
    • End Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Block Producer Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Download
    • Operation Guide
  • dApp Developer
    • Smart Contract
      • Solidity
      • Precompiled Contracts
      • Sample Contracts
    • JSON-RPC
    • API Reference
      • Account APIs
      • Block APIs
      • Contract APIs
      • Transaction APIs
      • Event logs APIs
      • Tokens APIs
  • Tutorial
    • Create a Wallet
    • Receive Test Coin
    • Create Smart Contract
      • Remix
      • Truffle
      • Hardhat
    • ERC-20 Token
      • Write ERC-20 Contract
      • Check ERC-20 Token
      • Send ERC-20 Token
      • Check ERC-20 Token API
      • Burn ERC-20 Token
    • ERC-721 Token
      • Write ERC-721 Contract
      • Minting ERC-721 Token
      • Check ERC-721 Token API
      • Burn ERC-721 Token
    • Use Fee Delegation
  • Manual
    • Explorer
    • Wallet
  • FAQ
Powered by GitBook
On this page
  1. Tutorial
  2. ERC-721 Token

Minting ERC-721 Token

PreviousWrite ERC-721 ContractNextCheck ERC-721 Token API

It is possible to proceed a Minting ERC-721 using Remix.

ERC-721 contracts must be deployed in advance. Please refer to Write ERC-721 Contract for ERC-721 Contract deployment.

Caution

Once deployed contracts cannot be modified or deleted. Please write and deploy the necessary information in the code.

All examples are based on WEMIX3.0 Testnet.

Minting

You can see the contents of the deployed contract in the 'Deployed Contracts' section on the screen where the ERC-721 contact has been deployed.

Select 'mintNFT' to enter the recipient, token URL.

Exmaple of token URL

https://2865074520-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlgX3Uok5fQZcz5UtMhgi%2Fuploads%2Fb0lcXNM4MjmcQgY1kn1K%2Fgyeongbok_palace.png?alt=media&token=4bbc41b2-b7df-40f3-9fbc-e028268034b5

When you select 'transact' after entering recipient and token URL, a MetaMask pop-up appears and a screen showing the default 'Gas Fee' based on Ethereum appears.

WEMIX has a different fee policy than Ethereum, so press the 'Site suggested' button to change the Gas Fee.

Selecting 'Advanced' on the screen below allows the user to set 'Max priority fee (GWEI)' and 'Max fee (GWEI)' manually.

Currently, WEMIX is using a fixed 'Max priority fee (GWEI)' and the value is 100.

Max fee is a user-defined value and the minimum value is MaxPriorityFee+BASE_FEE.

BASE_FEE in WEMIX is variable according to EIP-1559. Therefore, for a transaction to be successfully created, it is recommended to set it as follows.

  1. Max base fee (GWEI) = 101

  2. Max priority fee (GWEI) = 100

Complete the Fee setup in the figure above and select 'Save' to be ready for Minting as shown below.

Select 'Confirm' in the figure above to complete Minting ERC-721 Token.

If a green check mark appears at the bottom of the Remix screen as shown below, the Minting ERC-721 Token is completed.

Copy the transaction hash that appears as a result of the run, and search in Testnet Explorer, to confirm that the NFT has been issued in Testnet Explorer.

The figure below is an example of what Testnet Explorer has seen.

Selecting a deployed NFT name on the 'NFT List' page of the NFTs tab in Testnet Explorer will take you to the NFT Details page.

Select the 'Inventory' tab on the screen to see the Minted Wallet address and token URL.

mintNFT
MetaMask, default 'Gas fee'
MetaMask default 'Gas Fee' setting entry screen
'Gas Fee' setting
Confirm Minting ERC-721
Complete Minting ERC-721
Check TxHash at WEMIX3.0 Testnet Explorer
WEMIX3.0 Testnet Explorer Token Inventory