[Ethereum] Should I always put 0x at the start of Ethereum addresses


Should I always put 0x at the start of Ethereum addresses?
Sending ether to addresses without 0x seem to work perfectly fine.

when sending to an address, do you include the "0x" before the rest of
the number?

The address in my coinbase starts with 0x, then the rest of the
receiving address. However my wallet file i created with geth doesn't
have the 0x in the name.


Best Answer

Yes but the 0x should already be there. You should not be typing addresses in manually because they currently do not have checksums and mistakes can be costly: more details here specifically be "careful to always include the "0x" on the front of the raw ones (which you should be doing anyways)".

When transferring any large amounts, don't forget to test with a small amount first. Similarly, if you are copying+pasting and the 0x isn't already there (maybe some blockchain explorers don't have the 0x), be careful if you add the "0x".

With Ethereum ICAP addresses, the 0x should not be added.

Related Topic