Into the Fathom
ETHDubai 2024 · April 2024 · 37:18
Vitalii Koval presents the DeFi ecosystem built on the EVM-compatible XDC Network in a live workshop at ETHDubai 2024. He introduces the FXD stablecoin, an overcollateralised design loosely pegged to the US dollar and comparable to Maker's DAI, a lending protocol, a Uniswap V2 style exchange, vaults and governance by proposal and vote. The demo then deploys contracts, opens and closes a collateralised position with the Solidity SDK, and repeats the process in the web interface, with notes on XDC address prefixes, bridging and audits.
Speakers
Topics
From ETHDubai 2024, hosted by DeFi Dubai.
Transcript
so I will Start with Short introduction What We are doing and basically about us about agenda so basically We are Building Def ecosystem on xdc Network right now We have Stable coin landings DEX governance Taking already deployed and released on Production on xdc Network and We continue Building and releasing New Products so We Just released Landing and like more New stuff is coming UH so like about our principles UH so We Believe in
UH liquidity and our like Main Goal in the nearest Future is bringing rwa assets to the xdc Network so very very soon We to introduce Gold on our Landing protocol and I believe there will be more In this like nearest Future Till The End of the year for sure and Make It like available to to the people and to the Community so Now first ofin It was released last December and We have already
Like In Total in protocol We have like ltv S mes Which is I think is good enough and so We have Stable coin UH which has right now only one Pool It's xdc Pool and It's fxd Stable coin if you are familiar with Maker Die you basically familiar with our fxd I mean It's Pretty similar It's cryptoalized stablein protocol with overcalization Softly packed to US dollars UH also have UH Landing protocol It's our fork so if You're familiar with our You're also familiar with our Landing protocol UH DEX is like UH
unisop V2 UH so basically All this you see this picture was released and available on Production networks so Feel Free to try it UH I Show Today How so a bit in details about like our Stable protocol it's very similar to Maker di I already mentioned [музика] UH first of all It's allized So amount of clatal Locked in protocol Is always greater than amount
of Stable issu and which allow us to keep The Price but like if You're talking about mechanism How to keep Price packed We have Stable Swap which allowselisted wallets to Swap usdt andxd In One To One ratio and it allows like Natural arbitrage process so people can Just ifdcol so you can use xdc It's Native toen xdc networkatal but soon bring more tokens Starting with Gold and some Other like
We have so Well All What is happening protocol Changes They Go through the proposals and voting System to get some Talking you need to have our Like FM First and have it ST mechanism which gives you Power and you can use It To createosal and for proposals Let's go to the some more Technical Demo so first of all our protocol is deployed
on xdc Network and of so Where it starts If you want to use First thing you want to do is go to the some facet so You can see Here like UH facet Network and Here comes some Tricky things so UH If you want to get some Test tokens you need to be sure that you use correct prefixes Because unlike otherm compatible Chains you have some very specific prefixes xdc instead
of UH z0 X It's Not really Impact Work of the protocols itself for like solidity code writing protocolsy scripts you can normal addresses it Works with it as Well but in some Places you should expect like addresses PR Which is fine also I want to mention if You're working with Magnetic DC you want to Connect it with some Other Chains you know Send Money in Out UH There is have it
opened xdc brid I have it Open Here I believe Yeah so There is one reach that allows you like say Send Money to And Out from xdc Network so You can Play Around about xdc Network itself it's very Cheap transaction Cost basically nothing almost for free so you shouldn't worry about it it's very Fast scalable has Huge like UH transaction Speed so it
Works very smoothly UH If you want to find some rpc nodes You just know can use chain list and you will get a list of availablec noes you can use to interact with Yeah You can Check our github We have somec I will Start with integration our Stable protocol so We haveub Yeah We have soliddk which contains all
the interfaces needed to integrate with our Stable protocol fxd and I'll Show You how to use it today so I already prepared some coding remic basically all the interactions with table Goes through Proxy walletated and this Proxy Wallet is own of the the position Let's Take a closer Look UH You can find this code in the repository our github soldk repository Changes and Here You can also
find some Contract addresses for testnet and prod Let's deploy some contracts so Here We
Create deploy this Proxy Wallet owner Contract Sorry some transaction not here
Let's go to Block Scan Check The transaction It's success Contract created as you can see Here We can find some Mix of prixesdc and Z but it Support both Just that needs to keep keep in mind Ok so Here We have our Contract created First thing We need to do It's Create
our Proxy Wallet It's a basically gateway We interact with our protocol so you you can keepip this Part with this Contract I just deployed and do it manually but you Still need to Create Proxy Wallet to interact with the protocol so We can see that It was created Let's try Open some position send 100 xdc It Be ourollateral and at the same time We borrow Let's say
10 fxd transaction Wonder а о That's unusual
[музика] That's We Let me try conct One that behes very strange Here We have prox
Wallet Let's Try to some Money Let's me Try to change your PC oke so It was Just rpc
problem to be fa Happens Sometimes and not in the Best time for sure but Yeah Here We have some transaction successful Let Check It in a Block Scan [музика] so We can see some toen transfers deposited UH 100 xdc which was Red Under The Hood and
got one fxd so We can see logs transfers Let Check further so на our Contract This is Our deplyed Contract
Check It Balance I think Stable coin Contract Ok Transfer
Ok I believe it was transferred to the ownerfer Yeah Yeah so That's what tokens transferred to the owner of the Contract Yeah right so Yeah In this Simple Steps We able to Create a position UH deposit some xdc And borrow One fxd which I would say would was smooth except for the PC error Which is UH not very pleasant but
Ok We have What We have UH so We can Check Out that information about positions Let's Try to Close this basically Ok I believe We need to approve the Contract first trupay
Okey I Sorry на Close The position
Ok trans cont Still not working Any
Idea Okay makes Sense Oh Yeah position So let's Check transaction so Yeah Here We can see that We reped One fxd and got Back our like
100 xdc so Yeah Maybe some isues but we were able to open and clos position UH borrow Money from the protocol Ok Let Me Show You our ui Well to work like so from perspec very Simple Show You on Production Network you can use metamasc Wallet
Connect to interact with our protocol so I already Have Some small position opened for two fixd Let Me Show like you you can UH Top Up position If you see that It can Goes Under The Water Because Of xdc Price Price Drop something You can rep parally so Ok I don't have Let's Do trick so I'll Show You Landing This is Our Landing
Page so you can use much more assets Here foratal like you can use usdt xdc fxd and this tokens so I'll Show You Like from How to interact this from I So let's Say I want to using Okay I basically need wpped xdc at this
Point Ok Let's go to DEX and wrap some say 100 xdc successful So let's go to Landing supply some more approve it
with ature fxding very Simple very understandable process so from Landing perspective You can see your supplies your borrows UH
Health Factor and you can find some Market values about like Total supply supp for the tokens We have in the pool and about your transactions so now I do Have Some FX dependence Let's Try to Close The position from the ui So let's try repay oned First so We can partially rep it so
Yeah Now we can see that only one fxborrowed and We can go repace this position entirely and Close it so Yeah Now we don't have Any position on our FD but Let's Make One Let's put some Let's say 200dc and We can bor Max of 436 but It's too much in Any like ches
We can get our position liquidated by B So let's borrow Let see half You can see All this like Parts working together and provide you UH your favorite way to bor supply tokens and possibilities in creatingquidity using all the
functionality of ecosystem UH I already Show The We also have vols so basically You can deposit your tokens fxd and expect some like UH income from it like can have different strategies so far We have only one FD Strategy months so You can supply your tokens It's kind of like protocol if familiar with it It's Pretty much similar Ok Do you have Any questions so far Let Me Show You some Other Stu
in terms of integration sorry so If you want to integrate with our protocol There is this Solid SDK as I already mentioned it allows Tor with F also We have SD [музика]
forent so can Out ourosit so if famili with our protocol and our Flash ling is fork of and Support the same functionality exact UH so Yeah You can perform Flash lo for all the tokens in supply but right now on environment Flash are disabled for the period of Time while We get some
liquidity so until liquidity is relatively small on our Markets on Landing It's disabled UH but I think we will enable it in months or two as soon as we will get some liquidity I prar LS Let Z so guys you
canode It's grou Telegram shared Link and Prot so It's like set up for our communication а ni should Be
visible Cool can White Paper so White Paper basically contains I believe all the information you want to have regarding our protocol and we will continue adding more UH with all the launches we doing right now UH so like Stable coin details dax UH I believe right now We don't have Landing documentation Here but It Will
Be added soon Because We released our Landing basically this month it's very Brand Fresh New but as mention It's a fork of hour so you can feel Free to use our documentation It's We don't have Any like Breaking Changes except for some probably naming and That's Pretty much it Yeah all the Smart contracts audited mostly working with Company I believe there should Be some Links so You can see like fxd audit
Report for example and some Other reports as well so Yeah all the Smart contracts audited tested we're doing our Best to be sure that upgradable functionality Yes for sure all the like protocols are upgradable Yeah ian definitely Other
but Strategy from the world Side but more New strategies would be introduced in the nearest Future so You will be will have like some list of the available strategies and you can will be able to choose which One is most suit for you thank you UH I think We can End Yeah from [оплески] Here Thank you
