Learn how to create a smart contract from scratch in Solidity.
- [Instructor] Now that we've learned…the basics of Solidity, let's take a look at how we go…about writing a smart contract.…We're going to create a very simple smart contract…that can be used for the sending of Ether…with a basic approval process by a third party.…There are ton of use cases where this could be applicable,…from auctions to escrows,…and you can even have something programmatic…doing the approval instead of an address…but I wanted to keep it simple to get started.…The first thing we need to do…is we need to create a directory…where we're going to use Truffle…to initialize a new project.…
You can do this in the visual interface…and if you're on Windows,…command lines might be somewhat different.…I'm going to go onto my desktop…and here I'm going to create a directory called contracts.…And then I'm going to use my command line…to go into that contract.…So however you get here,…at this point you wanna write truffle init.…So this then will download a Truffle project…and get everything all set up.…
So if I go into my editor,…
- How the Ethereum blockchain differs from bitcoin
- What smart contracts are and how they work
- Creating a smart contract from scratch in Solidity
- Using Truffle to test smart contracts
- Using web3.js to interact with the blockchain
- Deploying resources in Swarm
Skill Level Intermediate
1. Getting Set Up
2. Introduction to DApps and Ethereum
3. Writing a Smart Contract
4. Building a DApp
5. Deploying to the Ethereum network
Deploying resources in Swarm3m 42s
Next steps1m 24s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.