008 Ethereum Dapp Compiling and installing the Deployment Tool remix

Source: Internet
Author: User

The Remix IDE is the IDE for solidity Dapp developers, Remix address:

https://remix.ethereum.org/

1. Prerequisites

To use the remix IDE, you need to connect to the Ethereum node. You can use mist, metamask, or connect to your local ethereum node (Geth or ETH).

Note: Connecting to Geth cannot work over HTTPS.

2, Mist Wallet Installation

http://blog.csdn.net/zxs9999/article/details/79052728

3, Metamask Wallet Installation

http://blog.csdn.net/zxs9999/article/details/79052801

4. Installation and Deployment contract

4.1. Enter the following contract code in the Remix IDE browser.

pragma solidity ^0.4.18;

Contract Simplestorage {
  uint Storeddata;

  function set (UINT x) public {
    storeddata = x;
  }

  function get () public view Returns (UINT) {
    return storeddata;
  }
}

4.2, click on Compile, click Start to compile start compiling, after the successful compilation will appear simplestorage contract.


4.3. Click Run to select any local account in the accounts via the JavaScript VM in environment.

Finally, click Create to deploy the contract to the local private chain.


4.4. Enter the set value in set and click the Set button.


4.5. Click the Get button to display the values previously set by the set and to see the changes in the Ethernet currency of the account (both the deployment contract and the execution set will use the etheric currency)








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.