start new:
tmux
start new with session name:
tmux new -s myname
pragma solidity ^0.4.22; | |
// ECE 398 SC - Smart Contracts and Blockchain Security | |
// http://soc1024.ece.illinois.edu/teaching/ece398sc/spring2018/ | |
// Simpest possible duplex-micropayment channel | |
// - Funded with an up front amount at initialization | |
// - The contract creator is called "alice". The other party, "bob", is passed | |
// as an argument to the Constructor | |
// - There is no fixed deadline, but instead any party can initiate a dispute, | |
// which lasts for a fixed time |