Build a Lending App with Polygon

Поделиться
HTML-код
  • Опубликовано: 6 дек 2021
  • DeFi is getting more and more attention lately. There are 1000s of DeFi apps that are being built by developers all around the world to provide the underserved to access to financial applications like lending, insurance, and earning. In this tutorial video, I'll show you how to build your own simple DeFi lending app that lets a user deposit Eth as collateral, and get stablecoin in return. They can also repay the stablecoin and get their collateral back. This is an ethereum application, but to avoid high gas fees and slow transaction times, we'll use the Polygon blockchain.
    Code for this video:
    github.com/llSourcell/lending...
    Coding challenge (Due Date: 12 December 2021):
    Post your simple DeFi app to Twitter, Instagram, or facebook with the hashtag #BuiltWithPolygon
    Learn more about Polygon:
    docs.polygon.technology/
    Web 3.0 Explained:
    • Web 3.0 Explained
    Ethereum Explained:
    • Ethereum Explained
    Follow me:
    INSTAGRAM:
    / sirajraval
    TWITTER:
    / sirajraval
    FACEBOOK:
    / sirajologyyy
    LINKEDIN:
    / sirajraval
    Please subscribe for more programming videos! That's what keeps me going. Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
    www.wagergpt.co

Комментарии • 52

  • @Philson
    @Philson 2 года назад +99

    LOL. He went from the AI guy to the Blockchain guy.

    • @akrylic_
      @akrylic_ 2 года назад +16

      He actually started as a Blockchain guy first when he first started

    • @thisdot3955
      @thisdot3955 2 года назад +11

      No matter what topic it is. He is just awesome at explaining.

    • @SanjayThakurMnit
      @SanjayThakurMnit 2 года назад +1

      Quite impressive.

    • @cdoreoff98
      @cdoreoff98 2 года назад +8

      He is just a blogger )

    • @andromeda4554
      @andromeda4554 2 года назад

      What's important is his video adds value to someone.

  • @imacuser101
    @imacuser101 2 года назад +10

    Thank you Siraj! Just like old times, missed your videos like this!

  • @marouane9672
    @marouane9672 2 года назад +20

    When AI can't pay anymore.

  • @Kollegah9997
    @Kollegah9997 2 года назад +29

    The Buzzword Channel

  • @TanayBhalani
    @TanayBhalani 2 года назад +1

    Nice video, informative and educational 👍, Thanks Siraj

  • @RodrigoCesarCanada
    @RodrigoCesarCanada 2 года назад

    This is amazing. Thank you so much

  • @tkprotich1617
    @tkprotich1617 2 года назад +1

    Congratulations. Keep up the good work

  • @tomasdale5306
    @tomasdale5306 2 года назад

    speeeschless ..... I am from El Salvador, in Central America, and in Spain one would say about him "Este tio es la leche!!!" this guy is the milk !!!!

  • @_CS_DeepMehta
    @_CS_DeepMehta 2 года назад

    keeeep rocking ser

  • @polysopher
    @polysopher 2 года назад +1

    While I support the idea of crypto and blockchains, moving currencies to FIAT is still a dependency and the volatility is a challenge for lending money in two different metric systems so to speak. So far in my uneducated opinion this type of solutions are like building a new language using the English words and only changing grammar rules.

  • @francescaperfume
    @francescaperfume 2 года назад

    Can you add a little more detail on actually getting this example to work?

  • @Septumsempra8818
    @Septumsempra8818 2 года назад +1

    I thought you'd have built this in India by now. Especially since India is the 2nd biggest cooperative banking nation.
    s/o from South Africa.

  • @Rednas34
    @Rednas34 2 года назад +1

    Hello world, Siraj is back! Great vid, keep it up!

  • @SureshReddy_Hyd
    @SureshReddy_Hyd 2 года назад +1

    Thanks for creating this. One question on the use case - why can't user sell all his tokens and withdraw the money..later if he wants, he can buy again.. collateral like lands etc makes sense due to liquidity constraints.. do we incur less fee by using crypto as collateral instead of selling it and buy back?

    • @doresearchstopwhining
      @doresearchstopwhining 2 года назад

      Because the user's tokens are locked in the contract and so they can't sell them I would assume.

    • @darpitrangari8207
      @darpitrangari8207 2 года назад

      depends on the liquidity pool

  • @AjayYadav-xi9sj
    @AjayYadav-xi9sj 2 года назад

    Make a video on blockchain roadmap ???

  • @robertlemiesz7143
    @robertlemiesz7143 2 года назад +4

    I dont get how you released this in December and its out of date with obiously broken code in the github repo

    • @jbnunn
      @jbnunn 2 года назад

      Because it's Siraj

    • @victorsantos1249
      @victorsantos1249 2 года назад

      The code doesn't work? I was about to try to test it by myself, but if it is wrong... Could you please clarify whath you mean by broken, im not a native english speaker. thank u.

  • @sandrallancherosg
    @sandrallancherosg 2 года назад

    What is the prize?

  • @vaishnavijahagirdar3835
    @vaishnavijahagirdar3835 2 года назад

    Can someone help with how to start AI

  • @tinarivorab8450
    @tinarivorab8450 2 года назад +1

    I really like your content, i would like to have personnal conversation with you. Perhaps, you will drop video of how to create website like OpenSea

  • @austinmitchell2652
    @austinmitchell2652 2 года назад

    Maybe this is a noob question, but how or why would this be desirable? Is it possible to put up collateral that is of less value than the loan, or is this just a currency conversion?

    • @edendqo
      @edendqo 2 года назад +1

      Because you can invest 1000usd, get a loan for $500 at 4% interest rate, and than purchase more crypto with that $500 with ROI of 1000%

    • @austinmitchell2652
      @austinmitchell2652 2 года назад

      @@edendqo so if I'm understanding correctly, you buy $1000 of crypto, then get a loan for $500 to buy an additional $500 of crypto, so you have a total of $1500 in crypto, right? What I don't understand is where we, the borrower, get collateral of equal value to $500 for that loan. And, if we have collateral of equal value to $500, why do we not just buy the extra $500 of crypto instead of getting a loan? It just seems like an extra step that doesn't help us access any extra value, unless I'm still missing some key detail.

    • @edendqo
      @edendqo 2 года назад +1

      @@austinmitchell2652 you don't have same value as you collateral, you have 50% value of your total collateral... But don't do it now, we are in a bear market until march

    • @austinmitchell2652
      @austinmitchell2652 2 года назад

      @@edendqo you are not helping me understand very well. If the loan gives us only half the value of our collateral, then by taking the loan we are halving our spending power to buy more assets, right? If our collateral is worth twice as much as the loan we receive, we should always just use our collateral to outright buy more assets. Please tell me there is something wrong with my understanding here, because that does not make any sense.
      Also please do not assume that I am actively buying and trading cryptocurrency (by referencing the bear market). I am just trying to educate myself and understand the technology better because I am interested in learning.

    • @edendqo
      @edendqo 2 года назад +1

      @@austinmitchell2652 easy, there are two scenarios, for example... 1- you are a greddy guy that is "all in" with his money on crypto, so he will try to squeeze everything he can to put his money on crypto (loans, credit cards, savements...) Also even, using as a collateral his current BTC to get loans in order to buy more (hoping his gains are way more bigger than the interest he is paying).... 2 scenario, you are a guy from a developing country with high rates in banking system (25% car loans, 15% mortgage), so he invest in BTC his savings, but he doesn't want to sell his BTC, so he is using his saving as a collateral to purchase a car or a house with low interest...

  • @jayshooooo
    @jayshooooo 2 года назад +2

    fuck yeah bro!! glad to see you're back creating instructional content! Keep it going with the web3 dapps. Love it

  • @californiaesnuestra
    @californiaesnuestra 2 года назад +6

    I thought you were done. Now scamming in the Bitcoin world. Good luck scammer

  • @francescaperfume
    @francescaperfume 2 года назад +1

    I only get errors when I actually try to run it in either development or kovan

  • @FindMultiBagger
    @FindMultiBagger 2 года назад

    Need blockchain tutorials in python

  • @ravimishra339
    @ravimishra339 2 года назад +1

    Legend is back again. Thank you Siraj for creating this video.

  • @dikduk
    @dikduk 2 года назад +4

    👏🏽👏🏽👏🏽 Bro! You are an inspiration. You bounced back with strong value that we can use right now!

  • @snlagr
    @snlagr 2 года назад +2

    Same old shit

  • @ekomobongedem1228
    @ekomobongedem1228 2 года назад +1

    First to watch, like and comment

  • @phils744
    @phils744 2 года назад

    Hello everyone. IMO This is the wrong way to go. I really think he should stick with being the face of AI, in what ever software language. IMHO