The principal developer of the decentralized derivatives exchange dYdX has publicly released the open-source code for its upcoming version 4.