Remix
In this tutorial, we'll walk through creating a basic Remix project and deploying a sample contract.
Explore the Remix workspace
To start using Remix, navigate to their website. The default project includes a code sample with a configured smart contract.
Compile a Remix contract
Navigate to the Solidity compiler tab on the left navigation and click Compile contract.
Deploy the contract
You can deploy a smart contract using the injected provider, meaning Remix can auto-detect the network you're on and your account information. To do this, navigate to the Deploy & run transactions tab.
The public endpoints are rate limited and not meant for production systems. To use Infura, you'll need to get an API key. Then, manually add a network to your MetaMask wallet using the network information.
Switch to the Linea network (mainnet or testnets) in your MetaMask wallet, and from the ENVIRONMENT drop down, select Injected provider - MetaMask.
Then, select Deploy and confirm the transaction. This deploys the contract to the network selected in MetaMask.