0PricingLogin
Blockchain Smart Contracts with Solidity · Lesson

Compiling and Deploying Contracts

Learn to compile your Solidity code into bytecode and deploy contracts to a local development network.

Intro to Compile & Deploy

Great job setting up your environment! Now let's bring your Solidity code to life. This lesson covers two essential steps: compiling and deploying your smart contracts.

Think of it like building an app: first, you write the code, then you turn it into something a computer can run (compile), and finally, you put it somewhere for people to use (deploy).

What is Compilation?

Compilation is the process of converting your human-readable Solidity code into machine-readable bytecode. The Ethereum Virtual Machine (EVM) understands this bytecode.

  • Solidity is a high-level language.
  • The EVM runs low-level bytecode.
  • The compiler acts as a translator between them.

All lessons in this course

  1. Setting Up Hardhat or Truffle
  2. Compiling and Deploying Contracts
  3. Interacting with Deployed Contracts
  4. Writing and Running Contract Tests
← Back to Blockchain Smart Contracts with Solidity