Gelios Blockchain Document
  • 👐Welcome!
  • 🏔️Foundation
    • ‼️Current Challenges
    • 🔩What problems does Gelios solve?
  • 🎮Gelios Blockchain
    • 💎First Runes-based blockchain
    • 🕎Polygon CDK Implementation
    • ♓Celestia DA Integration
    • ♋Valium scaling solution
  • Gelios Economy
    • 🗝️BTC as the Native Token
    • 🏪Gelios Governance Token
      • 🕸️Decentralized Decision-Making
      • 💵Transfer of Value
      • 💰How to claim gOS token
        • Key Holders
        • Ordinary Users
          • Gas Contributor Airdrop
          • Community Airdrop
    • 🪙gOS Allocation
  • Gelios Contract
    • 📔Gelios Contract
  • Gelios Ecosystem
    • 🌉Cross-chain Bridge
      • 💱How to transfer BTC, wBTC via Gelios Bridge
    • 🗣️Referral Program
  • Gelios Keys & Nodes
    • 🗝️Entry Key
      • 🔑How Key Benefits Users
      • 📋Entry Key Details
      • 🔐How to get Entry Keys?
    • 🖥️Node Station
      • 🆔How to pass KYC
      • 🤝Entry Node Agreement
  • Gelios Testnet
    • 🦊Connect to Gelios Network
    • 📥Get Testnet gBTC/ gOS Tokens
  • Social Media
    • 🌐Social Links
    • 🗃️Media Kit
  • Gelios Alphanet
    • 🔶Overview
    • ⚙️Gelios Architecture
    • 💡How to deploy a contract on Gelios AlphaNet?
      • Add Gelios AlphaNet to Metamask
Powered by GitBook
On this page
  1. Gelios Alphanet

How to deploy a contract on Gelios AlphaNet?

PreviousGelios ArchitectureNextAdd Gelios AlphaNet to Metamask

Last updated 1 year ago

First thing first, you will need to .

Once the network has been added, follow these steps to deploy the contract:

  1. Initiating the Connection: We will be optimizing Remix IDE for contract deployment, so start by navigating to

  2. Open the Contract: Within the Remix IDE, locate the File Explorer. Navigate to the 'contracts' directory and select '1_Storage.sol'. This action prepares the contract for compilation and deployment.

  1. Compile the Contract:

  • Shift your focus to the 'Solidity Compiler' tab.

  • From the available options, select the '0.8.17 solidity compiler' version to ensure compatibility.

  • Click the 'Compile' button to compile your chosen contract. This step is crucial for verifying the contract's syntax and preparing it for deployment.

  1. Deploying the Contract

  • Now, move to the 'DEPLOY & RUN TRANSACTIONS' tab, where you'll proceed with the contract deployment.

  • Set the Environment to 'Injected Provider - MetaMask'. This option integrates Remix with your MetaMask wallet, enabling on-chain transactions.

  1. Contract Deployment:

From the dropdown menu, select the contract you've just compiled. This ensures that the correct contract is ready for deployment.

Click the 'Deploy' button to initiate the deployment process. This action will trigger another MetaMask popup, requiring you to confirm the transaction details and complete the deployment.

A MetaMask popup will appear, prompting you to grant permission for Remix to connect to . Approving this request is vital for proceeding.

💡
https://remix.ethereum.org/
add Gelios AlphaNet to Metamask
https://remix.ethereum.org/