How to clone any smart contract

Поделиться
HTML-код
  • Опубликовано: 1 окт 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

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

  • @Skorm.
    @Skorm. 3 года назад +17

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

    • @HashLipsAcademy
      @HashLipsAcademy  3 года назад +24

      Yes I can show how to build it from scratch.

    • @Skorm.
      @Skorm. 3 года назад +1

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

    • @Genius-Wave
      @Genius-Wave 3 года назад +1

      Yes please do

    • @LUCASMI46
      @LUCASMI46 3 года назад

      It will be amazing ❤️❤️❤️

  • @aijinvillasin6498
    @aijinvillasin6498 3 года назад +5

    please combine the random minter feature to your contract

    • @awaixtahir
      @awaixtahir 3 года назад +2

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

  • @m.abekkouch2885
    @m.abekkouch2885 3 года назад +5

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

  • @TheRohanGaming
    @TheRohanGaming 3 года назад +5

    Only 360p

  • @Zero-nh4ke
    @Zero-nh4ke 3 года назад +4

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

  • @kryptala5764
    @kryptala5764 2 года назад +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.

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

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

  • @sbolasevich
    @sbolasevich 20 дней назад

    Except
    For Algorand apparently you’re not supposed to “clone”
    Contracts. So stupid

  • @DanDr15
    @DanDr15 Год назад

    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

  • @cybertrade7908
    @cybertrade7908 Год назад

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

  • @martinlutherking6219
    @martinlutherking6219 Год назад

    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 ?

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

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

  • @BryantSmith-z1i
    @BryantSmith-z1i 7 месяцев назад

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

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

    what a cheecky little way to download somebodies NFT without minting

  • @m.abekkouch2885
    @m.abekkouch2885 3 года назад +1

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

  • @Younes07770
    @Younes07770 3 года назад +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

  • @donmikkodanm.olmillo8154
    @donmikkodanm.olmillo8154 2 года назад

    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

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

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

  • @kk-gu1zv
    @kk-gu1zv 3 года назад +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  3 года назад +2

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

  • @GhostinTube
    @GhostinTube 3 года назад +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 3 года назад

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

  • @yesilmum.
    @yesilmum. Год назад

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

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

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

  • @Silvertestrun
    @Silvertestrun Год назад +1

    Thank you

  • @ciliann
    @ciliann 3 года назад +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! 💗🎨

  • @thekaibenz
    @thekaibenz 3 года назад +2

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

    • @HashLipsAcademy
      @HashLipsAcademy  3 года назад +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 2 года назад

      Can’t join your discord. It banned

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

    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,"

  • @mertcfm4883
    @mertcfm4883 3 года назад

    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?

  • @awaixtahir
    @awaixtahir 3 года назад +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  3 года назад +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 3 года назад +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 :)

  • @369Dealer
    @369Dealer Год назад

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

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

    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

  • @robertmazurowski5974
    @robertmazurowski5974 Год назад

    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.

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

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

  • @rizwanritz2018
    @rizwanritz2018 3 года назад +1

    Waiting for the ERC1155 contract creation with ipfs metadata

  • @devbugado
    @devbugado 3 года назад +1

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

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

    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. ?

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

    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?

  • @echoboyart4740
    @echoboyart4740 3 года назад

    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

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

    Can this work the same for polygon blockchain?

  • @tejasbhavsar1129
    @tejasbhavsar1129 3 года назад +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  3 года назад

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

    • @HashLipsAcademy
      @HashLipsAcademy  3 года назад +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 3 года назад

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

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

    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?

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

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

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

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

  • @astilen5647
    @astilen5647 3 года назад +2

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

    • @HashLipsAcademy
      @HashLipsAcademy  3 года назад +1

      Only a pleasure

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

      @@HashLipsAcademy HOW DO I MINT MORE THAN ONE __:?????

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

    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 )

  • @limitlessariel674
    @limitlessariel674 3 года назад +2

    amazing vid man

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

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

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

    Do you have an example , clone using hardhat?

  • @4kmotion743
    @4kmotion743 2 года назад

    hello sir. please create a video on kleytn smart contract

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

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

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

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

  • @locobulgaro
    @locobulgaro 3 года назад

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

  • @dogcare5376
    @dogcare5376 3 года назад

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

  • @ashu15531
    @ashu15531 Год назад

    Very helpful things you are teaching man...

  • @buildsmartcontractsinminut2483
    @buildsmartcontractsinminut2483 2 месяца назад

    i see y

  • @ME-rk5pj
    @ME-rk5pj 2 года назад

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

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

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

  • @jakemm3975
    @jakemm3975 3 года назад +2

    Great work Daniel! Thank you again.

  • @mindgame1468
    @mindgame1468 3 года назад

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

  • @TINTUHD
    @TINTUHD 3 года назад +1

    I love you Hashlips

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

    Thanks. Easy to understand and follow.

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

    Hashlips, you’re an amazing human being.

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

    Is it possible to clone a flattened contract ?

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

    How much do you charge to create a smart contract?

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

    Sir do you know how to unlock locked contract?

  • @obzorovik
    @obzorovik 3 года назад

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

    • @HashLipsAcademy
      @HashLipsAcademy  3 года назад

      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

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

    How to mine NFT smart contracts?

  • @ethiccash
    @ethiccash 3 года назад

    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  3 года назад

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

  • @narangarig6434
    @narangarig6434 3 года назад +1

    Thanks for the amazing tutorials

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

    can i deploy this to mainnet

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

    Hearing the Saffa accent🌚

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

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

  • @Genius-Wave
    @Genius-Wave 3 года назад

    Very excellent 46 minutes🍾

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

    i just wash your video

  • @nowfarhan
    @nowfarhan 3 года назад +1

    Solana please

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

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

  • @DiegoRaulGalmarini
    @DiegoRaulGalmarini 3 года назад +1

    Excelent thanks

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

    big fan love ❤

  • @OURTIFACTS
    @OURTIFACTS Год назад

    NICE WORK LP

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

    this is pure gold .....

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

    thank you

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

    THANK YOU!!!!!

  • @Genius-Wave
    @Genius-Wave 3 года назад

    Good vibes

  • @muntedme203
    @muntedme203 Год назад

    How woild you protect your code?

    • @Lexichats_my_Teleqram_id
      @Lexichats_my_Teleqram_id Год назад

      👆̵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̵ .̵.