Visit LEDU token page

How to Test Smart Contracts with Truffle

How to Test Smart Contracts with Truffle

  • English
  • Cryptocurrency
  • EthereumEthereum
  • (1444)
  • Project length: 2h 00m

During this project we'll have a look at the mechanics of truffle.js, and successfully testing sample contracts. This project specifically focuses on testing contracts.

Overview

What are the requirements?:

This section will cover requirements of programming language, skills viewers should have to understand and follow this tutorial.

  • Have a synced eth blockchain (geth, etc) - rinkeby will be used, you can use mainnet!

  • Familiarity with Javascript

  • Familiarity with Blockchain

  • Familiarity with Ether, Eth tokens and Ethereum, specifically

  • And the most important is: don’t panic!

What is the target audience?:

  • You want to make use of Truffle.js for deploying Eth contracts

  • You want to see how Eth contracts, tokens are configured, deployed

  • You have any interest in the development aspect of crypto

When are the streaming sessions (streaming schedule)?

  • 3:30pm Eastern 9/24/2018
  • 3:30pm 9/25/2018
  • 3:30pm 9/26/2018

Project Outline

Project Overview:

Session 1: Setting-up the Environment

  • What is an Eth contract? What are MEW, MetaMask and other Blockchain interfaces? Synced Eth blockchain (rinkeby in our case) - MetaMask - overview, switching among ‘nets - Truffle.js

Session 2: Sample Contract #1: MultiSig

  • Source a contract, talk about opensource - Look at it’s tests - what is it trying to prove? Perform the tests

Session 3: Sample Contract #2

  • Source a contract, talk about opensource - write tests - Perform the tests

Session 4: Sample Contract #3

  • Source a contract, talk about opensource

  • Look at it’s tests - what is it trying to prove?

  • Perform the tests

Reviews

Average rating

4(1444 Reviews)