Welcome to the Solidity 0.8.0 documentation tutorials! Here you will find a variety of tutorials to help you get started with Solidity, the popular smart contract programming language for Ethereum.
快速入门
基础教程
高级教程
示例
Here's a simple example of a Solidity contract:
pragma solidity ^0.8.0;
contract SimpleStorage {
uint public storedData;
function set(uint x) public {
storedData = x;
}
function get() public view returns (uint) {
return storedData;
}
}
To learn more about contracts, check out the Solidity contract documentation.
图片示例
Here's a picture of a golden retriever:
By following these tutorials, you will be well on your way to becoming an expert in Solidity and building your own smart contracts!