How to build a CRYPTOCURRENCY TRADING BOT w/ ethers.js (Uniswap, Pancakeswap, Quickswap, Sushiswap)



  1. I am getting " Uncaught Error Error: cannot estimate gas; transaction may fail or may require manual gas limit " for const approveTx = await busdContract.approve(



    ); @BlockchainWithLeif

  2. Seems like every tutorial about this subject tends to just gloss over where the ABI string comes from… I still can't figure that out. Can you explain in detail where you get the ABI method strings from? Also the contract addresses you really just glossed over that as well. That may be obvious to a person familiar with blockchain dev but as a beginner I really need you to spell it out and give me more info about how you know which addresses to use. Would be helpful to see you navigate to them from the DEX website so we all can understand that process better. Hopefully this feedback is helpful.

  3. Can you please explain how i can do it that i can use this bot on poocoin with BUSD and Bep20 token connected with Metamask thx. There are so much scams. Thx a lot.

  4. Great job, congrats! I am attempting to write a sniping code and soon realized that to be effective one needs access to a private full node. Do you run your own? Cheers

  5. kindly do another video showing the format of the secret key and some testing on buying and selling. Thanks for the great content. subscribed)

  6. Great tutorial man! Thanks 🙂
    When i run the script,i get an error: Error: nonce has already been user …
    Anyone has expereinced that? Thanks

  7. Thanks Leif! Hey I implemented this, but with V3 when you have multi hop swaps it seems that I only get the first address. Do you know how to get the array {tokenAddress – fee – tokenAddress – fee – tokenAddress…..} of the addresses that the multi hop followed?

  8. Awesome content mate, I have been trying to do the similar things on Solana with Raydium but I can't seem to find any smart contracts(router/factory contracts). If you are up for a challenge it would be awesome if you can make a video on it or even just explaining it in the comment here would be more than enough for me. Cheers.

  9. Thank you for the information! If I may, just to confirm, would it be possible to automate a busd to other tokens swap using these methods? It'd be just searching for that specific pair contract and using it instead, correct? Thanks in advance!

Comments are closed.