馃攳
PERPETUAL PROTOCOL - Next Level In Decentralized Trading? (Layer 2, Uniswap V3) - YouTube
Channel: Finematics
[0]
so what is perpetual protocol all about
[2]
what are some of the improvements that
[3]
come with the recently launched version
[5]
2 of the protocol how does it make use
[7]
of uni swap v3 and what are perpetual
[9]
features in the first place you'll find
[11]
answers to these questions in this video
[14]
before we begin if you want to learn
[15]
more about decentralized finance and the
[17]
technology behind it make sure you
[19]
subscribe to my channel hit the bell
[21]
icon and enable all notifications
[23]
perpetual protocol is a d5 project with
[25]
the main goal of creating the best most
[27]
accessible and most secure decentralized
[30]
exchange for perpetual futures perpetual
[32]
protocol was founded in 2019 by a small
[35]
team of startup founders and software
[37]
engineers initially called strike the
[39]
project pivoted to perpetual futures and
[42]
changed its name in the summer of 2020.
[44]
the first version of the protocol was
[46]
launched on the xdi network in december
[48]
2020 version 2 of the protocol named
[51]
curie after the famous scientist and
[53]
nobel prize winner mary curie launched
[55]
on optimism on the 31st of november 2021
[59]
the design of perpetual protocol that
[61]
we're going to explain later is
[62]
extremely interesting as it leverages
[64]
the defined money legos ethos to both
[67]
built upon other already existing defy
[69]
projects as well as provide building
[71]
blocks for other protocols in the future
[73]
perpetual protocol is one of the
[75]
projects that focus on derivatives in d5
[77]
if you need a recap on what derivatives
[79]
are and an overview of other interesting
[82]
protocols in this space i highly
[84]
recommend watching my other video first
[86]
before we dive deeper into the design of
[88]
perpetual let's fully understand the
[90]
main derivative product that the
[92]
protocol offers to trade perpetual
[94]
futures perpetual futures are one of the
[97]
most popular trading products in the
[99]
cryptocurrency space initially offered
[101]
by well-known centralized platforms such
[103]
as bitmex binance or bybet they are now
[106]
also making their way into design
[108]
similarly to other derivatives perpetual
[110]
futures allow for gaining exposure to a
[113]
price of a particular financial
[115]
instrument without holding the
[116]
underlying asset this can be useful for
[119]
multiple purposes including price
[121]
speculation hedging or arbitrage in
[124]
contrast to standard future contracts
[126]
perpetual futures don't expire they
[128]
don't have the settlement date hence
[130]
they can be held and traded for an
[132]
indefinite amount of time not having the
[135]
settlement date can be quite beneficial
[136]
for traders as they don't have to deal
[138]
with multiple contracts with different
[140]
settlement dates in standard futures the
[142]
settlement date is quite important as it
[145]
allows the price of future contracts to
[147]
converge with the actual price of their
[149]
underlying asset as the settlement date
[152]
approaches to make sure the price of
[154]
perpetual contracts doesn't diverge too
[156]
much from the price of their underlying
[158]
assets perpetual contracts use a funding
[160]
rate
[161]
the funding rate is paid periodically
[163]
and provides incentives to one side of
[165]
the market either market participant
[168]
with open long positions longs or open
[171]
short positions shorts
[173]
in general when the price of the
[174]
perpetual contract is trading above the
[177]
price of its underlying assets the
[179]
funding rate becomes positive and long
[181]
stay short the opposite holds when the
[184]
price of the perpetual contract is below
[186]
the spot price in this case shards pay
[189]
longs this allows the price of the
[191]
perpetual contract for a specific asset
[193]
to converge with the price of its
[195]
underlying
[196]
on top of the funding rate price
[198]
speculators and arbi treasurers also
[200]
help with making sure the prices between
[202]
different derivatives or spot exchanges
[204]
don't diverge too much perpetual futures
[207]
also provide an easy way for shorting a
[209]
particular asset where market
[210]
participants can benefit from the price
[212]
of that asset decreasing over time they
[215]
also facilitate easy access to leverage
[218]
which allows for controlling a bigger
[220]
position than it would have been
[221]
otherwise possible using the same amount
[223]
of capital this can be useful in certain
[226]
scenarios but it can also be quite
[228]
dangerous as undercollateralized
[230]
positions can be liquidated when the
[232]
market moves against the trader's
[234]
position
[235]
in general the relatives markets help
[237]
with the price discovery of different
[238]
assets as they provide a place where all
[241]
market participants can meet and easily
[243]
trade usually in big sizes
[246]
for certain financial instruments
[248]
derivatives markets can even become
[250]
their primary markets for price
[252]
discovery i hope this gives a good basic
[254]
overview of what perpetual contracts are
[257]
time to dive into a protocol that
[259]
provides easy access to these financial
[261]
products perpetual protocol perpetual
[264]
protocol allows for trading different
[265]
perpetual contracts of the most popular
[267]
cryptocurrencies like bitcoin or
[269]
ethereum with multiple other coins that
[271]
will be added to the protocol in the
[272]
future in contrast to centralized
[275]
exchanges offering similar products
[276]
perpetual protocol doesn't hold custody
[279]
over users funds so users are always in
[281]
full control of their assets on top of
[284]
this it allows its users to trade in a
[286]
permissionless and fully transparent
[288]
manner at the moment perpetual makes use
[290]
of the usdc stablecoin as its primary
[293]
collateral this can be expanded into
[295]
other types of collateral in the future
[297]
having usdc used across the platform
[300]
also means that all trades are settled
[302]
in usdc this means that if a user
[304]
speculates on the price of ether and
[306]
let's say doubles their money they'll
[308]
end up with more usdc in their account
[310]
after closing their position the v1 of
[313]
the protocol was initially deployed on
[315]
ethereum layer 1 but after experiencing
[317]
problems with slow execution and high
[319]
transaction fees the protocol was
[321]
released on xdi at the end of 2021
[324]
v2 iterated on the initial design and
[326]
introduced a new model for managing
[328]
positions and executing trades that
[330]
makes use of uni swap v3 and its
[333]
concentrated liquidity and by the way if
[335]
you need a recap on how unisop v3 works
[338]
you can check my other video here
[340]
at the center of perpetual protocol
[342]
design lies the clearinghouse smart
[344]
contract clearinghouse is responsible
[347]
for minting and burning virtual tokens
[349]
called v tokens that are held by the
[351]
contract on behalf of the user when the
[354]
user deposits usdc to the exchange the
[356]
clearinghouse contract means v tokens
[358]
using the max available leverage this
[361]
doesn't mean the user has to use the
[362]
maximum leverage when opening a position
[364]
and it only gives the user the
[366]
opportunity to do so by issuing the
[368]
maximum number of tokens that the user
[370]
may or may not use
[372]
as an example if the user decides to
[374]
deposit 1000 usdc the protocol would
[377]
issue 10 000 v tokens in this case vusdc
[381]
to create a particular position the user
[383]
can select the product they want to
[385]
trade and use v tokens to enter the
[387]
position for example if the user wants
[389]
to go long on btc they can instruct the
[392]
clearinghouse to trade your vusdc tokens
[395]
for vbtc in this case the protocol would
[398]
use a unisop v3 vusd vbtc pool as
[403]
mentioned earlier depending on the
[404]
leverage ratio that the user selects
[406]
they can be using either some or all of
[408]
their vusdc tokens
[410]
whenever the user decides to close their
[412]
btc position they can trade the dbtc
[415]
tokens back to vusd securing their
[418]
profit or loss depending on what
[420]
happened to the bitcoin price since they
[422]
opened the position on top of being used
[424]
by traders the clearinghouse contract is
[426]
used by makers in perpetual makers are
[429]
market participants that provide
[430]
liquidity to the perpetual futures
[432]
exchange by doing so makers make money
[435]
by accruing trading fees whenever
[437]
someone trades against the pool where
[439]
they provide liquidity makers can also
[441]
use leverage when providing liquidity
[443]
due to the unisopv3 design providing
[446]
liquidity is a bit more tricky than on
[448]
other amms in particular makers have to
[450]
decide in which price range they want to
[452]
provide liquidity they also only accrue
[455]
fees from trades that go through the
[457]
range where their liquidity is present
[460]
makers similarly to traders can use usdc
[462]
to interact with the perpetual futures
[464]
exchange when makers decide to provide
[467]
liquidity in certain assets they deposit
[469]
usdc to the clearinghouse contract that
[472]
in turn means v tokens and automatically
[474]
adds liquidity to the selected unisopv3
[477]
pool as an example if a maker decides to
[480]
provide liquidity in the btc usdc market
[483]
their usdc is used to mean a correct
[485]
ratio of vusd and vbdc that are in turn
[489]
added to the vusd vbtc unisop v3 pool as
[493]
makers are exposed to the price of the
[495]
underlying tokens in a liquidity pool
[498]
they can be impacted by impermanent loss
[500]
hence they have to be careful with the
[502]
ranges they provide liquidity in and in
[504]
general they should have sustainable
[506]
strategies for providing liquidity to
[508]
make providing liquidity on unison v3
[510]
easier perpetual works with protocols
[512]
such as popsicle finance visor and
[515]
others what is interesting is that
[517]
perpetual protocol builds on top of
[518]
unisob v3 leveraging the previously
[521]
mentioned manual legos ethos in a
[523]
completely permissionless way when it
[526]
comes to the margin model perpetual
[527]
protocol uses cross margin which means
[530]
that the user's funds are kept in one
[532]
pool and all of their positions use this
[534]
pool as collateral this makes managing
[536]
collateral easier since the user doesn't
[538]
need to add or remove margin for each
[541]
position but has to be used with caution
[543]
as in this mode one position can affect
[545]
other positions if the user has several
[548]
highly leveraged positions one position
[550]
that goes against the user can cause
[552]
others to be at risk and face possible
[555]
liquidations
[556]
the users also have a way of using
[558]
isolated margin mode by creating
[560]
separate wallets for each of their
[561]
positions
[563]
the v2 of the protocol has just recently
[565]
launched an optimism an optimistic
[567]
roll-up ethereum layer 2 scaling
[569]
solution launching on rollups allows
[571]
perpetual protocol to scale and achieve
[573]
both low transaction fees and high
[575]
transaction throughput this is extremely
[577]
important for running a successful
[578]
perpetual futures exchange the benefits
[581]
of roll apps should be more and more
[582]
obvious with time as the existing
[584]
solutions mature and become cheaper and
[586]
cheaper v1 will remain on x die v2 can
[590]
also launch on xday if unisop v3 also
[593]
launches there perpetual is also
[595]
planning on launching on our beatrim in
[597]
the near future if you'd like to learn
[599]
more about drawlaps you can watch my
[600]
video about this topic here
[603]
rolaps and other l2 solutions will
[605]
benefit a lot of defy protocols
[607]
including perpetual
[609]
v2 of perpetual is not only limited to
[611]
the initial launch in fact during the
[613]
full v2 rollout the protocol is planning
[616]
on bringing additional features some of
[618]
them include limit and stop orders
[620]
staking multi-collateral liquidity
[623]
mining and even permissionless market
[626]
creation when it comes to the latter
[628]
anyone will be able to create a
[629]
perpetual market for any assets as long
[632]
as there is a price feed for them via
[634]
either unisob v3 tu-up or channeling
[637]
oracles both of them supported in v2
[640]
also in the future updates the protocol
[642]
will no longer be limited to crypto and
[644]
it will expand to markets such as forex
[647]
commodities and stocks
[649]
perpetual protocol is clearly one of the
[651]
most interesting protocols focusing on
[653]
derivatives in dthi it looks like the
[655]
team learned a few important lessons
[657]
from the first version of the protocol
[659]
and came up with a new improved design
[661]
that should make the perpetual futures
[663]
exchange more sustainable and more
[665]
appealing to both the traders and
[667]
liquidity providers perpetual protocol
[670]
is a great example of a project that
[672]
massively benefits from launching on
[674]
ethereum layer 2 solution such as
[676]
optimism or arbitrary it shows that
[678]
there will be a set of protocols that
[680]
are better off launching directly on
[682]
layer 2 without even deploying on layer
[684]
1. it would be amazing to see other
[686]
protocols following this approach and
[688]
trying new designs that couldn't
[690]
previously work due to the limitations
[692]
of layer 1 ethereum
[694]
it will also be interesting to see
[696]
perpetual protocol gaining traction and
[698]
convincing more and more people to use
[700]
trading products outside of the
[702]
well-known centralized exchanges
[704]
if you'd like to check out perpetual
[706]
protocol you can find my link in the
[707]
description box below and always
[710]
remember to make sure you fully
[711]
understand how a trading product you are
[713]
interacting with works before using it
[715]
and remember to always trade with fans
[718]
that you're willing to lose so what do
[720]
you think about perpetual protocol what
[722]
are some of your favorite d5 protocols
[724]
in derivatives category comment down
[726]
below and as always if you enjoyed this
[728]
video smash the like button subscribe to
[731]
my channel and check out cinematics on
[732]
patreon to join our community thanks for
[735]
watching
Most Recent Videos:
You can go back to the homepage right here: Homepage





