Home Lab Setup SEED Labs Books Lectures Workshops
SEED Logo

Smart Contract Lab

Overview

A smart contract is a program that runs on a blockchain. Its code, which is immutable and stored at a particular address of the blockchain, gets executed automatically when a predetermined condition is met. Its data (state) is also stored on the blockchain. The objective of this lab is to help students understand how this type of program works and how to write simple smart contract code. Students will conduct experiments on the SEED blockchain emulator using the provided smart contract code. This lab is currently in the beta testing phase; feedbacks are welcome.

Tasks (PDF)

  • VM version: This lab has been tested on our SEED Ubuntu-20.04 VM
  • Lab setup files: DO NOT unzip the file in a shared folder, as that would cause problems. Copy the zip file to another folder inside the VM, and then use the unzip command to unpack.
  • Manual:: Docker manual

Time (Suggested)

  • Supervised (closely-guided lab session): 2 hours
  • Unsupervised (take-home project): 1 week

Additional Materials

Open Source

The SEED Labs project is open source. If you are interested in contributing to this project, please check out our Github page: https://github.com/seed-labs/seed-labs.