💻Deploy a contract

Deploying a smart contract to the RUNnodE Sepolia Testnet is an essential skill for developers looking to experiment with or launch their decentralized applications (dApps) on the RUNnodE ecosystem. Remix, an open-source web and desktop application, offers a powerful environment for writing Solidity contracts, with tools for debugging and deploying them directly to various Ethereum-based networks, including RUNnodE's Sepolia Testnet. This page guides you through the steps to deploy your first smart contract to the RUNnodE Sepolia Testnet using Remix.


Before starting, ensure you have the following:

  • MetaMask installed on your browser and set up with a Sepolia Testnet.

RUNodE Sepolia Testnet details:

Step 1: Setting Up Remix

  1. Open your web browser and go to Remix Ethereum IDE. Remix IDE will load, presenting you with a user-friendly interface for coding.

  2. Navigate to the "File Explorers" section within Remix and locate the contracts folder in the default_workspace.

  3. Here, you're advised to work with a sample contract for a smooth start - select '1_Storage.sol'. This approach helps you understand the workflow without immediately diving into custom code development.

Step 2: Compile Your Smart Contract

  1. Click on the "Solidity Compiler" icon on the left sidebar.

  2. Select the compiler version 0.8.19+commit.7dd6d404

  3. Make sure to check the Auto compile option.

  1. Hit the 'Compile 1_Storage.sol' button. Make sure there are no errors or warnings post-compilation.

Step 3: Connect to the Sepolia Testnet

  1. Click on the "Deploy & Run Transactions" icon.

  2. In the "ENVIRONMENT" dropdown, select "Injected Provider - Metamask".

  1. MetaMask will prompt you to connect your account. Choose the account associated with the Sepolia Testnet and click "Connect".

Step 4: Deploying Your Contract

  1. Ensure that the "Deploy & Run Transactions" tab is still open and 1_Storage.sol is selected in the "CONTRACT" dropdown menu.

  2. Enter any initial values required by your contract constructor (if applicable).

  3. Click the "Deploy" button. MetaMask will open, asking you to confirm the transaction, showing the gas fee required.

  1. Confirm the transaction in MetaMask. Wait for the transaction to be processed by the Sepolia Testnet. This might take a few moments.

Step 5: Interacting with Your Deployed Contract

  1. Once deployed, your contract will appear under the "Deployed Contracts" section in Remix.

  2. You can interact with your contract's functions directly from Remix — such as setting and retrieving a value.

Last updated