Skip to content

Instantly share code, notes, and snippets.

@ianhe8x
ianhe8x / statechannel.md
Last active April 13, 2022 07:13
StateChannel challenge

State Channel Sample Project

Background:

• Use any existing demo project from Celer or Connext or create your own • Run locally, start both state channel participants

Demo how it works and answer the following questions

  • What data are submitted on chain?
  • What data are stored locally? Explain the struct of this data.
  • How does dispute work? Explain the dispute resolvement flow in sense of cryptography.
@ianhe8x
ianhe8x / LuckMoney.sol
Created July 16, 2021 01:52
LuckMoney Eth challenge
pragma solidity >=0.7.0 <0.9.0;
/**
* 1. Finish LuckyMoneyCreator and LuckyMoney contract
* 2. Design necessary events and use them
* 3. Add necessary modifier(s) to predefined functions
*
*/