# 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

![AarmaChain Contract - Remix IDE](https://docs.taiko.xyz/_astro/newfile.BcnfOUTM_2iW2eW.webp)

* 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`

![](https://docs.taiko.xyz/_astro/compiler.CmBYJWMV_1N1kb5.webp)

* Then compile it.

### Deploy

* Change the Environment to `Injected Provider`

![](https://docs.taiko.xyz/_astro/provider.BzcgCMPN_Z2cJLJJ.webp)

![](https://docs.taiko.xyz/_astro/transact.Dz097gq-_ZndpKU.webp)

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