# Burn ERC-20 Token

It is possible to proceed an ERC-20 Token burning test using Remix.

There are two ways to burn ERC-20 Token.

* **Sending to a Dead Wallet Address**
* **Burning by the Administrator**

{% hint style="info" %}
All examples are based on WEMIX3.0 Testnet.
{% endhint %}

## **1 . Sending to a Dead Wallet Address**

First, let's proceed with the burning process by sending the ERC-20 Token to the Dead Wallet address.&#x20;

[Write ERC-20 Contract ](/en/tutorial/erc-20-token/write-erc-20-contract.md)and [Check ERC-20 Token](/en/tutorial/erc-20-token/check-erc-20-token.md) should proceed first.

### Sending to a Dead Wallet Address

Once adding the Token is completed after deploying ERC-20 Contract, select the added ERC-20 Token and proceed with 'Send' to the Dead Wallet address.

<figure><img src="/files/ya5q25CnptnDjR2P8Gcq" alt=""><figcaption><p>Send Token_WT at MetaMask</p></figcaption></figure>

Select 'Send' in the figure above. After then enter the Dead Wallet address and the quantity of Token you want to burn.

{% hint style="info" %}
**Dead Wallet Address**

0x000000000000000000000000000000000000dEaD
{% endhint %}

The figure below is the example of buring 10,000,000 WT Tokens to the Dead Wallet address.

<figure><img src="/files/3f6HAtAtmIlpMFYUxMX8" alt=""><figcaption><p>example of burning ERC-20</p></figcaption></figure>

When you select 'Next' after entering Token amount that you want to burn, a MetaMask pop-up appears and a screen showing the default 'Gas Fee' based on Ethereum appears.

<figure><img src="/files/ArGRTIGcdXrGVHjoernC" alt=""><figcaption><p>MetaMask, default 'Gas fee'</p></figcaption></figure>

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

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

<figure><img src="/files/rz435CTsQA8UZo73MzcL" alt=""><figcaption><p>MetaMask default 'Gas Fee' setting entry screen</p></figcaption></figure>

<figure><img src="/files/nKDx5GgkDJ6bY6VI2NnJ" alt=""><figcaption><p>'Gas Fee' setting</p></figcaption></figure>

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

Max fee is a user-defined value and the minimum value is MaxPriorityFee+BASE\_FEE.&#x20;

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&#x20;

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

<figure><img src="/files/S2nttnNfkDA5cpkr075T" alt=""><figcaption><p>Confirm ERC-20 Token burning </p></figcaption></figure>

Select 'Confirm' in the figure above to burn ERC-20 Token.

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

<figure><img src="/files/JNL8YbpBt8YuzaOVNkvW" alt=""><figcaption><p>Complete ERC-20 Token burning</p></figcaption></figure>

If you select the ERC-20 Token that you created on the Token List page in [Testnet Explorer](https://explorer.test.wemix.com/)., you can confirm that the ERC-20 Token has been burned normally.

<figure><img src="/files/ozvAi7VDxTbqz5ppMGJB" alt=""><figcaption><p>WEMIX3.0 Testnet Explorer </p></figcaption></figure>

## **2 . Burning by the Administrator**

Second, we will proceed with the burning ERC-20 Token process by the Administrator in Remix.

[Write ERC-20 Contract ](/en/tutorial/erc-20-token/write-erc-20-contract.md)and [Check ERC-20 Token](/en/tutorial/erc-20-token/check-erc-20-token.md) should proceed first.

### Burning ERC-20 Token directly

You can see the contents of the deployed contract in the "Deployed Contracts" section of the screen where the ERC-20 Contract was deployed.&#x20;

Select 'burn' to enter account and amount. \
In account, enter the deployed address, and in account, enter the quantity you want to burn.

The figure below shows an example of burning 999 WBT Token after deploying WEMIX BurnToken Contract.

<figure><img src="/files/Rebia51euw5lFYClHlYH" alt=""><figcaption><p>example of buring ERC-20</p></figcaption></figure>

When 'transact' is selected after entering the account and amount, a MetaMask pop-up appears as shown below, and a screen showing the default "Gas Fee" based on Ethereum appears.

<figure><img src="/files/DAaNJ6XOy8uGIQjEP5pt" alt=""><figcaption><p>MetaMask, default 'Gas fee'</p></figcaption></figure>

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

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

<figure><img src="/files/Jxdhp9xY8yjsQxcWFImJ" alt=""><figcaption><p>MetaMask default 'Gas Fee' setting entry screen</p></figcaption></figure>

<figure><img src="/files/oDQdonS8F76pcu6lqZaS" alt=""><figcaption><p>'Gas Fee' setting</p></figcaption></figure>

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

Max fee is a user-defined value and the minimum value is MaxPriorityFee+BASE\_FEE.&#x20;

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&#x20;

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

<figure><img src="/files/NqvrPal5asDPrxHntagw" alt=""><figcaption><p>Confirm Example ERC-20 burning</p></figcaption></figure>

Select 'Confirm' in the figure above to proceed with the contract deployment.&#x20;

If a green check mark appears at the bottom of the Remix screen as shown below, the deployment is completed normally.

<figure><img src="/files/WBUWfgljrCzr1Xv3UbF2" alt=""><figcaption><p>Complete Example ERC-20 burning</p></figcaption></figure>

If you select the ERC-20 Token that you created on the Token List page in [Testnet Explorer](https://explorer.test.wemix.com/), you can confirm that the ERC-20 Token has been burned normally.

<figure><img src="/files/Qf1tfrzDEnEg2i9n4iNu" alt=""><figcaption><p>WEMIX3.0 Testnet Explorer </p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wemix.com/en/tutorial/erc-20-token/burn-erc-20-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
