> For the complete documentation index, see [llms.txt](https://omega-6.gitbook.io/omega/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://omega-6.gitbook.io/omega/deploy-with-remix.md).

# Deploy with Remix

[Remix IDE](https://remix.ethereum.org) is a powerful browser-based tool that allows you to write, compile, and deploy smart contracts without setting up a local development environment. You can use it to easily deploy contracts to the Omega network.

***

### 🧱 Step 1: Open Remix

Go to <https://remix.ethereum.org>\
Create a new Solidity file under the `contracts/` directory (e.g., `Counter.sol`):

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

contract Counter {
    uint256 public count;

    function increment() public {
        count += 1;
    }
}
```

***

### ⚙️ Step 2: Compile the Contract

1. Navigate to the **Solidity Compiler** tab on the left sidebar.
2. Select the appropriate compiler version (e.g., `0.8.20`).
3. Click **Compile Counter.sol**.

***

### 🔌 Step 3: Connect MetaMask to Omega

1. Open MetaMask and switch to the Omega network:
   * **Network Name**: Omega
   * **RPC URL**: `https://0x4e454228.rpc.aurora-cloud.dev`
   * **Chain ID**: `1313161768`
   * **Currency Symbol**: OMEGA (optional)
   * **Block Explorer**: `https://0x4e454228.explorer.aurora-cloud.dev`
2. Approve the network switch in MetaMask.

***

### 🚀 Step 4: Deploy the Contract

1. Go to the **Deploy & Run Transactions** tab in Remix.
2. Set the **Environment** to `Injected Provider - MetaMask`.
3. Ensure your MetaMask account is connected and on the Omega network.
4. Select the compiled contract (e.g., `Counter`).
5. Click **Deploy** and approve the transaction in MetaMask.

Once confirmed, your contract will be live on Omega!

***

### 🔎 Step 5: Verify on Explorer (Optional)

After deployment, copy your contract address and head to:

➡️ [Omega Block Explorer](https://0x4e454228.explorer.aurora-cloud.dev)

Paste the address to view transactions and interact with the contract.

***

### 📚 Resources

* 🌐 [Remix IDE](https://remix.ethereum.org/)
* 🦊 [MetaMask](https://metamask.io)
* 🔍 [Omega Explorer](https://0x4e454228.explorer.aurora-cloud.dev)
* ⚙️ [Omega RPC](https://0x4e454228.rpc.aurora-cloud.dev)

***
