> For the complete documentation index, see [llms.txt](https://aarmaproject.gitbook.io/aarmachain-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aarmaproject.gitbook.io/aarmachain-documentation/guide/deploy-a-smart-contract.md).

# Deploy a Smart Contract

#### Deploy a contract using Remix <a href="#deploy-a-contract-using-remix" id="deploy-a-contract-using-remix"></a>

1. Open Remix IDE. ( [Remix IDE](https://remix.ethereum.org/) )
2. Create a new `.sol` file

<img src="https://docs.taiko.xyz/_astro/newfile.BcnfOUTM_2iW2eW.webp" alt="AarmaChain Contract - Remix IDE" height="286" width="392">

* Give it any name, for example `Counter.sol`.
* Fill with this example code:

```
// SPDX-License-Identifier: MITpragma solidity ^0.7.0;
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.4.0-solc-0.7/contracts/token/ERC20/ERC20.sol";
contract Token is ERC20 {
    constructor () ERC20("Example Token Hekla", "ETH") {        _mint(msg.sender, 1000000 * (10 ** uint256(decimals())));    }}
```

### Compile

* Change the Compiler version to `0.7.0+commit.9e61f92b`

<img src="https://docs.taiko.xyz/_astro/compiler.CmBYJWMV_1N1kb5.webp" alt="" height="748" width="471">

* Then compile it.

### Deploy

* Change the Environment to `Injected Provider`

<img src="https://docs.taiko.xyz/_astro/provider.BzcgCMPN_Z2cJLJJ.webp" alt="" height="484" width="456">

<img src="https://docs.taiko.xyz/_astro/transact.Dz097gq-_ZndpKU.webp" alt="" height="727" width="455">

* Then click `transact`
* Finally, verify the smart contract using AarmaScan.
