Build an Ethereum Decentralized App (ÐApp) with Solidity and the Truffle Framework
Write a Unit Test Using the Truffle Framework
Autoplay
Up next
Previous
About
You will learn how to create a test for a contract function that accepts an unsigned integer (uint) as an input parameter and returns an unsigned integer (uint). This lesson uses the Truffle Framework assertion library to validate the logic of your contract function.
Instructor
Links
Comments
Lessons in Build an Ethereum Decentralized App (ÐApp) with Solidity and the Truffle Framework
1. Install Truffle & the Caster.IO Starter Box
02:51
2. Create a Basic Solidity Contract

02:00
3. Create State Variables and Functions in Solidity Contracts

00:58
4. Solidity Function Access and Visibility

02:05
5. Create a Payable Solidity Function that can Receive Funds

Pro
01:36
6. Default Getters and Custom Getters

Pro
01:26
7. Create a Solidity function to get the contract balance

Pro
00:40
8. Contracts Summary

Pro
00:33
9. Create the test file and import test libraries

Pro
02:18
10. Write a Unit Test Using the Truffle Framework

Pro
01:24
11. Write a Unit Test to Test an Array of Ethereum Addresses

Pro
02:17
12. Write a Unit Test to Validate the Balance of an Ethereum Contract

Pro
01:27
13. Install Ganache for a local Ethereum development network

Pro
01:32
14. Migrate A Smart Contract to a Local Ethereum Network with Ganache

Pro
04:01
15. Introduction to React for Ethereum ÐApps

Pro
01:34
16. Render Data From a Smart Contract GET Function in React

Pro
09:39
17. Create a Payable Transaction in a React Application

Pro
05:49
18. Install and configure MetaMask

Pro
02:36
19. Understanding Promises and Transactions in Ethereum

Pro
04:02
20. Use React to display the available funds (Ether) held by a smart contract

Pro
02:01
21. Withdraw Funds from a Smart Contract

Pro
03:01

Something went wrong
Lesson added to playlist
Create new playlist
Name can't be empty