Wrote a bot this weekend to mint NFTs programmatically on Ethereum. Can assure you that using #Flashbots is the neatest way to go about it. 🤖

Huge thank you to @epheph for releasing an awesome tutorial walking through it step-by-step.

Wanna see it in action? Learn more? 👇
Tech Stack:
>> @AlchemyPlatform or @infura_io to access nodes
>> ethers.js to interact with the chain
>> #Flashbots to create and submit transactions

Tutorial:


FakeArtMinter: goerli.etherscan.io/address/0x20ee…
Why mint via a bot instead of through a UI? Most NFT drops have a limited number of items avail to mint. It's your job to get one (or many) of those scarce jpegs. To do this, you need your transaction(s) to be prioritized in the mempool and picked up before the drop sells out.
If you go through a UI, you're only as fast as your client and you have to manually choose gas params. This leads to a cycle of trial and error where you're guessing the gas amount needed w/o overpaying. Sites for estimating gas exist but don't always update in time.
A bot is significantly faster because you're interacting directly with the chain and the process of selecting gas params is automated. You just read the mempool and iteratively re-set the gas price and gas limit so your transaction is included by miners. 🚀💥

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with CASΞY

CASΞY Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(