A key separator between a junior Web3 developer/security researcher and a senior one is often deep understanding of DeFi concepts and archetypes. Perpetuals are one such DeFi archetype of which a deep understanding will serve you well.
Throughout our 4 weeks you will embark on 4 missions with your partner, each will deepen your understanding and mastery of decentralized perpetual futures.
With the first mission, you and your partner will research and understand what a perpetual futures protocol is, what it achieves, and how it works. And then, you’ll build one.
The concept of perpetual futures is introduced in the sections below.
The first mission focuses on implementing roughly 50% of the basic functionality of a decentralized perpetuals protocol.
Do not fret! Perpetual protocols do not have to be by any means as large as the 10,000+ SLOC GMX V2 codebase, in fact, if you find yourself with more than a couple hundred lines for this first mission you may be headed in the wrong direction.