- Open Remix IDE.
- Create a new file
MyContract.sol:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract MyContract {
string public message = "Hello, Vector Smart Chain!";
}
- Compile with Solidity ^0.8.20.
- Switch MetaMask to VSC Mainnet.
- Deploy via “Injected Provider - MetaMask.”
- Verify your contract on the VSC Explorer.