# Using Remix IDE

### What is Remix IDE ?

Remix IDE is an open-source web and desktop application that aids in smart contract development, written in Solidity language for the Ethereum blockchain. It provides a range of tools that help developers write, test, debug, and deploy smart contracts with ease. Some notable features of Remix IDE include.

### Prerequisites

1. Add Deelance Testnet in your MetaMask, to add refer to our guide [Add DeeLance to Metamask](/getting-started/add-deelance-to-metamask.md)
2. Get Deelance Testnet coins from the [Deelance Faucet](https://faucet.deelance.com/).

### Creating and Deploying DRC20 Token on Remix IDE

* Visit <https://remix.ethereum.org/>&#x20;

you'll be greeted with the following screen.

<figure><img src="/files/KAjE3LWm1tsLmjDiFk5M" alt=""><figcaption></figcaption></figure>

* Click on the icon mentioned below to generate a new file called `PepeDeelance.sol`.

<figure><img src="/files/ZQhwrkTo13yHVYVs7DuZ" alt=""><figcaption></figcaption></figure>

An empty file will appear as shown below.

<figure><img src="/files/2FrRDTAT9iQbdrUpCUNa" alt=""><figcaption></figcaption></figure>

* Copy the following code and insert it into `PepeDeelance.sol`.

```solidity
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract PepeDeelance is ERC20, Ownable {
    constructor() ERC20("PepeDeelance", "PEPEDLANCE") {
        _mint(msg.sender, 1000000000 * 10 ** decimals());
    }

    function mint(address to, uint256 amount) public onlyOwner {
        _mint(to, amount);
    }
}
```

* Now, click on the specified icon to compile your contract.

<figure><img src="/files/qOVU27OjCh564R3Lpjya" alt=""><figcaption></figcaption></figure>

* Next, press the "Compile" button to compile your contract, ensuring you select the checkbox highlighted within the blue circle.

<figure><img src="/files/i5BdKPQig7C3k8GoTkik" alt=""><figcaption></figcaption></figure>

* To deploy your contract, click on the indicated button below.

<figure><img src="/files/2lwRSKLLwngbeZS2pnGA" alt=""><figcaption></figcaption></figure>

* Now, select the "Remix VM...." dropdown, and then choose the "Injected Provider" highlighted in orange.

<figure><img src="/files/etOOEiAttqAfALGD6g7n" alt=""><figcaption></figcaption></figure>

After making that selection, MetaMask will prompt you to unlock your wallet. If you're already logged into MetaMask, you'll see a display similar to the one below.&#x20;

<figure><img src="/files/6gIsQJXiiEF3D3mpRiOb" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure that you're connected to the DLANCE TESTNET, which carries a chain ID of 455214.
{% endhint %}

* To finalize the deployment of your DRC20 Smart Contract on the Deelance Testnet, press the "Deploy" button highlighted in orange, as shown below.

<figure><img src="/files/Q9qsAxNwp28icsQJ2HyS" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Ensure you have enough Deelance Testnet Tokens to cover the gas fees for the transaction. If you need Testnet Deelance tokens, visit the [Deelance Faucet](https://faucet.deelance.com/).
{% endhint %}

{% hint style="info" %}
If you haven't added the Deelance Testnet in your MetaMask, refer to our guide [Add DeeLance to Metamask](/getting-started/add-deelance-to-metamask.md)
{% endhint %}

After clicking the "Deploy" button, MetaMask will pop up prompting you to approve the transaction. Once you confirm, your contract will deploy within a few seconds, and you'll be able to view your deployed contract here.&#x20;

<figure><img src="/files/29ScOtceKhN4l7H4ksxt" alt=""><figcaption></figcaption></figure>

**Well done!** You've successfully created and launched the DRC20 token on the Deelance Testnet.


---

# 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.deelance.com/getting-started/developer-guide/deploy-smart-contract/using-remix-ide.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.
