Build an Ethereum Smart Contract with Go and Solidity
1h 43mIntermediate2024-03-18
Authors

Xiao Liu
Course details
In an increasingly decentralized world, knowing how to develop smart contracts can be a big advantage—but there are some unique characteristics that can be tricky even for experienced developers. This course is designed to provide Go developers with an introduction on how to build and deploy smart contracts on Ethereum. Instructor Xiao Liu starts the basic theories about Ethereum, smart contracts, and their use cases. He then gets into a project-led tutorial on how to build a smart contract using Solidity and deploy and interact with it using Go. After the course, you should feel confident to deploy a smart contract to Ethereum with a good understanding of the basic building blocks.
Skills covered
Web3CryptocurrencyGoFinance and AccountingGoogleProgramming LanguagesData ScienceSoftware DevelopmentOne-Off
Concepts
0. Introduction
- 01 - Learn to develop smart contracts with Go
- 02 - What you should know
1. Theory and Concepts
- 03 - An Ethereum synopsis
- 04 - What is a smart contract on Ethereum
- 05 - Smart contract use cases
2. Set Up a Smart Contract Development Environment
- 06 - Install Solidity
- 07 - Install Foundry
- 08 - Install Geth
3. Solidity 101
- 09 - Hello World
- 10 - Primitive types
- 11 - Flow control statements
- 12 - Functions
- 13 - Expressions
- 14 - Constructor
4. Your Simple Auction Contract
- 15 - How auctions work
- 16 - Define the interface
- 17 - Set the variables
- 18 - Define the constructor
- 19 - Implement Bid() function
- 20 - Finish implementation
- 21 - Create an NFT contract with OpenZeppelin
5. Build an API for Your Auction Contract
- 22 - Go bindings generation
- 23 - Service skeleton
- 24 - Routes and handlers
6. Deploy a Smart Contract
- 25 - Deploy to local Blockchain
- 26 - Deploy to Ethereum Testnet and Mainnet
- 27 - The grand finale - Let's start the auction
Conclusion
- 28 - Next steps