Using Flashbots to Mint NFTs on Ethereum - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

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

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

    Sorry for the extremely long time until Part 2. ArtBotter.io is going through a rebrand/upgrade and isn't available right now. When the new one is launched, I will make part 2!

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

    everybody is waiting for part 2 :). Very high quality content!

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

    great vid, thanks dude. this approach worked perfectly.
    tip: add exit(0) and exit(1) conditions according to your `balanceOf` vs the `totalSupply` on any standard 721 contract. That way you can exit when you've minted enough etc.

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

    Very interesting! Great tutorial. Looking forward for part 2 as well

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

    Cool content Scott! Excited for Part 2!

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

    Thanks! Hope to see more content from you soon!

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

    Awesome video, looking forward to part 2. The bit about creating your own gas oracle for spikes will probably save me some costly trial and error. Thanks!

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

    Thanks. Will be great you made a full block chain course. People will drool for your teaching style. 👍

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

    Great content, thanks Scott. Is a part 2 still planned?

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

    Thanks for the tutorial! FlashBots has its advantages for stuff like arbitrages. But for anyone willing to do a hyped public mint with it I want to save you time - the reality is that it's just too slow. I spent quite some time to discover that myself and also to confirm it by other people. Maybe in future if there are more FB miners that will improve.

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

      Have you managed to test it on live NFT project on mainnet? Or even on your on project on Goerli network? My transactions simply get reverted

  • @GabrielRibeiro-xr3bx
    @GabrielRibeiro-xr3bx 3 ปีที่แล้ว +3

    Thank you for your content Scott. Keep up the good work.

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

    Really cool stuff. Great explanation as well. I gotta check out flashbots

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

    lets all hope part 2 is in the pipeline

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

    Scott, will you create a 2nd part?

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

    Great tutorial! Looking forward to part 2 !!!

  • @BB-ko3fh
    @BB-ko3fh 2 ปีที่แล้ว

    just a quick question, if you have to wait for a couple of blocks to pass until the miner gets its turn to mine 18:30 wouldn't you miss the NFT drop altogether?

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

    Excited for part 2. I told my friend about it for an nft drop. He got it but i didn't lol

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

    This is awesome. But normally a mint contract will check if the current block.timestamp>=start_time. So the question is can flashbots get to this first block?

  • @Game.Seller
    @Game.Seller 2 ปีที่แล้ว

    part 2 please you are doing great job appreciate that

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

    If I have 0 eth in the metamask wallet for test network would transaction still show up on etherscan??

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

    Could you please do one in Python language for the python-user audience? Would really appreciate it.

  • @nuovibusiness
    @nuovibusiness 3 ปีที่แล้ว +45

    Awesome tutorial I was looking forward to something like this! When is part 2 coming out?

    • @blottolotto7648
      @blottolotto7648 3 ปีที่แล้ว +8

      yup. more please!!!

    • @project-asgard
      @project-asgard 3 ปีที่แล้ว +3

      definitely looking forward to part 2, this is super awesome!

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

      I’m looking forward to part 2 as well. Thank you for this education!

    • @AdamS-jg8rz
      @AdamS-jg8rz 2 ปีที่แล้ว

      I am also waiting... Thanks!💪

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

      Part 2 comes out when star citizen is released

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

    great content. I am looking forward to your new update.

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

    this was awesome scott, thx for the alpha :)

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

    Hi,
    Could I use this to get into presales of NFT games???

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

    Thanks a lot for the informative video! Enjoyed watching it :)

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

    What happens if for example you set the gas too low on a high traffic NFT mint and it failed? If I'm understanding correctly, that would be discarded and have zero cost to the sender?

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

      if you set gas too low and it fails you will not get the NFT and you will still have to pay the gas fee you sent, the gas would be eaten up

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

    are there flashbots to mint on solana?

  • @swoodc
    @swoodc 3 ปีที่แล้ว

    you are amazing thankyou for this! also when you get the hex data and set your max gas , are you setting it per mint cost or per amount of nfts you want to buy from the hex data you copied

  • @rori41234
    @rori41234 3 ปีที่แล้ว

    More videos like that pleeeeeeeeeeease! There is not a lot of info around this anywhere.

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

    Hello! I've started learning coding to eventually build NFT bots and flashbots. What language do you think I should learn first? Is python any good before I try solidity? Should I change to js? Should I do solidity immediately? Thank you :)

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

    When is part 2 coming out Scott

  • @christopherparello5217
    @christopherparello5217 3 ปีที่แล้ว

    Scott so I have a question. When we are on the test net it tries to put the transaction on multiple blocks and I understand that because not all nodes accept the bundle this will happen more on the test net. The question is when switched to main net do we have to make the bot exit after it gets added to a block? Could this ever lead to processing more than one transaction if we do not exit? I am just not clear on when the bot should exit because it was successful.

  • @christopherparello5217
    @christopherparello5217 3 ปีที่แล้ว

    Scott if your bundle gets into multiple blocks can it be processed multiple times and deducted from your wallet?

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

    Hey Scott. What's the difference between submitting an NFT mint as a flashbot transaction rather than normally? Could you please provide pros/cons?

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

      lol watch the vid

    • @isaact.477
      @isaact.477 2 ปีที่แล้ว

      flashbots routes your transaction directly to miners instead so that they don't sit in the memory pool all transactions go to (makes it easy for bots to detect your transaction and front run it if it is a profitable one)

  • @chima274
    @chima274 3 ปีที่แล้ว

    very good video, super helpful, thank you very much senpai

  • @MuhammadAli-mw3mz
    @MuhammadAli-mw3mz 2 ปีที่แล้ว

    hello, I was wondering which compiler is this?

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

    Hi there, a security question: can you please explain the recent issue on Opensea, an Item is displayed at a price of 0.07eth on the collection but if you click "buy now" button without verifying the price you will pay is much higher like 0.75eth, these two prices are item price not due to any gas fees. a lot of people are using this to scam and make money. I'm available if you need any examples related to this exploit

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

    after the minting is done are the tokens sent to our metamask wallet automatically?

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

    I am getting this. Can somebody helpt? The method eth_sendBundle does not exist/is not available

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

    Im trying to do somethignvery similar but in sepolia testnet, i managed to do normal txs wirh etherjs but when try to do with flashbot i get errors, searching the web for help i see alot of ppl with same problems, so ihope it may be a sepolia internal error, i will try using goerli but i read its already deprecated, any tip so i can continue learning to use flashbots txs?

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

    any resources you can recommend so I can make the endpoint work with AVAX? i dont think flashbots supports it?

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

    Man I love your videos!! Awesome!

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

    Can it be used in arbitrum chain

  • @jsdontmiss
    @jsdontmiss 3 ปีที่แล้ว

    I have 0 coding knowledge. Can i use this flashbot to be the first one to mint hyped nft collections

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

    I'm having a hard time getting goerli ETH.. all the faucets seem to be dry as hell

  • @26PRO26
    @26PRO26 2 ปีที่แล้ว

    Please do a part 2!! :D

  • @trinto2786
    @trinto2786 3 ปีที่แล้ว +9

    Hi! Great tutorial!
    Few questions:
    1. Will your transaction via flashbots get ahead of normal transaction because the transaction won't be in the mempool? So, will you be first to every nft sale if your bot is running at the exact time the sale starts?
    2. What happens when you run the bot on an nft mint contract that hasn't started yet? Can you just leave the bot and it will automatically mint as soon as minting starts?
    3. Do you have to set a high gas fee (as most of nft sales end up in gas war) or is this not necessary because we use flashbots?
    Thanks in advance! :)

    • @isaiahdean-coleman3876
      @isaiahdean-coleman3876 2 ปีที่แล้ว

      did you find out the answers to the questions? I also want to know

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

      @@isaiahdean-coleman3876 hey ! did you manage to set your bot??

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

    What do u do the coding on ? Like what platform

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

    does this let you mint NFT's faster?

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

    When is part 2 coming??

  • @monzerchebli6494
    @monzerchebli6494 3 ปีที่แล้ว

    Can Flashbots be used to mint NFTs on the Solana network? if so can you use the same code?
    Thanks

  • @Dimston
    @Dimston 3 ปีที่แล้ว

    can we use this flash bot or do we have to pay?

  • @Centori88
    @Centori88 3 ปีที่แล้ว

    Hi Scott,how can I do this with JavaScript instead of typescript?Any other tweaks I need to configure?

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

    thank you for the video! will there be a part 2?

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

    Amazing video but there is only one issue, I couldn't get the method hex code from projects that aren't live yet
    So when i connected my metamask to etherscan and clicked on "Write" under MintToken, I got an error message saying:
    "Cannot read properties of undefined (reading 'methods')"
    and metamask didn't open, so is there another way to get this hex code before the nft project launch?

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

      You need to "Connect to Web3" and in Metamask "Connected" (and sometimes you need to refresh once those are clicked). It's a mistake I made twice in this video, too! Before quickly clicking that button

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

    Somebody knows what IDE is using for?

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

    Good video, but what happened to part 2?

  • @bombcookie
    @bombcookie 3 ปีที่แล้ว

    thank you sir, awesome tutorial!

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

    your Artbotter site is down. where is Part 2 hosted now?

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

    hi am a beginner so and am trying to play with this code...when I click run on VSC i get the following error "Cannot launch program because corresponding JavaScript cannot be found.
    any hits on what i could be missing?
    thanks in advance and for the awesome video

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

    i have no idea whats going on but ill keep at it

  • @SamRexford
    @SamRexford 3 ปีที่แล้ว

    Nice, is there a similar way to do this on Solana?

  • @PabloHernandez-gi9ks
    @PabloHernandez-gi9ks 3 ปีที่แล้ว

    could i use the same code to mint the solana bots?

  • @victorvasquez4107
    @victorvasquez4107 3 ปีที่แล้ว

    Have you got any solution for BSC?

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

    Thank you for sharing ;)

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

    Thanks

  • @v1ncq886
    @v1ncq886 3 ปีที่แล้ว

    Is there also a mint bot for cardano?

  • @AlexJaeger716
    @AlexJaeger716 3 ปีที่แล้ว

    Can flashbots be used with python?

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

    does it work for BSC?

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

    What is the IDE you are using?

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

      IntelliJ IDEA (WebStorm) in Presentation Mode.

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

    hey Scott do you have also video about if a person can send tokens and NFTs from hacked wallet to another wallet and pay fee from destination wallet since as soon as one is adding crypto in hacked wallet it wipedout immediately..

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

      I am working on one at this very moment!

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

      Released Part 1: th-cam.com/video/KYkyAi9b9r8/w-d-xo.html

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

    Hey Scott, part 2 🛴🛴

  • @raymondyo1570
    @raymondyo1570 3 ปีที่แล้ว

    Anyone got the error "err: transaction type not supported"

  • @maner1989
    @maner1989 3 ปีที่แล้ว

    Hi scott ! thank you!, i have a question , falshbots works on bsc too?

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

      No, Flashbots requires integration with the miner/validator, and no BSC miners run the special software (called mev-geth) that allows this.

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

    what IDE or editor are u using?

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

      IntelliJ / Webstorm (Jetbrains)

  • @that1skater3
    @that1skater3 3 ปีที่แล้ว

    anyone find a solution for not being able to parse through a private key?

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

    Could we get the part two bro?

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

    Great Video!

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

    What insentivies miners to partner with flash bot? Also a malicious miner can just leak the private mem pool?

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

      The get larger "transaction fees" (via the internal coinbase payments). Leaking is a problem that needs to be monitored, it's something Flashbots watches for and takes seriously.

  • @tupacamaru732
    @tupacamaru732 3 ปีที่แล้ว

    any flashbot for solana?

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

    how to give perameters

  • @dukebruhke
    @dukebruhke 3 ปีที่แล้ว

    part 2 please!

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

    how do you set up the wallet private key?

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

      You're right, I glossed over that. I added a single sentence description to the code repo available here: github.com/flashbots/searcher-minter#how-to-run
      Let me know if that is clear or if I need to add more info

    • @tubeforme408
      @tubeforme408 3 ปีที่แล้ว

      @@epheph33 thank you! Awesome video btw

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

      @@epheph33 Hi Scott, i do not understand this part. I run the code and it is still saying "Please provide WALLET_PRIVATE_KEY env". Can you please help me?

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

      @@epheph33 Awesome tutorial, please help me about for how can i write private key...The how to run part on Github is very inadequate, I've been trying for hours and couldn't write.
      Thanks for interest...

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

      @@tubeforme408 Awesome tutorial, please help me about for how can i write private key...The how to run part on Github is very inadequate, I've been trying for hours and couldn't write.
      Thanks for interest...

  • @itskaskali5986
    @itskaskali5986 3 ปีที่แล้ว

    When is part 2?

  • @viditagrawal3111
    @viditagrawal3111 3 ปีที่แล้ว

    what should the flashbots endpoint be if I wanted to send a transaction on the ethereum mainnet instead of goerli?

    • @epheph33
      @epheph33  3 ปีที่แล้ว

      Just delete it! That’s an override

    • @viditagrawal3111
      @viditagrawal3111 3 ปีที่แล้ว

      @@epheph33 for the flashbotsprovider constant, would i simply remove the flashbots_endpoint variable parameter in the create function call?

    • @epheph33
      @epheph33  3 ปีที่แล้ว

      @@viditagrawal3111 yes, and make sure you have a mainnet regular (Infura) provider

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

    Hello sir! I wanted to transfer my NFT from my hacked wallet to a safe wallet. What to do in this case?

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

      Wrong video, look for the other one on my channel about being scammed

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

      @@epheph33 Much much appreciate the efforts of Flashbots
      Thanks for your video, I was able to transfer my NFT bypassing the Sweeper Bot .

  • @JohnBelluci
    @JohnBelluci 3 ปีที่แล้ว

    Amazing. How can I make sure my bundle gets taken by the miners? I tried with this code and my transaction didn't get into the block :(

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

      With eip-1559 u also need to think about priority fees (tips) for the miner as well as the fact that only like 80% of miners are accept flashbots

  • @inceching
    @inceching 3 ปีที่แล้ว

    Great content Scott ! I am urge to transfer my NFTs from the compromised wallet but struggling in the data field of the bundle transaction.

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

      did this work for you? In a similar spot right now

  • @philhersh
    @philhersh 3 ปีที่แล้ว

    What IDE are you using? Thanks!

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

      I think it is webstorm

  • @АртемаКудряков
    @АртемаКудряков 3 ปีที่แล้ว

    How i can connect with you?

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

    Hellp, any tutorial for BNB chain ? :D

  • @satorianold
    @satorianold 3 ปีที่แล้ว

    GrEAT LOOKING FOR MORE

  • @gunpodl5578
    @gunpodl5578 3 ปีที่แล้ว

    awesome stuff

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

    Hey I don’t know if you will be able to get this quick
    Kinda urgent
    Is this free?
    + how can I get 1

  • @iamzeeshankhan
    @iamzeeshankhan 3 ปีที่แล้ว

    Ser, wen part 2?

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

    Nice. Do you offer trainings?

    • @epheph33
      @epheph33  3 ปีที่แล้ว

      Not at the moment, but you should check out the #searchers Flashbots discord, the community there is really helpful!

  • @elsenwiraatmadja3569
    @elsenwiraatmadja3569 3 ปีที่แล้ว

    Hey thanks for sharing. I tried to run the demo code using my wallet that has been topped up with Goerli wallet. The program seems to be running fine, printing all the new blocks on the terminal and no error message. But it seems only 1 trx every 5+ printed blocks got through. any idea what might be the reason ? thanks

    • @blottolotto7648
      @blottolotto7648 3 ปีที่แล้ว

      in the video he says that flashbots don't pick up every block on Goerli. On mainnet they will

  • @GildedHonour
    @GildedHonour 3 ปีที่แล้ว

    With adoption of Proof of stake, all that mechanism, including flashbots, will soon become obsolte and therefore stop to work. Not?

    • @epheph33
      @epheph33  3 ปีที่แล้ว

      PoS still assigns transaction sorting and selection to someone that has full control over their block. So long as someone has control for a block, there is the possibility of improving communication between bots and that person, regardless of how that person is chosen.

    • @GildedHonour
      @GildedHonour 3 ปีที่แล้ว

      @@epheph33 will then PoS affect nothing in a negative way, as far as flashbots and similar bots are concurned?

    • @epheph33
      @epheph33  3 ปีที่แล้ว

      @@GildedHonour this is still being developed, but there are benefits and drawbacks. There should be significantly more participants, so getting them incentive aligned is more difficult. However, the miner of a block should be known far enough ahead of time that you can target which single PoS validator gets bundle flow, instead of sending to all miners ahead of time, since you don’t know who will win the hash race.

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

    Part two?