Deploy with Remix
Remix IDE 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
):
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract Counter {
uint256 public count;
function increment() public {
count += 1;
}
}
βοΈ Step 2: Compile the Contract
Navigate to the Solidity Compiler tab on the left sidebar.
Select the appropriate compiler version (e.g.,
0.8.20
).Click Compile Counter.sol.
π Step 3: Connect MetaMask to Omega
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
Approve the network switch in MetaMask.
π Step 4: Deploy the Contract
Go to the Deploy & Run Transactions tab in Remix.
Set the Environment to
Injected Provider - MetaMask
.Ensure your MetaMask account is connected and on the Omega network.
Select the compiled contract (e.g.,
Counter
).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
Paste the address to view transactions and interact with the contract.
π Resources
π Remix IDE
π¦ MetaMask
π Omega Explorer
βοΈ Omega RPC
Last updated