0

so i was looking at this script ethercheck

and i gave it a private key...some crap i came out with

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364144

and to my surprize it came out with and address

0x6813eb9362372eef6200f3b1dbc3f819671cba69

everything else seems to work fine. any ideea on why it works with this?

no address at all, an error

LE: so my question is why does it generate and actual address if the private key is invalid?

Testdev01
  • 13
  • 3
  • 1
    I don't understand your question. You have a function which you call with a number and get a different number as output. What is "working" or what should not be working? – knittl Jan 12 '23 at 17:38
  • 1
    Can you edit the question and try to describe your problem better. Now it is unclear what you are asking. Also do not include links - especially non-working links - in your question. – Mikko Ohtamaa Jan 12 '23 at 17:39
  • yeah, the private address is total bogus but it generates an actual valid address. A actual private key will work fine but this bogus one?It's a github script and i droped a "/" at the end by mistake, sorry – Testdev01 Jan 12 '23 at 17:41
  • @Testdev01 a private key is basically a very large number, nothing more. Why should the result be different if you choose a different number? – knittl Jan 12 '23 at 20:56

0 Answers0