Skip to content

vriveraPeersyst/ethmTOevm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Bech32 to EVM Converter

This project converts a Bech32-formatted ethm address (used in the Cosmos ecosystem) into an EIP55-checksummed EVM address.

How It Works

  1. Bech32 Decoding: The script decodes the Bech32 address to extract the raw bytes.
  2. Hex Conversion: The raw bytes are converted into a hexadecimal string.
  3. EIP55 Checksum: A Keccak256 hash is computed on the lowercase hexadecimal address. The result is used to determine which characters to uppercase, creating the EIP55 checksum.
  4. Output: The final EVM address is printed with the 0x prefix.

Setup and Installation

  1. Clone the repository:
    git clone <your-repo-url>
    cd bech32-to-evm

About

Convert ethm1... validator Bech32 Acc: to hex evm 0x address

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors