Remix IDE Introduction



This content originally appeared on DEV Community and was authored by Loading Blocks

Preface

Remix is a very popular IDE, which is designed for smart contract development using Solidity. It simplifies the process of coding, compiling, deploying and testing.

Remix features and version

Online IDE:: No installation is required, Files are stored in the browser local storage, which may result data loss. the important files need to manual download and backup.

Desktop Application: It is recommended to use this version, because it stores files and workspaces in your computer disk.

Core Interface Introduction

  1. File Explorer: It allows you to browse and mange files.

  2. Workspaces: Workspaces serve as the core concept for organzing project, like a project folder. You can create, rename and delete it.

  3. Solidity Compiler: Source code must be compiled into byte code before deployment.

4.Settings: you can select the compiler version, pragma statement specifies compatible versions.

Deploy & Run Transactions

  1. Remix VM: It provides a local, temporary blockchain environment.

  2. Injected provider(MetaMask): Connect to MetaMask to deploy contracts to the mainnet or testnet

After compilation, select the contract and click ‘Deploy’

Once deployed, contract instances apper and functions can be called

Plugin Manager:

you can activate or deactivate plugins to extend IDE functionality. I recommend some plugins such as Solidity static Analysis, Solidity Unit Testing.


This content originally appeared on DEV Community and was authored by Loading Blocks