Created
June 30, 2024 16:59
-
-
Save assafmo/ebade2f909d267557c6a0f8cd764b80d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eth_address = "0x" + hex(keccak256(pubkey_raw)[-20:]) | |
cosmos_address = bech32(prefix, ripemd160(sha256(pubkey_compressed))) | |
cosmos_evmos_address = bech32(prefix, keccak256(pubkey_raw)[-20:]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment