0

I want to be able to generate txid simulations on a forked blockchain programmatically, with the only details being known to the program are the functions to be executed.

This will be used for fetching details about a staking/lending contract automatically, but there is one problem - To simulate without knowing the token that will be deposited into a contract, i would need to at least know of an address that holds that token (and therefore would be able to deposit in the simulation when i mimic it)

Now i heard somewhere that the "0x000...000" void address 'always' has some amount of an erc20 token - is that true? Would definitely make it much easier if it does... But it sounds untrue

1 Answer 1

0

It depend which Blockchain you are forking.

But yes, any major blockchain networks, likes of ETH, Avalanche, Matic, and ERC20 projects developed on them, will often have some token balance on 0x000...000 because that address is used for burning tokens (Basically, you destroy tokens by sending them there)

2
  • Yea so i know the 0x00 is often used as a burn address, but my question is - Is that something consistent? I am assuming if a certain token has never intentionally burned any tokens then it wouldn't work - In which case it would be very inconsistent Oct 25, 2022 at 8:12
  • Yes, if nothing vas ever burned, that address would be empty.
    – Sky
    Oct 25, 2022 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.