How To Create Your First Smart Contract

If you're new to web3 development, this is the place to start!

Smart contracts form the basis for all dApps built on the blockchain, and they're typically written in custom languages such as Solidity (for Ethereum) or Cadence (for Flow).

They tend to be much simpler than traditional programs, but the risks are much higher - a single smart contract bug can lead to millions of dollars being drained in minutes!

What skills will you be developing in this course? We'll walk you through the tools you need to code and deploy your first smart contract, including: 

  • Metamask: A software cryptocurrency wallet used to interact with the Ethereum blockchain, that will allow you to pay for the gas to publish your transaction.
  • Solidity: An object-oriented programming language for implementing smart contracts on Ethereum.
  • Hardhat: An Ethereum development environment that allows you to compile Solidity contracts, test contracts on a dev network, and view Solidity stack traces.
  • Etherscan: An online blockchain explorer that allows you to view transactions, blocks, and wallet states on a public blockchain.
  • Alchemy: A web3 developer platform that allows you to connect with the rest of the Ethereum network via free nodes.

If you're interested, let's dive right in! This track should take around 4-5 hours, including coding projects.

If you have any questions, find us on our Discord in the #smart-contract-course channel and we'll be happy to help!

Lessons