Join Drew Falkman for an in-depth discussion in this video Compiling and migrating smart contracts, part of Ethereum: Building Blockchain Decentralized Apps (DApps).
- [Instructor] Once you're written your smart contract…and it's all ready to go, the next thing you're going to do…is compile it and migrate it to a network.…Now, whether you're doing this…to a local development network…or out to the Robson Test Network…or even to the main network,…the process is basically the same.…One thing to note before we continue,…is you can see I've added an address here for the approver.…I've grabbed this from one of the test addresses…that comes with Truffle,…because that's where I'm going to be deploying to.…The first thing to do is compile your contract.…
This will compile it into bytecode.…If you remember the Ethereum Virtual Machine…doesn't actually do any compilation,…it simply parses the bytecode.…So we just navigate into wherever our directory is…of our Truffle project and we type truffle, compile.…Now, I'm getting a compilation warning.…There's nothing I can do about this.…This has to do with the migrations smart contract…that comes with the Truffle project.…It's just a warning, it's telling you…
- 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.