Deploying a smart contract using Remix
Tutorial: Deploying Smart Contracts on Biturbo Using Remix
This tutorial guides you through deploying a smart contract on the Biturbo network using Remix, an online Ethereum IDE.
Prerequisites
MetaMask: Installed and configured for the Biturbo Testnet.
Remix IDE: Accessible via Remix.
Step-by-Step Guide
Step 1: Connect MetaMask to Biturbo Testnet
Open MetaMask.
Add the Biturbo Testnet network:
Network Name: Biturbo Testnet
New RPC URL:
https://test-rpc.biturbo.io
Chain ID: 725019
Currency Symbol: TBO
Block Explorer URL:
https://testnet.biturboscan.io
Step 2: Access Remix IDE
Navigate to Remix IDE.
In the file explorer, create a new file named
SimpleStorage.sol
.
Step 3: Write the Smart Contract
Step 4: Compile the Smart Contract
Click on the "Solidity Compiler" tab.
Select the compiler version
0.8.0+
.Click "Compile SimpleStorage.sol".
Step 5: Deploy the Smart Contract
Switch to the "Deploy & Run Transactions" tab.
Ensure the environment is set to "Injected Web3".
MetaMask will prompt you to connect; choose the Biturbo Testnet.
Click "Deploy" and confirm the transaction in MetaMask.
Step 6: Interact with the Smart Contract
Once deployed, the contract will appear in the "Deployed Contracts" section.
Expand the contract to see available functions (
set
andget
).Use the input field to call
set
with a value.Call
get
to retrieve the stored value.
Summary
You have successfully deployed and interacted with a smart contract on the Biturbo Testnet using Remix. This process leverages the familiar Ethereum development tools, thanks to Biturbo's EVM compatibility.
Last updated