mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-22 19:58:06 +00:00
Update eip-1191.md (#3618)
This commit is contained in:
parent
7dcf5fc603
commit
1c269a82a1
@ -27,9 +27,6 @@ Convert the address using the same algorithm defined by EIP-55 but if a register
|
||||
Benefits:
|
||||
- By means of a minimal code change on existing libraries, users are protected from losing funds by mixing addresses of different Ethereum based networks.
|
||||
|
||||
## Backwards Compatibility
|
||||
This proposal is fully backward compatible. The checksum calculation is changed only for new networks that choose to adopt this EIP and add their chain numbers to the Adoption Table included in this document.
|
||||
|
||||
## Implementation
|
||||
```python
|
||||
#!/usr/bin/python3
|
||||
@ -100,9 +97,9 @@ for chainid, cases in test_cases.items():
|
||||
for addr in cases:
|
||||
assert ( addr == eth_checksum_encode(addr,chainid) )
|
||||
```
|
||||
## Adoption
|
||||
## Usage
|
||||
|
||||
### Adoption Table
|
||||
### Usage Table
|
||||
|
||||
| Network | Chain id | Supports this EIP |
|
||||
|-|-|-|
|
||||
@ -110,8 +107,7 @@ for chainid, cases in test_cases.items():
|
||||
| RSK Testnet | 31 | Yes |
|
||||
|
||||
### Implementation Table
|
||||
|
||||
| Project | Adopted this EIP | Implementation |
|
||||
| Project | EIP Usage | Implementation |
|
||||
|-|-|-|
|
||||
| MyCrypto | Yes | [JavaScript](https://github.com/MyCryptoHQ/MyCrypto/blob/develop/common/utils/formatters.ts#L126) |
|
||||
| MyEtherWallet | Yes | [JavaScript](https://github.com/MyEtherWallet/MyEtherWallet/blob/73c4a24f8f67c655749ac990c5b62efd92a2b11a/src/helpers/addressUtils.js#L22) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user