Deploy a Smart Contract

🚀 Deploy a Smart Contract Using Remix

This guide will walk you through deploying your first smart contract on the IBVM Chain using Remix, a powerful web-based IDE designed for Ethereum-compatible smart contract development. Since IBVM is fully EVM-compatible, Remix is a great tool for testing and deploying your contracts quickly.


✅ Prerequisites

Before you begin, ensure the following:

  • You have BTC in your wallet.

  • The IBVM Testnet is already added to your MetaMask or preferred Web3 wallet.

  • If not, please visit the Faucet page to receive test tokens and add the network.

🔹 Step 1: Open Remix and Load a Contract

Visit https://remix.ethereum.org. Once the IDE loads, navigate to the contracts folder in the file explorer on the left.

Select your simple contract file.

Initial View & Final Selection

🔹 Step 2: Compile the Smart Contract

  1. Click the Solidity Compiler tab in the left sidebar.

  2. Expand Advanced Configuration and select Shanghai as the EVM version (IBVM is based on Citrea which currently does not support Cancun).

  3. Click <your_filename>.sol.

This step will generate the ABI and Bytecode needed for deployment.

Compiler Contract

🔹 Step 3: Connect Wallet and Deploy Contract

  1. Click on the Deploy & Run Transactions tab in the left panel.

  2. In the Environment dropdown, choose Injected Provider - MetaMask. Remix will connect to your MetaMask wallet.

  3. Ensure your wallet is on IBVM Testnet.

  4. Click Deploy.

Configuring Wallet and Network

🔹 Step 4: Confirm the Transaction

Your wallet will open a confirmation dialog. Review the gas fees and click Confirm to complete the deployment.

Once the transaction is confirmed on-chain, the deployed contract will appear in the Remix interface.

Confirm Transaction in Wallet

🎉 Congratulations!

You've deployed your first contract on IBVM Testnet using Remix. From here, you're ready to explore more complex smart contracts, token creation, DeFi applications, and more.

Need help or have questions? Join the IBVM community on Discord or refer to the other guides in the Development Documentation section.

Last updated