Learn how to load a smart contract and call its functions from a DApp using the web3.js library.
- [Instructor] So I need to create an instance…of my contract and it's going to use that ABI to do it.…And I can do it right after this.…I'll create a new var and I'll call it ApprovalContract.…There's no mistaking what it is.…And I'll call new web3.eth.Contract…and I pass the ABI and the address.…So that'll then create it and get it all set it up.…
There's a lot of internal functions and things…that are used internally…and we don't have to worry too much about those.…So now let's go ahead and interact with it.…So I'm gonna go back into this contract form.…This is really the heart of what's happening.…So once I validate it, I can then use my ApprovalContract,…going to the methods…
- 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.