How to clone any smart contract

Sdílet
Vložit
  • čas přidán 6. 09. 2024
  • Today I will show you the process if you want to clone an existing smart contract. Please be aware that deploying other people's code is a risk. However, I will show you how you can read smart contracts and mitigate that risk a bit. Hope you enjoy the video.
    Twitter: / hashlipsnft
    Website: hashlips.io/
    HashLips/HashLips Lab provides educational content and open-source code for informational purposes only, without any express or implied warranties on accuracy or completeness. Our materials are not intended as financial or professional advice and should not replace professional judgment or expertise. The use of our content and code is at your sole discretion and risk.
    Please note, that our resources are not financial advice. Decisions made based on our content are the user's responsibility, and HashLips/HashLips Lab assumes no liability for any direct or indirect losses, including but not limited to data loss or profit loss, that may result from utilizing our educational materials or open-source code.
    #react #generativeart #generative #art #node #javascript #coding #smartcontract #programming #matic #polygon #network #maticnetwork #polygonnetwork #nft​​ #nfts​​ #nftinvestor​​ #hashlips​​ #code​​ #safelips​​ #hashlip #game #solidity

Komentáře • 116

  • @kryptala5764
    @kryptala5764 Před 2 lety +3

    Such a great tool to learn solidity ERC721. I got a better understanding of importing contracts from github and the process of going through a contract. Learning quick. Thanks.

  • @Skorm.
    @Skorm. Před 2 lety +17

    I have watched every video you put out. Any possibility on making a video on how to make a minting Dapp?

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +24

      Yes I can show how to build it from scratch.

    • @Skorm.
      @Skorm. Před 2 lety +1

      @@HashLipsAcademy Lets gooooooooooooooooooo!!!!!!!!

    • @Genius-Wave
      @Genius-Wave Před 2 lety +1

      Yes please do

    • @LUCASMI46
      @LUCASMI46 Před 2 lety

      It will be amazing ❤️❤️❤️

  • @m.abekkouch2885
    @m.abekkouch2885 Před 2 lety +5

    Haha i was guessing what will be your next video and i am 😲😲😲😲. Thank you for your amazing work

  • @Zero-nh4ke
    @Zero-nh4ke Před 2 lety +4

    1st 😂😂😂 now needs video on solana 😜😎🙏

  • @kk-gu1zv
    @kk-gu1zv Před 2 lety +5

    Thanks a lot for your videos man! Truly highly appreciated that you take the time to explain & teach everything regarding smart contracts

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +2

      Only my pleasure. I appreciate your nice feedback. Welcome to the family

  • @Shiloh-q9x
    @Shiloh-q9x Před 9 dny

    Thanks for the forecast! I need some advice: I have USDT in my SafePal wallet along with the seed phrase. (air carpet target dish off jeans toilet sweet piano spoil fruit essay). How should I go about transferring them to Binance?

  • @robertmazurowski5974
    @robertmazurowski5974 Před rokem

    Regarding Randomly Assigned, where it generates the "random" number. In theory miners can manipulate these values. There is no secure way of doing random unless you use chainlink.

  • @andrecastro7817
    @andrecastro7817 Před 2 lety +1

    would be nice to see how to edit a flattened contract though! i dont know how to change name and total supply

  • @GhostinTube
    @GhostinTube Před 2 lety +1

    lol ive been trying to change the quality of the video from 360p. took me a while to realize that i am very early.
    haha nice productive evening im having

    • @davidsandonato8580
      @davidsandonato8580 Před 2 lety

      The quality is too low I cannot see anything clear from my iPad Pro screen

  • @m.abekkouch2885
    @m.abekkouch2885 Před 2 lety +1

    Amzing knowledge better then most of courses out there, when the video on bulding Sandbox clone? lol

  • @ciliann
    @ciliann Před 2 lety +1

    Thank you. I always wanted to know how to copy & edit from what's been published (maybe they have a new feature etc.). Stay Great! 💗🎨

  • @kixxthemanz437
    @kixxthemanz437 Před 2 lety

    Your my fav NFT explainer, I’m almost ready to put mine out thanks dude... you should make a video on how to create your own NFT generator and minting app that auto mints it on OpenSea that you do everything from the app itself that be awesome

  • @user-qn5lg6yy4k
    @user-qn5lg6yy4k Před 6 měsíci

    Hi! Thank you for this , can you please a tutorial how to verify this one? Thank you!

  • @aijinvillasin6498
    @aijinvillasin6498 Před 2 lety +5

    please combine the random minter feature to your contract

    • @awaixtahir
      @awaixtahir Před 2 lety +2

      I tried it, but RandomlyAssigned and ERC721Enumerable overlap some functions so it always fail. would love to see how to resolve this

  • @thionne
    @thionne Před 2 lety

    Your the man! Thanks for sharing 👍 i see your loving your new job! Congrats 👏

  • @mindgame1468
    @mindgame1468 Před 2 lety

    Hi Daniel 👋. Your teaching way is best in the 🌎

  • @369Dealer
    @369Dealer Před rokem

    Thank you very much for the great explanation! Please keep them coming Blockchain cool stuff ✌😁

  • @Silvertestrun
    @Silvertestrun Před rokem +1

    Thank you

  • @jordankit1648
    @jordankit1648 Před 2 lety

    Hashlips, you’re an amazing human being.

  • @ashu15531
    @ashu15531 Před rokem

    Very helpful things you are teaching man...

  • @devbugado
    @devbugado Před 2 lety +1

    Crazy channel!! Just good stuff here. Discord is 🔥🔥🔥🔥

  • @yer6900
    @yer6900 Před 2 lety

    Shoutout to you for this video, super helpful especially as nfts continue to grow.

  • @jakemm3975
    @jakemm3975 Před 2 lety +2

    Great work Daniel! Thank you again.

  • @astilen5647
    @astilen5647 Před 2 lety +2

    Thanks you for this more advanced stuff, I learned so much today :D

  • @martinlutherking6219
    @martinlutherking6219 Před rokem

    Thanks a lot man , I’ve a contract I cloned but haven’t been able to reset the receiver wallet. How do I modify the clone version to have my own wallet ?

  • @awaixtahir
    @awaixtahir Před 2 lety +6

    Hi Daniel, Ive been trying to implement this random function into the simple nft contract you provided but it fails because of some overlapping functions.. would love to see how to fix them as i think this would be very important function to have in the space. Loved your work thou.. Thanks alot for all your efforts.

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +2

      If you are not apart of our HashLips Family on Discord yet, feel free to join. We help out with problems and also have fun discussions: discord.gg/Fqs75kME9G

    • @awaixtahir
      @awaixtahir Před 2 lety +2

      @@HashLipsAcademy Thanks for replying back.. I am on all hashlips socials.. most of us are still learning i guess.. quite a few of us on discord are looking for a solution to this but none have found the right way to do it.. thats why i asked here. Thank thou :)

  • @limitlessariel674
    @limitlessariel674 Před 2 lety +2

    amazing vid man

  • @JosephDungee
    @JosephDungee Před 2 lety

    I Learned A LOT!! Thank you for the Great Tutorial!

  • @gsdealer7691
    @gsdealer7691 Před 2 lety

    this is pure gold .....

  • @RootsterAnon
    @RootsterAnon Před 2 lety

    This video was superb and informative, subbed and liked 👏 👌 👍

  • @Orion3000k
    @Orion3000k Před 2 lety

    Thanks. Easy to understand and follow.

  • @Genius-Wave
    @Genius-Wave Před 2 lety

    Very excellent 46 minutes🍾

  • @TINTUHD
    @TINTUHD Před 2 lety +1

    I love you Hashlips

  • @Younes07770
    @Younes07770 Před 2 lety +3

    Amazing! Thank you for the knowledge. Do you think you will be covering provenance like how bored ape has it for example, in the future? Would love to see how to implement that :D tysm

  • @nasho8349
    @nasho8349 Před 2 lety +1

    Does anyone know some projects that have really good contracts? Preferably with a whitelist function and low gas.

  • @simonharbutt5493
    @simonharbutt5493 Před 2 lety

    Any chance you could create a video on creating a Whitelist AND Presale Smart Contract.

  • @OURTIFACTS
    @OURTIFACTS Před rokem

    NICE WORK LP

  • @narangarig6434
    @narangarig6434 Před 2 lety +1

    Thanks for the amazing tutorials

  • @nahgeee
    @nahgeee Před 2 lety

    That cannot "mint from custom contract" i think would have saved the Adidas nft launch from a guy who minted a 330 using the contract. --- "a user made a custom smart contract and deployed it a few hours before the minting. When executed, the contract generated 165 sub smart contracts, each minting two NFTs and transferring them to the owner's main ethereum (ETH) address. "Since each sub smart contract has a unique address, the creator was able to avoid the 2 item limit imposed by the sale. After sending the NFTs to the creator's main address, the child smart contract would self destruct,"

  • @TheRohanGaming
    @TheRohanGaming Před 2 lety +5

    Only 360p

  • @dogcare5376
    @dogcare5376 Před 2 lety

    Thank you, I was expecting the real clone, by the way!

  • @DanDr15
    @DanDr15 Před rokem

    In the case of you import code from github, if they will modify something, automatically will be modified your contract too right ? It can be dangerous

  • @4kmotion743
    @4kmotion743 Před 2 lety

    hello sir. please create a video on kleytn smart contract

  • @cybertrade7908
    @cybertrade7908 Před rokem

    Too 'Solana' heavy for me! I need more Ethereum / EVM-compatible material.

  • @luvmaloo
    @luvmaloo Před 2 lety

    I went through the video but can someone tell me how do I deploy & change the network from ETH to some other eg. Oasis/Polygon etc. ?

  • @tejasbhavsar1129
    @tejasbhavsar1129 Před 2 lety +1

    Hello.. A big thankyou for all your videos.. U have inspired me to start coding.. I had a quick question.. When people mint 10k NFTs.. Where does the ETH collected from the sale.. Is the wallet adress mentioned in the smart contract.. I'm really confused.. Please if you can clear my doubt.

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety

      It goes to the contract to you will withdraw it from there

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +1

      If you are not apart of our HashLips Family on Discord yet, feel free to join. We help out with problems and also have fun discussions: discord.gg/Fqs75kME9G

    • @tejasbhavsar1129
      @tejasbhavsar1129 Před 2 lety

      Thnx.. For some strange reason I am unable to join discord through the invite link.. But I'll join in

  • @DiegoRaulGalmarini
    @DiegoRaulGalmarini Před 2 lety +1

    Excelent thanks

  • @dustinkostialik2812
    @dustinkostialik2812 Před rokem

    hey, could you do a video on cloning a bot contract?

  • @All_I_Want_Is_You_Now
    @All_I_Want_Is_You_Now Před 2 lety

    big fan love ❤

  • @rizwanritz2018
    @rizwanritz2018 Před 2 lety +1

    Waiting for the ERC1155 contract creation with ipfs metadata

  • @echoboyart4740
    @echoboyart4740 Před 2 lety

    how its help us the smart contract? if i want to do now a new collection if i clone a big collection smart contract it will help me? and how if you can explain :) and thank you very much daniel for your's amazing videos

  • @gaetanocasella6568
    @gaetanocasella6568 Před 2 lety

    Amazing as always. Is it possible to insert presale date open and closing and public sale date ? Thank you master

  • @MrAtomUniverse
    @MrAtomUniverse Před 2 lety

    Do you have an example , clone using hardhat?

  • @ayanaiim923
    @ayanaiim923 Před 2 lety

    Hello Hashlip, can you please read the hapebeast contract in a video like this. how did they categorize the smart contract so every category of people can have a minting limit (for example those that are in the whitelist have only one mint, 2nd category has the possibility to mint 2 or 3 and others have the possibility to mint 10 )

  • @obzorovik
    @obzorovik Před 2 lety

    I did not understand. We embed one url per ipfs. How will we mint different pictures if we have one picture?

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety

      If you are not apart of our HashLips Family on Discord yet, feel free to join. We help out with problems and also have fun discussions: discord.gg/Fqs75kME9G

  • @AntonioMBrown
    @AntonioMBrown Před 2 lety

    THANK YOU!!!!!

  • @theoverallsite
    @theoverallsite Před 2 lety

    Hello, Thanks for the video. I am not able to verify contract. Plus if I want to increase the initial minting to 1000 it gives gas fees error. How can I get help on this?

  • @ShawnWolves
    @ShawnWolves Před 2 lety

    Doesn't it needs an ABI CODE for verification? Please help me out if your not busy I am having sooo much problems

  • @colab5884
    @colab5884 Před rokem

    what a cheecky little way to download somebodies NFT without minting

  • @user-qj9fo9jn7o
    @user-qj9fo9jn7o Před 2 lety

    Greetings! Can anyone explain me how to change the fee (that I get as a creator when someone mint NFT) in the contract?

  • @ME-rk5pj
    @ME-rk5pj Před 2 lety

    @hashlips, does this work for dapps on bsc that arent nfts?

  • @mertcfm4883
    @mertcfm4883 Před 2 lety

    Hello, I created a nice contract by combining this contract with your pre-sale contract. However, I have a question. I couldn't get it to work what tokenids this wallet address has. Can you help me?

  • @mercuryrhodes
    @mercuryrhodes Před 2 lety

    Can this work the same for polygon blockchain?

  • @Genius-Wave
    @Genius-Wave Před 2 lety

    Good vibes

  • @emisizzy4109
    @emisizzy4109 Před 2 lety

    Please when I want to deploy on official should I use Java Script VM [London] please I need your help sir

  • @dhararughani
    @dhararughani Před 2 lety

    Is it possible to clone a flattened contract ?

  • @gilbertohernandez3724
    @gilbertohernandez3724 Před 2 lety

    How much do you charge to create a smart contract?

  • @hvmilton1358
    @hvmilton1358 Před 2 lety

    For some reason, after watching this video, something just clicked for me.

  • @caglistonft5488
    @caglistonft5488 Před 2 lety

    Hi, I know nothing about coding, I just want to have an NFT that can give access to content on a website,, how can I do that? where do I start?

  • @farrisnasarudin7386
    @farrisnasarudin7386 Před 2 lety

    Sir do you know how to unlock locked contract?

  • @ethiccash
    @ethiccash Před 2 lety

    Is that redundant if we initially randomly generate the NFTs? Or is this just in case someone check the URI and try to find out the next items?

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety

      You can do it on the fly but then you will need to implement chain link to its safe

  • @goodluckdeal3220
    @goodluckdeal3220 Před 2 lety

    How to mine NFT smart contracts?

  • @buildsmartcontractsinminut2483

    i see y

  • @vishnu76241
    @vishnu76241 Před 2 lety

    Is it possible to earn money from this, without paying gas fees ?

  • @nftcreator3091
    @nftcreator3091 Před 2 lety

    can i deploy this to mainnet

  • @thekaibenz
    @thekaibenz Před 2 lety +2

    Man can you make me a erc-721 smart contract. I’ll pay you up 😭😂

    • @HashLipsAcademy
      @HashLipsAcademy  Před 2 lety +1

      If you are not apart of our HashLips Family on Discord yet, feel free to join. We help out with problems and also have fun discussions: discord.gg/Fqs75kME9G

    • @7leafdispensary153
      @7leafdispensary153 Před 2 lety

      Can’t join your discord. It banned

  • @thembamahlaba3679
    @thembamahlaba3679 Před 2 lety

    Hearing the Saffa accent🌚

  • @muntedme203
    @muntedme203 Před rokem

    How woild you protect your code?

    • @Lexichats_my_Teleqram_id
      @Lexichats_my_Teleqram_id Před rokem

      👆̵s̵e̵n̵d̵ ̵a̵ ̵d̵i̵r̵e̵c̵t̵ ̵m̵e̵s̵s̵a̵g̵e̵ ̵f̵o̵r̵ ̵s̵u̵p̵p̵o̵r̵t̵ ̵a̵n̵d̵ ̵g̵u̵i̵d̵a̵n̵c̵e̵ .̵.

  • @nowfarhan
    @nowfarhan Před 2 lety +1

    Solana please

  • @yesilmum.
    @yesilmum. Před rokem

    soo meanlees time wasting just show simply how to copy and chage line ?

  • @nftcreator3091
    @nftcreator3091 Před 2 lety

    i just wash your video

  • @donmikkodanm.olmillo8154

    Hello, I'm enjoying you're channel thank you so much, codeSTACKr brought me here, do you have a playlist of starting web3 and blockchain from zero knowledge to making smart contracts? thank you

  • @mememaker5954
    @mememaker5954 Před rokem

    thank you