Back
DAI - Part 1
What are Stablecoins? Stablecoins are cryptocurrencies designed to maintain a stable value, typically pegged to a reference asset such as fiat money, exchange-traded commodities, and another cryptocurrency. DAI is a decentralized stablecoin running on the Ethereum blockchain that attempts to maintain a value of 1 USD. In Part 1 of the DAI course, we will learn to build a StableCoin contract including the deposit and withdraw collateral functions.
Language
Solidity
Total Length
1.3h
Part of Learning Track
Build on Ethereum + 1
What You’ll Learn
Introduction to stablecoins and DAI
Definition of contract initialization, variable definitions, and the deposit and withdrawal of collateral.
collateral
deposit
withdraw
Syllabus
Language
Solidity
Total Length
1.3h
Part of Learning Track
Build on Ethereum + 1