Try   HackMD

Design pattern of plapp

Conditional Payment Pattern

User can get money in certain condition.

Atomicity Pattern

The state transition won't happen when counter stateUpdate isn't included.

  • Multihop transfer predicate
  • Payment channel network
  • Swap predicate
    • swap inside plasma
    • swap main chain ans plasma
    • swap between differrent plasma and plasma

Extra history Pattern

Recipient should verify extra history.

  • Offline swap
  • Lending plapp

Nested Pattern

  • Checkpoint predicate
  • Fee predicate
  • Payment Channel predicate
  • Plasma inside Plasma

Timeout Pattern

Application

  • 2 player game
  • Lending plapp

commit and reveal

TBD