{% youtube %}https://www.youtube.com/watch?v=XIsn8-5Xekc{% endyoutube %}
Learn about beautiful state & state transitions, as well as how we use this design pattern to construct our simple payment processor!
Implementation -- https://github.com/cryptoeconomics-study/code
{% exercise %} Please contribute exercises!
What is the GitHub where you can contribute? (Hint: Check solution 😉)
{% initial %} var githubLink =
{% solution %} var githubLink = 'https://github.com/cryptoeconomics-study/website';
{% validation %} assert(githubLink == 'https://github.com/cryptoeconomics-study/website');
{% endexercise %}