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.

Diving Deeper Into Smart Contracts#

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

No discussions yet