LogoLogo
  • Overview
    • Introduction
    • Features
    • Consensus PoSa
  • Building on Bahamut
    • Overview
    • Network Endpoints
    • Deploy Smart Contracts
      • Using Hardhat
        • Create a project
        • Compiling the contract
      • Using Remix
        • Writing a Smart Contract
        • Compiling the contract
    • Deploy a Token
    • Deploy an NFT
    • Explorer
    • Bridge
    • About $FTN
  • Become a validator
    • Step 1: Install the Required Files
    • Step 2: Run the Node
    • Step 3: Set Up Your Wallet
    • Step 4: Generate Validator Keys
    • Step 5: Import Validator Keys and Launch the Validator Client
    • Step 6: Submit Deposit Data
    • Step 7: Set Withdrawal Credentials (BLS to Execution)
  • Validator Checklist
  • Staking Withdrawals
  • Difference on Bahamut Staking vs. Lolik
  • Disclosure
    • Disclaimers
    • Risk Statement
Powered by GitBook
On this page
  1. Building on Bahamut
  2. Deploy Smart Contracts
  3. Using Remix

Compiling the contract

Compile smart contract

  1. Switch to the Compiler tab

  2. Select compiler version

  3. Now, compile HelloWorld.sol

  4. After successful compilation, it will show a green tick mark on the Compiler tab button

Deploy Smart Contract

In both Testnet and Mainnet, you do the below to deploy your smart contract using Remix.

  1. Navigate to the Deployment tab

  2. Select Injected Provider Metamask in the Environment dropdown, and your contract

  3. Accept the Connect request received in MetaMask. You can also manually launch MetaMask if the popup doesn't open by default.

  4. In MetaMask, once a transaction is deployed, you will receive another MetaMask pop-up that requires you to confirm the transaction. You just need to confirm the transaction.

PreviousWriting a Smart ContractNextDeploy a Token

Last updated 8 months ago