区块链去中心化应用DAPP开发之智能合约的部署

1. 首先用vscode来写一个合约。 pragma solidity ^ 0. 4. 17; contract Adopt{ address[ 16] public adopter; function adopt( uint petId) public returns ( uint){ require(petId >= 0 && petId <= 15); adopter[petId] = ms
相关文章
相关标签/搜索