How to create a smart contract when using Remixed-IOE

Ethereum has created several languages ​​to support Blockchain related projects. Among them, Solidity is a language created with the main mission of writing Smart Contract projects. In addition, the company also develops a very famous and convenient Remix IDE in the process of programming as well as compiling and testing Contracts (introduce Ethereum’s Smart Contract here).

In this article, I will show you how to use Remixed IOE to program and compile default contracts online on https://remix.ethereum.org/ system. In the next post, I will show you how to create a completely new Smart Contract as well as how to synchronously connect it to the Local machine.

First time accessing https://remix.ethereum.org/ we have the default interface as below with 1 sample Smart Contract project (By default the screen is black so ignore it, I will guide you to adjust it. following theme)
The interface of each item is as follows:

Section 1 – Home screen:

When you select the home screen item, the interface displayed as below, it can contain a list of project structure, or instructions, introduction to plugins, or operations on files, folders and documents original.
Section 2 – End-of-source organization:

When clicking on this item, we will see the folder structure as shown below, we click on the folder to extract the source code files. If you want to manipulate it like: add, delete, edit folder files, right-click it will bring up the menu for selection. The default source files have the extension .sol
Section 3 – Solidity compiler

Usually when we finish coding a Contract, if it doesn’t report an error, then go here to compile it to use for the deployment step and run the transaction.
Section 4 – Deploy and run the transaction:

See also  Sync Smart, Not Hard: Unlocking Efficiency in APK Synchronization

After item 3 we have successfully compiled, go to this section 4 to deploy it, details as shown below
The details of the compilation process in item 3 and the details of the deployment in section 4 are also shown in section 9.

Section 5- Manage Plugins

In the process of deploying Smart Contract software, there will be times when we have to use additional external libraries, we need to go here to install as shown below.
Section 6-7 manages project directory and project structure

In this section we can create new Workspaces, add, edit, delete files and folders as shown below.

The filename if it is Contract, the default extension is .sol
Section 8 – write source code:

We click on each .sol file to program the contract as shown below.

Of course it is a Solidity programming language, you must know about it. I will take advantage of the following tutorial course. You can temporarily learn the English version here: https://docs.soliditylang.org/en/v0.8.7/index.html
Section 9 as mentioned is the place to display details of interactions when compiling, deploying.

Item 10 is the settings to change the configuration as well as the interface
So here I have finished guiding how to use Remix – Ethereum IDE to program Smart Contract software. You basically know the meaning of each ingredient.

Next article I will show you how to create a new Contract completely as well as know how to compile, deploy and test a number of transactions right on the Ethereum Blockchain system.

See you in the 2nd post, which is “Create First Smart Contract” is here

See also  How To Resolve "There Was a Problem Parsing the Package" Error on Android

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *