This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0055 [2020/05/20 14:23] char |
dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip:erc_0055 [2020/11/13 02:21] (current) nick ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== EIP 55: Mixed-case checksum address encoding ==== | ==== EIP 55: Mixed-case checksum address encoding ==== | ||
| - | [[dido:public:ra:xapend.stds:defact:ethereum:eip| Return to Ethereum ERCs ]] | + | [[dido:public:ra:xapend:xapend.b_stds:defact:ethereum:eip| Return to Ethereum ERCs ]] |
| - | : **Note**: The following is an excerpt from the official Ethereum site. It is provided here as a connivence and is not authoritative. Refer to the original document as the authoritative reference. | + | : **Note**: The following is an excerpt from the official Ethereum site. It is provided here as a convenience and is not authoritative. Refer to the original document as the authoritative reference. |
| <table> | <table> | ||
| Line 15: | Line 15: | ||
| </table> | </table> | ||
| - | + | === Abstract === | |
| - | ====== Abstract ====== | + | |
| In English, convert the address to hex, but if the ith digit is a letter (ie. it’s one of ''abcdef'') print it in uppercase if the 4*ith bit of the hash of the lowercase hexadecimal address is 1 otherwise print it in lowercase. | In English, convert the address to hex, but if the ith digit is a letter (ie. it’s one of ''abcdef'') print it in uppercase if the 4*ith bit of the hash of the lowercase hexadecimal address is 1 otherwise print it in lowercase. | ||
| - | ====== Rationale ====== | + | === Rationale === |
| - | : Benefit | + | __Benefit__ |
| * Backwards compatible with many hex parsers that accept mixed case, allowing it to be easily introduced over time | * Backwards compatible with many hex parsers that accept mixed case, allowing it to be easily introduced over time | ||
| * Keeps the length at 40 characters | * Keeps the length at 40 characters | ||
| *On average there will be 15 check bits per address, and the net probability that a randomly generated address if mistyped will accidentally pass a check is 0.0247%. This is a ~50x improvement over ICAP, but not as good as a 4-byte check code. | *On average there will be 15 check bits per address, and the net probability that a randomly generated address if mistyped will accidentally pass a check is 0.0247%. This is a ~50x improvement over ICAP, but not as good as a 4-byte check code. | ||