5ireChain Integrated Development Environment

5ireChain
5 min readMar 6, 2023

What is an Integrated Development Environment

An Integrated Development Environment (IDE) is a software tool that assists developers in writing code more efficiently. With built-in features such as debugging, editing, and testing, it serves as an all-in-one solution that enhances productivity and streamlines the development process.

In the world of developers, IDEs are comparable to Google Docs for writers. Although it is possible to write code on text editors and manually organize it, IDEs simplify the task, minimizing errors and creating a smooth workflow.

5ire IDE

5ire has a dedicated IDE for the development and deployment of EVM-compatible smart contracts, NFTs and tokens.

The in-built 5ire IDE is an all-in-one development environment for Web3 developers. It bootstraps the development process with an intuitive interface and already-made templates.

How to deploy a contract on 5ire EVM blockchain using Remix IDE

Note: In order to start using the 5ire IDE, users must set up and configure their wallet. Click here to start setting up your 5ire Wallet.

Step 1: Head to the 5ire IDE Platform.

Step 2: Go to Workspace from the left-panel menu and choose the Create New File icon.

Step 3: Create a new file under the contracts folder with the name 5ire.sol.

  • A new file will be generated, and the main panel will appear blank.

Note: .sol is the extension of Solidity files.

Step 4: Writing the code

  • You can either paste your existing code in the main panel of the 5ire.sol file or upload your contract file in the Workspace.
  • You could also use the below sample ERC-20 code:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;


// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.0.0/contracts/token/ERC20/IERC20.sol
interface IERC20 {
function totalSupply() external view returns (uint);


function balanceOf(address account) external view returns (uint);


function transfer(address recipient, uint amount) external returns (bool);


function allowance(address owner, address spender) external view returns (uint);


function approve(address spender, uint amount) external returns (bool);


function transferFrom
address sender,

address recipient,
uint amount
) external returns (bool);


event Transfer(address indexed from, address indexed to, uint value);
event Approval(address indexed owner, address indexed spender, uint value);
}




contract ERC20 is IERC20 {
uint public totalSupply;
mapping(address => uint) public balanceOf;
mapping(address => mapping(address => uint)) public allowance;
string public name = "Solidity by Example";
string public symbol = "SOLBYEX";
uint8 public decimals = 18;


function transfer(address recipient, uint amount) external returns (bool) {
balanceOf[msg.sender] -= amount;
balanceOf[recipient] += amount;
emit Transfer(msg.sender, recipient, amount);
return true;
}


function approve(address spender, uint amount) external returns (bool) {
allowance[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}


function transferFrom(
address sender,
address recipient,
uint amount
) external returns (bool) {
allowance[sender][msg.sender] -= amount;
balanceOf[sender] -= amount;
balanceOf[recipient] += amount;
emit Transfer(sender, recipient, amount);
return true;
}


function mint(uint amount) external {
balanceOf[msg.sender] += amount;
totalSupply += amount;
emit Transfer(address(0), msg.sender, amount);
}


function burn(uint amount) external {
balanceOf[msg.sender] -= amount;
totalSupply -= amount;
emit Transfer(msg.sender, address(0), amount);
}
}

This is how your screen will appear after pasting the code mentioned above:

Step 5: Compilation

  • Go to the Solidity Compiler from the left-panel.
  • To compile a contract, either select the desired file from the File Explorer, or ensure that the desired file is the active one in the Editor if multiple files are open.
  • If there is an active file chosen in the file explorer, then the solidity compiler will look like this:
  • Click on Compile 5ire.sol to compile the contract file.
  • After successful compilation, this is what your screen will look like:

Step 6: Deployment

  • Go to the Deploy & Run Transactions sidebar from the left-panel.
  • In order to use this module, it is necessary to have a compiled contract. Hence, if there is a contract name in the CONTRACT select box (the select box is under the VALUE input field), you can use this module.
  • 5ire Provider: For connecting 5ire IDE to an injected web3 provider. The most common injected provider is MetaMask and 5ire Wallet extension.
  • Hardhat Provider: For connecting 5ire IDE to a local Hardhat test chain.
  • Ganache Provider: For connecting 5ire IDE to a local Truffle Ganache test chain.
  • Click on Deploy.
  • Confirm the transaction on the Web3 extension.
  • Once the transaction is confirmed, the deployment details, contract address and transaction, will be visible in the terminal:

Conclusion

IDEs help developers by providing them with tools and applications that make software development easier. 5ire IDE was developed to help web3 developers get over the hitches of building and deploying smart contracts.

As 5ireChain testnet continues to welcome developers, the IDE offers a seamless approach to building on the 5ireChain ecosystem.

More information about 5ireChain can be found by clicking on the following links:

Website: https://5ire.org

LinkedIn: https://www.linkedin.com/company/5ireChain

Twitter: https://twitter.com/5irechain

Discord: http://discord.gg/5ire

Telegram: https://t.me/OfficialFireChain

Facebook: https://www.facebook.com/5irechain

Instagram: https://www.instagram.com/5irechain

--

--

5ireChain

5ireChain — Testnet: Thunder Beta Live Now | Layer-1 EVM Compatible Smart Contract Platform | In Consensus Sustainability