Write First Smart Contract in Solidity | Blockchain
Hence, define the function store (which stores someone’s favourite number), passing a variable to store a number input from the user. Assign the favourite number variable created above (with public scope) to the local variable passed in the function.
December 17, 2021
12 min read