Quick learning-Solidity compiler

Solidity compiler

Remix

  • Remix is ​​a Solidity IDE based on a web browser; can be used online without installing anything
  • http://remix.ethereum.org

solcjs

  • solc is one of the build targets of the Solidity source code library, it is the command line compiler of Solidity
  • Use npm to easily install Solidity compiler solcjs
  • npm install -g groove

Insert picture description here
A simple smart contract

pragma solidity ^ 0.4 .0;
contract SimpleStorage {
	uint storedData;

	function set(uint x) public {
		storedData = x;
	}

	function get() public view returns(uint) {
		return storedData;
	}
}
Published 2140 original articles · Like 2377 · Visit 240,000+

Guess you like

Origin blog.csdn.net/weixin_42528266/article/details/105464836
Recommended