
Explain why information replication makes value non-unique, unlike money that cannot be spent twice. Show how digital ledgers track transactions to prevent double spending and connect banks across networks.
A very interesting video to watch in order to understand CDOs and how the crisis of credit really worked: http://crisisofcredit.com/
Explore the blockchain design goals of data distribution, decentralization, and immutability, and how consensus algorithms enable trustless, peer-to-peer networks with pseudonymity and transparent ledgers.
Explore blockchain architecture as a secure fusion of database and network, anchored by a peer-to-peer node network and a verifiable distributed ledger.
Explain how a cryptocurrency incentivizes miners in a network, rewards blocks, and supports gas and smart contracts in Ethereum, while Bitcoin relies on properties: durable, portable, acceptable, limited, divisible, fungible.
Explore hashing functions and their cryptographic properties, and learn how they secure blockchain data by chaining blocks and enabling proof-of-work via nonces and difficulty targets.
Explain asymmetric cryptography with private and public keys, digital signatures, and blockchain use, including elliptic curve cryptography, wallet addresses, and hashes of public keys.
Set up a private Ethereum node on macOS using geth and puppeth, initialize a genesis block, create accounts, and mine with RPC access and IPC for local development.
Describe how smart contracts run on the EVM, compile with solidity to bytecode, and interact via web3.js to deploy a greetings contract with set and get functions.
Explore how gas sets the cost of Ethereum transactions, linking gas units to ether payments and miner rewards, and distinguish between view reads and state changing calls.
Learn how to send ether between accounts using truffle and web3.js, including gas, gas price, and transaction fees on a local blockchain.
Build a decentralized application called Chain List on the Ethereum blockchain, using Metamask to buy and sell articles, track events, and update the article list in real time.
Deploy and interact with a smart contract using Ganache and Truffle, migrate contracts, and test the sell article function with ether values and gas considerations.
Learn to sell an article using metamask on a local Ganesh network, switch accounts, deploy with truffle, and handle network id issues while refreshing the frontend to show the article.
Add a sale event to the smart contract and learn to trigger and watch it from a truffle console, so watchers see new articles for sale in real time.
Sell an article via a smart contract function, read the log sell article event from the transaction receipt, and verify seller, article name, and price in ether.
Sell an article with a smart contract event, redeploy to reset state, and watch only the latest events for reliable frontend updates.
Watch on-chain events from the frontend by listening for the sell article event, display the article from the contract, and refresh the interface with a live event list.
Learn to deploy contracts on a private node by unlocking accounts, selecting the deployment from a specific account, and re-running migrations with Truffle and RPC unlocks.
Add a payable buy feature to chain list smart contract, ensuring article exists and is available, recording the buyer and transferring ether to the seller, with a purchase event.
Create a get article function in a smart contract to return seller, buyer, name, description, and price; deploy, sell, and buy an article on ganache with event logs.
Update the frontend to reload articles, extract price in ether, and display buyer status with a buy button that hides when the seller is connected or sold.
Learn to extend the smart contract to support multiple articles by adding an id based buy function, validating article existence, preventing self-purchases, transferring funds, and updating events.
Interact with the deployed smart contract to list, sell, and buy multiple articles, using mappings, arrays, and structs, and verify balances and article details through the contract's getters and events.
Delves into running web3 tests, debugging happy-path flows for selling and buying articles, and testing exceptions when articles are absent or do not exist, with ether pricing and balances.
Render articles into the template, populate id, seller, name, description, and price, use the articles row, convert to wei, and toggle the buy button based on seller connection.
Learn why and how to deactivate a smart contract with self-destruct, enforce owner-only access, and manage migration, refunds, and user notifications on main net.
Refactor a smart contract to use inheritance by creating a base contract with an owner and an only owner modifier. Extend the contract to centralize authorization and reuse logic.
Deploy the chain list dapp frontend to GitHub pages, configure test and production network deployments, and enable user interactions via Metamask on a live front end.
Learn to deploy smart contracts on the Rinkeby test network by configuring a local node, unlocking accounts, funding via faucet, and migrating with Truffle.
Deploy smart contracts to the main net using geth and truffle migrate, then publish the front end on GitHub Pages and monitor ether, gas, and costs.
Restore a previous smart contract project, install dependencies, and update truffle config for ganesh and solidity 0.5. Learn payable addresses, memory data, address(0), emit, constructors, and require messages, then compile.
Test conversion checklist:
replace all the vars by let or const
transform the it() function into an async fat arrow function
replace all then() blocks with awaits
web3.eth.getBalance() is now asynchronous, so you can precede it with await
Replace all occurrences of web3.toWei() by web3.utils.toWei(), and web3.fromWei() by web3.utils.fromWei()
convert ether amounts into BNs at initialization
remove all calls to web3.toBigNumber()
convert BNs into strings everywhere we compare them with assert.equal()
remove all calls to toNumber() on getBalance() return values
call parseFloat() around calls to web3.eth.getBalance() to convert strings into javascript numbers for calculation
convert article prices back into numbers for calculations, using BN.toNumber()
Test conversion checklist:
replace all the vars by let or const
transform the it() function into an async fat arrow function
replace all then() blocks with awaits
web3.eth.getBalance() is now asynchronous, so you can precede it with await
Replace all occurrences of web3.toWei() by web3.utils.toWei(), and web3.fromWei() by web3.utils.fromWei()
convert ether amounts into BNs at initialization
remove all calls to web3.toBigNumber()
convert BNs into strings everywhere we compare them with assert.equal()
remove all calls to toNumber() on getBalance() return values
call parseFloat() around calls to web3.eth.getBalance() to convert strings into javascript numbers for calculation
convert article prices back into numbers for calculations, using BN.toNumber()
encapsulate all contract function calls expected to throw an exception into try/catch blocks
You've reached the end of this getting started with web3 development course, gaining a clear view of the ecosystem, the development environment, and how to start building decentralized apps.
Explains the Byzantium hard fork on Ethereum, including new EVM opcodes and four native contracts. Highlights implications for mining rewards, difficulty, and parallel transaction processing that improve efficiency.
February 2018 Update
We released the first version of this course in September 2017. Back then, the latest version of Truffle was version 3, and the best Ethereum node emulator was testrpc, on the command line.
Then, in November 2017, the Truffle team released both Truffle 4 and a new user interface for testrpc called Ganache. Those tools had a big impact on the development lifecycle, so we took this opportunity to completely rewrite and re-shoot the practical part of this course.
We also took this opportunity to integrate most of the comments and feedbacks we got in the Q&A section of this course. So all the details you needed to troubleshoot issues are now part of the content.
This results in a consequent update with quite a few improvements:
Note that the old content will remain online for a few weeks, and then we will unpublish them so that students don't need to watch all the old content to complete the course and get the Udemy certificate.
If you notice any issue, bug, outdated content, missing link or resource, please let us know in the Q&A section of this course.
Welcome to "Become a Blockchain Developer with Ethereum and Solidity"!
This course is a complete introduction to decentralized application (Dapp) development on the Ethereum blockchain using the Solidity language and the Truffle build framework.
No need to know anything about the blockchain, you should just have some basic software development experience. Whether you have already written some code for backend, web or mobile applications, it should be enough to become a blockchain developer thanks to this course.
The blockchain is all the rage these days, and there is a lot of theoretical or anticipative talk around it, but this course will help you get your hands dirty with actual code in order to build your first decentralized application. This is the kind of skill that can get you an actual job as a blockchain developer, something that is in skyrocketing demand right now.
Have you ever looked back on the nineties, thinking you would have loved to be a part of the web revolution. Well, stop dreaming: the blockchain is here and it promises to be even bigger than the web or even the mobile revolution.
What we cover
The tools we use
We deliberately don't reinvent the wheel or develop our own build tools because it didn't seem very pragmatic to do that. That's why we demonstrate the use of development tools like Truffle and Ganache that offer a lot of very powerful features, even though they evolve very often.
Most of the videos were shot on a Mac, but we give detailed instructions on how to set up your environment on Linux and Windows, and all the other lessons have been tested and adapted with a few OS-specific instructions.