How to Connect your Smart Contracts to Metamask | Full Stack Web3

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

ความคิดเห็น • 190

  • @hadisaleh3051
    @hadisaleh3051 2 ปีที่แล้ว +29

    Man this stuff is amazing
    I am really amazed by this guy's way of teaching, certainly the best example for how development educational content should be
    Thanks a ton!

  • @touqeershah2776
    @touqeershah2776 2 ปีที่แล้ว +5

    I learn so many things from your video every day and I found you are one of the best developers of blockchain right now
    Happy to see more video from you

  • @melvinshibidi8110
    @melvinshibidi8110 2 ปีที่แล้ว +6

    Your teaching is very clear and straight to the point, i love this video thanks

  • @danishhraza
    @danishhraza 10 หลายเดือนก่อน +1

    I am not even halfway through and i had to pause just to compliment your teaching style! Love how i am able to understand everything

    • @PatrickAlphaC
      @PatrickAlphaC  10 หลายเดือนก่อน

      Thank so much!! Glad it’s been helpful!

  • @AISTanmaypatil
    @AISTanmaypatil 2 ปีที่แล้ว +7

    Another 16 hrs tutorial 🤩🤩 let me guess I think next tutorial will focus on javascript, hardhat and ethers.js.
    Thank you Patrick sir because of you i can able to make some good web3 projects.🙏
    Thanks again for giving this tutorials for free.

  • @dayhun7722
    @dayhun7722 ปีที่แล้ว +1

    thanks from China, your video is gonna change my life!!

  • @kalpeshmali1476
    @kalpeshmali1476 2 ปีที่แล้ว +11

    Thank You sir for providing Knowledge 🔥❤️

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️💯

    • @sachindeveloperko8424
      @sachindeveloperko8424 2 ปีที่แล้ว

      Thank you for making this video tutorial love you bro

  • @priyankgupta
    @priyankgupta 2 ปีที่แล้ว +3

    Hey Patrick, I am eagerly waiting for your JS tutorial in web3. Gonna be lit!!!!

  • @apereiracv
    @apereiracv ปีที่แล้ว +2

    You're doing God's work with these tutorials, love them! Thank you for all the great content!

  • @scottlieber7985
    @scottlieber7985 ปีที่แล้ว

    Those fast-forward sound effects brought me back to my childhood haha. Thanks for the great (free!) content Patrick. You're awesome.

  • @dhaneshgujrathi4681
    @dhaneshgujrathi4681 ปีที่แล้ว

    You are awesome Patrick ! Have been going through your Foundry based course & came here for the Front end lesson. I must say I feel more confident about Front-end development after going through this video.

  • @hv6411
    @hv6411 ปีที่แล้ว +1

    Thank you Patrick for making us smarter 🤩

  • @AryanRaj-zt6cq
    @AryanRaj-zt6cq ปีที่แล้ว +1

    The way you make things easier to understand is amazing Patrick. Thanks Man🔥Loving your tutorials❤

  • @jingli9232
    @jingli9232 2 ปีที่แล้ว +2

    love from China, great thanks

    • @galibkiyaadein4627
      @galibkiyaadein4627 2 ปีที่แล้ว

      How 😮...Is youtube not banned in china? 😅

    • @jingli9232
      @jingli9232 2 ปีที่แล้ว

      @@galibkiyaadein4627 haha, I guess over 100 million people in China know how to ignore the ban and search for anything we want

  • @WonderWorksAI
    @WonderWorksAI 2 ปีที่แล้ว

    Thank you. Thank you. Thank you. You gave simple answer, and clear explanation. Save us from researching and testing

  • @deepwebtv
    @deepwebtv 2 ปีที่แล้ว +2

    is there a way to do all this without nextjs or react?
    can someone build a frontend in JUST html & js or is this impossible?
    thanks.

    • @deepwebtv
      @deepwebtv 2 ปีที่แล้ว +1

      by only using web3.js?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      @@deepwebtv I show you how to do that at the start of the video!

    • @deepwebtv
      @deepwebtv 2 ปีที่แล้ว

      @@PatrickAlphaC Thank you. I'm just stuck on something. I will retry again. Sorry for the dumb question.

  • @hrishikeshdeoghare4359
    @hrishikeshdeoghare4359 ปีที่แล้ว +1

    WWoowww Loved it!!! Thank you Patrick!

  • @josepaulocorreia7248
    @josepaulocorreia7248 2 ปีที่แล้ว +1

    men we need your js 11h tutorial ! amazing content.

  • @adamhamaimou255
    @adamhamaimou255 2 ปีที่แล้ว +1

    Really needed this. Thank you !

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️

  • @anthonynolanjannotta4688
    @anthonynolanjannotta4688 2 ปีที่แล้ว +4

    wow this is perfect timing 👌

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️💯

  • @ArunkumarMceb
    @ArunkumarMceb 2 ปีที่แล้ว +1

    Your free contents are changing our lives patrick!,But yeah i will still ask for another 16 hour video when you reach 1M subs :D

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      Woah! You have a lot of confidence in me to hit 1M subs!
      Glad the content is helpful

  • @selcuk8060
    @selcuk8060 2 ปีที่แล้ว +1

    I made my first actual dApp using your metamask connection codebase, thanks!

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      Yes yes yes!!! Congrats!!!

  • @mansoob
    @mansoob 2 ปีที่แล้ว +1

    Great tutorial, I was looking for one like this.

  • @betzabesp94
    @betzabesp94 2 ปีที่แล้ว +3

    You are awesome Patrick! Thanks a lot for what you're doing!

    • @betzabesp94
      @betzabesp94 2 ปีที่แล้ว

      It would be great to know what's your favorite way to connect?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      @@betzabesp94 typically you can follow me on Twitter @patrickalphac or on LinkedIn!

    • @betzabesp94
      @betzabesp94 2 ปีที่แล้ว +1

      @@PatrickAlphaC I mean, What metamask connector do you prefer? hahaha (if any). -But I'm already following you on twitter-

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      @@betzabesp94 oh…. Ahahahahha. My bad.
      I like moralis hooks or web3-modal myself

  • @johnm384
    @johnm384 2 ปีที่แล้ว +1

    Thanks Patrick! Great tutorial. Very helpful!

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️

  • @great-olamedia8253
    @great-olamedia8253 ปีที่แล้ว +1

    I really wanna be like Great Patrick Collins in teaching. Please do add Great to his name😀

  • @thisisnotfinancialadvice3803
    @thisisnotfinancialadvice3803 2 ปีที่แล้ว +1

    PATRICK THE GOAT!!!!!!

  • @manfrombritain6816
    @manfrombritain6816 ปีที่แล้ว +1

    coding tutorials: you come from part way through a 32 hour tutorial where good ol Patrick says "if you haven't seen this, go watch this". then inside THAT 1 hour video you get sent to another video xD
    oh Patrick. have mercy!

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      Oh just you wait till you get into web3 as a dev

  • @RahulinWeb3
    @RahulinWeb3 2 ปีที่แล้ว +1

    At 35:48 line 9 that is setIsConnected instead of setIsConnect.

  • @kaizen-n5o
    @kaizen-n5o ปีที่แล้ว +1

    great video dude

  • @ricotaline
    @ricotaline 2 ปีที่แล้ว +3

    Whenever you use the terminal to do some stuff (yarn add ethers, etc), I'm completly lost and it doesn't work
    But the video is still nice :)

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Feel free to make issues or watch my debugging video to learn how to get past the errors!

  • @ToastyAlpha
    @ToastyAlpha 2 ปีที่แล้ว +1

    When trying to use the terminal and yarn to add ethers it says “command not found”. What am I doing wrong?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      You probably haven’t installed yarn and/or nodejs. Be sure to check my GitHub repo

  • @SadFace229
    @SadFace229 2 ปีที่แล้ว +3

    Ah yes, the final piece to the puzzle before I can finally complete my project and start applying for jobs. Patrick, I owe you a drink.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +2

      Just remember me when you make your millions ;)

    • @SadFace229
      @SadFace229 2 ปีที่แล้ว +1

      @@PatrickAlphaC Rest assured, a Lannister always pays his debts.

    • @lightyear3429
      @lightyear3429 8 หลายเดือนก่อน

      How has it been? Got a job?

    • @SadFace229
      @SadFace229 8 หลายเดือนก่อน

      Had opportunities, got cold feet and shot myself in the foot. Even in front of the man himself last year @@lightyear3429. Now I am aware of what imposter syndrome is. Still grinding. Thanks for asking.

  • @kwreck0022
    @kwreck0022 2 ปีที่แล้ว +1

    Awesome vid. Thx!!

  • @CSMcVay
    @CSMcVay 2 ปีที่แล้ว

    Patrick! You da maaaan!
    Thanks for yet another awesome vid 🚀

  • @Justobolsa
    @Justobolsa 2 ปีที่แล้ว +2

    Any preference between moralis / modal / web3-react?
    Awesome video Patrick!

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      I think I'm starting to like moralis more and more, but whatever you like works. They are starting to create more and more hooks and even UI components.

  • @oraclelong8290
    @oraclelong8290 2 ปีที่แล้ว +1

    Amazing video!! can you teach how to build a Dapp website how to lock a token for a period of time aka Timelock.

  • @danielesuppo8083
    @danielesuppo8083 2 ปีที่แล้ว +2

    Amazing tutorial! just a question: you mentioned that without wrapping app.js with "Web3ReactProvider" we should re-connect in every page, but in my idea it's not totally true, we should just send back a prop with the state of the connection... Not so polished for sure, but feasible, isn't it? Or maybe I'm missing something?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      You could do that! But context providers make it a little easier.

  • @GoodDaySa
    @GoodDaySa ปีที่แล้ว +1

    hi Patrick! im stuck currently on yarn hardhat node, my pc doesnt seem to like the yarn command, is there a npm command that will do the same thing?

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว +1

      you could use "npm install" to install and then "npx hardhat node"

  • @deltavthrust
    @deltavthrust ปีที่แล้ว +1

    Very nice. Thank you.

  • @christopher.cialone.python
    @christopher.cialone.python 2 ปีที่แล้ว +1

    all hail.....{the little aliens from MIB } Patrick Patrick

  • @justintrudeou6099
    @justintrudeou6099 2 ปีที่แล้ว +3

    listen .5 speed he sounds drunk and makes the tutorial even more fun

  • @SantiagoSeverino
    @SantiagoSeverino 2 ปีที่แล้ว +1

    Patrick you the best outthere

  • @galibkiyaadein4627
    @galibkiyaadein4627 2 ปีที่แล้ว +1

    Sir please reply why we can't move ahead with html file ? Is it necessary to use library like react or framework like next js ??... confused 😕.....one more confusion you used ether.js and I know web3.js should I go towards web3 or ether ?

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      You can use pure html, but a lot of projects want more tooling and so a framework gives easier flexibility to do "more"

  • @thenextbullrun2015
    @thenextbullrun2015 2 ปีที่แล้ว +1

    Hi do you have a video on how to mine BTC and ETH with python code from A-Z

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️

  • @markeljan
    @markeljan 2 ปีที่แล้ว

    If you are getting error in hardhat you need to add this to the solidity contract and restart hardhat node :
    receive() external payable {}
    fallback() external payable {}
    weird metamask bug that it defaults to sometimes.

  • @BenjaminLecomte
    @BenjaminLecomte ปีที่แล้ว +1

    Thank you Patrick for this course!!!
    I am wondering what is the difference between using browserify for ethers+"raw" javascript and the method you use for the fund-me-app in your 32hr solidity-js tutorial?
    Which one is more conventionnal? Thanks again

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว +1

      Browserify is my "hack" for making front end code more "node.js-like". A lot of front end people got mad at me for that, so I made it more front-end-like for the 32 hour course.
      In any case, you'll likely be using a framework like react for production code tho!

    • @BenjaminLecomte
      @BenjaminLecomte ปีที่แล้ว +1

      @@PatrickAlphaC Thank you! Everything is great so far, I love it

  • @Castisto
    @Castisto หลายเดือนก่อน

    In 21:43 you got the "abi" of the contract by looking into a hardhat project, If I want to get the "abi" of a foundry project is it "correct" if i look inside the out folder(the folder that foundry outputs the compiled code) and search for a .json file where it contains the "abi"? I dont know if this is the correct method and I dont know if you will see this but just curious if I am doing it right, because in foundry, the broadcast folder (which is the deployment folder in foundry) doesnt seem to contain any "abi" looking code (it just has info about the transactions).

    • @PatrickAlphaC
      @PatrickAlphaC  หลายเดือนก่อน +1

      @@Castisto this is correct!

  • @avtrem
    @avtrem 11 หลายเดือนก่อน

    Nice content.

  • @ToastyAlpha
    @ToastyAlpha 2 ปีที่แล้ว

    Sorry for so many comments but I am getting an error for “Command hardhat not found”. Do you know what could be the problem?

  • @naufaldbei4234
    @naufaldbei4234 2 ปีที่แล้ว +1

    damn, u sure are a blessing sir, thanks!

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️

  • @slipperyRat-e4q
    @slipperyRat-e4q 2 ปีที่แล้ว +1

    could you do a video on the + and minuses in your opinion of each option? I am a good react programmer, spend most of my time in html/js/css professionally and looking for the easiest route.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      I think nextjs + moralis hooks are the easiest - they have a great button you can press that auto connects you. I’ve got some more vids coming out soon.
      Then, hosting on IPFS is dope

    • @slipperyRat-e4q
      @slipperyRat-e4q 2 ปีที่แล้ว

      @@PatrickAlphaC i built a dapp for nfts but i now have a lottery type dapp in the work and am working thru the full course of yours. But if i can do it without react then it would i think be easier.. I also need to better understand smart contract security. Seems like easy mistakes will get it hacked. Thx for the reply.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      @@slipperyRat-e4q you can use raw html / cas, but I feel there are just so many good react tools right now.
      I’m working on more security content!

    • @slipperyRat-e4q
      @slipperyRat-e4q 2 ปีที่แล้ว +1

      @@PatrickAlphaC thank you for all the content.

  • @ramg4
    @ramg4 2 ปีที่แล้ว

    How do i connect the dapp in my domain ? And how i connect metamask in a mainnet? Thanks I'm learning a lot 🤓

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      You’d need to host your site to something like vercel, moralis, or fleek, or do it yourself with IPFS (or if your a hardo - your own server).
      Look into vercel, that’ll be the right direction. To connect to mainnet, just change your metamask to mainnet

  • @StudioAvante
    @StudioAvante 2 ปีที่แล้ว +1

    Nice! Wish I had this tutorial one year ago! What's your advice for someone stuck with Drizzle, which has been quietly discontinued? My dapps are working fine, but I have a constant feel that I should migrate out of it asap.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      I got something for you coming out soon ;)

    • @StudioAvante
      @StudioAvante 2 ปีที่แล้ว

      @@PatrickAlphaC that's great, but if it's going to take a while, can't I just have the Name of the Thing I need?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      @@StudioAvante you could look at ethereum-boilerplate by the moralis team or scaffold-ETH from Austin Griffith

  • @andrewpan3047
    @andrewpan3047 2 ปีที่แล้ว +1

    I am speechless, an amazing video as always. Do you have an idea how can I build a staking dapp for erc721, using one the providers, I would like to show the metadata picture, and a drag and drop

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +2

      Glad its helpful! And I do...but that might be a larger convo ahah.
      I'm releasing a massive tutorial in the coming months that will show you how to do everything. Stay tuned!

    • @andrewpan3047
      @andrewpan3047 2 ปีที่แล้ว

      @@PatrickAlphaC hello frogs!! :)

  • @mayanksharma4965
    @mayanksharma4965 2 ปีที่แล้ว

    Can I deploy my nft marketplace contract when deploying the hardhat-simple-storage contract because i dont know how to deploy that contract in visual studio code.

  • @newborn7850
    @newborn7850 2 ปีที่แล้ว +1

    Sir pls teach us lottery DApp with frontend

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️

  • @justintrudeou6099
    @justintrudeou6099 2 ปีที่แล้ว

    how do i run a second function im trying to copy another button and adding another function but it keeps running the first one only on both buttons?

  • @cholakovit
    @cholakovit ปีที่แล้ว

    Hi, would you help me pls,
    I run in the command prompt: yarn hardhad node
    in your folder: hardhat-simple-storage-fcc
    as i was following your video tutorial, i got fake accounts and everything, but i didn't got SimpleStorage deployed at ... and the string. That is important and i can't move forward...

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      Could you follow this guide?
      betterprogramming.pub/top-6-tips-to-solve-any-software-engineering-error-a794a162fcaf?sk=6a64ac6b056e6bc158ebe9eea72ea523

  • @Justobolsa
    @Justobolsa 2 ปีที่แล้ว

    Patrick, I am trying to make the wallet still connected when refreshing. Because when you refresh it disconnects. Any help?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      I have a video coming out on this soonish!

  • @artmusic6937
    @artmusic6937 2 ปีที่แล้ว +4

    ahhahaha @0:12 hahahah haha

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️💯

  • @danielsilva9502
    @danielsilva9502 2 ปีที่แล้ว

    For some reason I can't connect. I get the button, everything is correct in my code and I can't connect on the raw html/js
    even when I download the code from your repository it doesn't work. I'm on chrome, dunno if it makes a difference

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Can you make an issue on the repo? Thanks

  • @haritmohansaxena732
    @haritmohansaxena732 2 ปีที่แล้ว

    Hi @Patrick Collins is there a way to use window.ethereum functionality from a mobile browser since u cant install metamask ext on phone ?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Good question… I’d have to double check. Could you ask this on stack exchange ETH or check the metamask docs.

  • @mrfabio4904
    @mrfabio4904 2 ปีที่แล้ว

    Hi Patrick,
    First of all thank you for your great tutorials. I was wondering if you can help me with a gas optimization question. Is there a way to contact you?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      Usually it’s best to ask in public my friend! I get too many DMs

  • @abirdutta326
    @abirdutta326 2 ปีที่แล้ว

    i have metamask installed in my browser but when i try to window.ethereum it shows undefined????can anyone help me

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Check out my how to debug anything video!

  • @jackpaperhands
    @jackpaperhands 2 ปีที่แล้ว +1

    Legend!

  • @Jazz__Dev
    @Jazz__Dev ปีที่แล้ว

    Hi Patrick, how are you able to acquire this much test ETH please?

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว +1

      This was a long time ago, I can’t anymore

  • @hemangahuja9029
    @hemangahuja9029 2 ปีที่แล้ว +2

    🐐

    • @hitmeupontelegramamtvcg2033
      @hitmeupontelegramamtvcg2033 2 ปีที่แล้ว

      Thanks for watching send me a direct massage for something profitable 👆📩❤️💯

  • @sweekiatwong8995
    @sweekiatwong8995 ปีที่แล้ว

    hey man i basically followed everything to a T, but i hit an error Error: contract runner does not support sending transactions (operation="sendTransaction", code=UNSUPPORTED_OPERATION, version=6.7.0) any idea how to get around it? love all the videos!

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      hmm... could you make an issue on the repo?

  • @David-rz4vc
    @David-rz4vc 2 ปีที่แล้ว

    What about brownie? Can we build react/next with it?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      You can!!!
      So you'd use brownie to make your smart contracts, and then just use nextjs/react on top of it. I have an example here. github.com/PatrickAlphaC/defi-stake-yield-brownie

  • @thisisnotfinancialadvice3803
    @thisisnotfinancialadvice3803 2 ปีที่แล้ว

    Hey Patrick with the web3 react provider, do files in the pages/api folder have access to the same context

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      They should… I’d have to dig back out my examples to verify

    • @thisisnotfinancialadvice3803
      @thisisnotfinancialadvice3803 2 ปีที่แล้ว

      @@PatrickAlphaC usual I execute from the components but for this project I’m basically trying to access the window.ethereum from the pages/api/execute.js file which executed most of my smart contract functions.

    • @thisisnotfinancialadvice3803
      @thisisnotfinancialadvice3803 2 ปีที่แล้ว

      @@PatrickAlphaC but I’m not sure if that will work since the window object is not exposed outside web browser and next components

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      @@thisisnotfinancialadvice3803 yep! we look at a work around to fix that

  • @araratmatinyan774
    @araratmatinyan774 2 ปีที่แล้ว

    How to get metmask demo account with some ethereums for development?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Go to the chainlink faucet for link and ETH faucets.chain.link/

  • @rjdverse
    @rjdverse 2 ปีที่แล้ว +1

    Is there a way to connect to wallets using Python? 🥺

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      Omg I love this comment.
      Front ends basically run in javascript though... Im sorry. You can do some python stuff... but you'll have a really hard time if you do that

    • @rjdverse
      @rjdverse 2 ปีที่แล้ว

      @@PatrickAlphaC What did I not do to see if I can get it working with Python, all options lead to an impasse. Thank you though 🙌🏾

  • @Myox_
    @Myox_ 2 ปีที่แล้ว

    Hey very good tutorial ! But i have a bug . When the user don't have a provider like metamask, i got a blank page with the error : Error: missing provider (argument="provider", value=undefined, code=INVALID_ARGUMENT. It is possile to make a condition somewhere to prevent this error ?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Could you ask this on stack exchange ETH? Thanks!
      Watch my how to debug video for context

  • @cryptoalpo3strong605
    @cryptoalpo3strong605 ปีที่แล้ว

    hi man how are you.this is a nice video.is it a way you can modify the script to delete or remove any contact calls you give permission to your wallet/

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      what do you mean?

    • @cryptoalpo3strong605
      @cryptoalpo3strong605 ปีที่แล้ว

      @@PatrickAlphaC thanks for replying , but iihave already resolved my issue.my wallet was hacked and I was wondering if through python you can revoke a smart contract call by code

  • @Preshdev
    @Preshdev 2 ปีที่แล้ว

    awesome

  • @clintonsolomon8443
    @clintonsolomon8443 2 ปีที่แล้ว +1

    🏋🏋‍♂💪👊. Thank you

  • @andrewtate8490
    @andrewtate8490 2 ปีที่แล้ว +1

    my drilla

  • @maniacosscrypto9347
    @maniacosscrypto9347 2 ปีที่แล้ว

    how do i set the amount to execute?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      You'd want to do a form and pull the form into your executive function.

    • @maniacosscrypto9347
      @maniacosscrypto9347 2 ปีที่แล้ว

      @@PatrickAlphaC thanks bro!

  • @AyushSharma-ul9lc
    @AyushSharma-ul9lc 2 ปีที่แล้ว

    Very good explanation. Keep it up. I just send you linkdin connection req hope u accept it

  • @eupasswood1402
    @eupasswood1402 2 ปีที่แล้ว

    Patrick! Please tell me how can you have 9999.9 ETH in your Metamask?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      I’m running a local fake hardhat chain!

    • @eupasswood1402
      @eupasswood1402 2 ปีที่แล้ว

      @@PatrickAlphaC Understand Patrick! Can you put here an Link to it?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      @@eupasswood1402 It’s in the description!

  • @mv-experiments
    @mv-experiments 2 ปีที่แล้ว

    27:02 Please stop using require in the frontend. Use import instead and get rid of browserify.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      Thanks for this! Some of the module stuff can be a bit confusing… I’m always looking for the least friction way to do this. If I use imports, users will run into issues with understanding modules.
      What do you think?

    • @mv-experiments
      @mv-experiments 2 ปีที่แล้ว

      @@PatrickAlphaC I think, that it is strange to use a browser incompatible api, than 'fixing' it with something horrible like browserify. I don't see any way why it is a good idea to do so.
      import is the browser api to load modules. There are no reasons not to use it.
      I know you don't like Javascript (impossible to miss). But maybe you'd hate it a little less when you'd be using today's Javascript and not that from many years ago.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      @@mv-experiments for the front end, I hate it less 😉
      But thanks for the feedback! I'll see if it's easier for others to understand going right from node -> front end if import or require makes more sense to them.

    • @mv-experiments
      @mv-experiments 2 ปีที่แล้ว

      @@PatrickAlphaC It's technically wrong to use require, or any other nodejs specific API, for the browser. Plain and simple. You do people a huge disservice to tell them to use it. Especially when they learn how much browserify prevents a modern, productive development experience.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      @@mv-experiments hmmm. Thanks for the thorough feedback. Appreciate it!

  • @bhagyalakshmi1053
    @bhagyalakshmi1053 ปีที่แล้ว

    Mackr dog,cat,bocin

  • @woojin7009
    @woojin7009 2 ปีที่แล้ว +1

    hi Partrick! can you teach me about ethers.js?

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว +1

      Yes! FreeCodeCamp video coming soon…

    • @woojin7009
      @woojin7009 2 ปีที่แล้ว +1

      @@PatrickAlphaC Thank you so much Patrick I made a portfolio after watching your videos. And I got to work for a blockchain company as an apprentice developer for two months.

    • @PatrickAlphaC
      @PatrickAlphaC  2 ปีที่แล้ว

      @@woojin7009 OMG!!
      Are you on Twitter?? I’d love to share you story.

    • @woojin7009
      @woojin7009 2 ปีที่แล้ว +1

      @@PatrickAlphaC @simujin11
      I have to upload images to ipfs using a hard hat and write JavaScript test codes, but I am struggling because I am not familiar with the JavaScript language.

  • @mengyuanwang5196
    @mengyuanwang5196 ปีที่แล้ว

    Hi, when I run 'yarn browserify index.js --standalone bundle -o ./dist/bundle.js' after I installed browserify, there is an error ' Command failed with exit code 1'. I cannot transplie index.js into browserified next,js. Do you have some suggestions? Thank you.

    • @PatrickAlphaC
      @PatrickAlphaC  ปีที่แล้ว

      hmm... I have a version of this in "raw" html/js instead of nodejs stuff. Perhaps try that? It should be in the github