Diving Deeper Into Smart Contracts

Smart contracts can be used to design any type of software, including games. In this chapter, we will continue building on our Solidity skills by writing a smart contract game. Some of the key concepts introduced in this chapter will include payable functions and function modifiers.

The code used in this section was inspired by StephenGrider. The MoneyGame.sol smart contract is a simple example to identify how to create functions that can interact with cryptocurrencies like Ether.


This page is a preview of Creating an ERC20 Token on Ethereum

Start a new discussion. All notification go to the author.