Start Building
Set up Remix, connect StarKey Wallet, and deploy your first smart contract on SupraEVM.
Step 1: Open Remix IDE
Visit https://remix.ethereum.org On the left sidebar, click Deploy & Run Transactions Click Customize this list Select Injected Provider – StarKey Wallet Ensure your wallet is connected to Supra MultiVM A confirmation modal will appear in StarKey Wallet.
Step 2: Create a New Solidity File
Click the File Explorer icon Click New File Name it:
SimpleSupraStorage.solPaste the following contract:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract SimpleSupraStorage {
uint256 public storedData;
function set(uint256 x) public {
storedData = x;
}
function get() public view returns (uint256) {
return storedData;
}
}What this contract does:
storedData: stores one numberset(x): updates the stored numberget(): returns the stored number
Perfect for learning SupraEVM deployment flow.
Step 4: Deploy to SupraEVM MultiVM
Open Deploy & Run Transactions Under Environment, choose:
Injected Web3 (StarKey Wallet)
Make sure StarKey Wallet is switched to: ✔ Supra MultiVM Testnet ✘ Not Ethereum, BNB, or any other network
Click Deploy Confirm the transaction in StarKey Wallet
Your contract is now deployed on SupraEVM.
Step 6: Verify Transactions on the Explorer
Every action (deploy, set, get) is recorded on Supra’s MultiVM Explorer. Paste your transaction hash or contract address into:
> Supra MultiVM Block Explorer <
You can view:
Gas used
Function calls
Storage changes
Contract creator
Execution results
Last updated
