Feature: add conversion functions between 0x and bech32 address
@mrtnetwork Could you review this PR? 🙏
@mrtnetwork Could you review this PR? 🙏
Hi! If you want to add support for Ethereum address conversion, you should define them in the eth_addr file, along with corresponding classes like EthBech32Encoder and EthBech32Decoder.
Also, make sure to validate everything before performing conversions. For example, check if the input is a valid Ethereum address before encoding, or if it's a valid Bech32-encoded Ethereum address before decoding.
@mrtnetwork Could you review this PR? 🙏
Hi! If you want to add support for Ethereum address conversion, you should define them in the eth_addr file, along with corresponding classes like
EthBech32EncoderandEthBech32Decoder.Also, make sure to validate everything before performing conversions. For example, check if the input is a valid Ethereum address before encoding, or if it's a valid Bech32-encoded Ethereum address before decoding.
Thanks for reviewing! I've pushed the updated codes 🙏