KYOTO DEVELOPER DOCUMENTATION
  • 🏗️Build on KYOTO
    • KYOTO Testnet Token
    • Network Details
    • Developer Tools
    • Metamask Wallet
    • Build
      • With Hardhat
      • With Truffle
      • With Remix
      • With thirdweb
    • Transactions
    • Connecting and interacting via Ethers.js
    • How to verify a smart contract?
    • Smart Contract Best Practices
    • KYOTO for Ethereum Developers
Powered by GitBook
On this page
  1. Build on KYOTO
  2. Build

With Remix

How to deploy a smart contract on the KYOTO network using Remix

PreviousWith TruffleNextWith thirdweb

Last updated 1 year ago

Remix IDE is generally used to compile and run Solidity smart contracts. Below are the steps for the compilation, execution, and debugging of the smart contract.

Step 1: Open Remix IDE on any of your browsers, select New File, and click on Solidity to choose the environment.

Remix IDE Startup Window

Step 2: Write the Smart contract in the code section, and click the Compile button under the Compiler window to compile the contract.

  • Solidity

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.5.0;
contract SolidityTest{
    uint a=10;
    uint b=12;
    uint sum;
    function getResult() public returns(uint){
        sum=a+b;
        return sum;
    }
}

Step 3: To execute the code, click on the Deploy button under Deploy and Run Transactions window.

Step 4: After deploying the code click on the method calls under the drop-down of deployed contracts to run the program, and for output, check to click on the drop-down on the console.

Step 5: For debugging, click on the Debug button corresponding to the method call in the console. Here you can check each function call and variable assignment.

Compile Code
Deploy Code
Output Window
Debugging Code

For more information, check out Remix IDE .​

🏗️
documentation