Observed since 20 Oct, 19:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A lightweight converter for blockchain addresses supporting multiple formats
A lightweight Python library for converting blockchain addresses between different formats, with initial support for EVM-compatible chains and other blockchain networks.
base58)pip install address-converter
from address_converter import evm_to_tron, tron_to_evm, get_address_type
# Convert EVM format to alternative format
evm_address = "0x123456789abcdef123456789abcdef123456789a"
alt_base58 = evm_to_tron(evm_address, output_format='base58')
alt_hex = evm_to_tron(evm_address, output_format='hex')
print(f"Base58 format: {alt_base58}")
print(f"Hex format: {alt_hex}")
# Convert from alternative format to EVM
alt_address = "TJCnKsPa7y5okkXvQAidZBzqx3QyQ6sxMW"
evm_result = tron_to_evm(alt_address, add_prefix=True)
print(f"EVM format: {evm_result}")
# Detect address type
address_type = get_address_type(evm_address)
print(f"Address type: {address_type}") # 'evm'
evm_to_tron(evm_address: str, output_format: str = 'base58') -> strConvert an EVM address to alternative blockchain format.
evm_address: EVM address (with or without '0x' prefix)output_format: Output format, either 'base58' or 'hex'tron_to_evm(tron_address: str, add_prefix: bool = True) -> strConvert an address from alternative blockchain format to EVM format.
tron_address: Address in Base58Check or Hex formatadd_prefix: Whether to add '0x' prefixget_address_type(address: str) -> Optional[str]Detect address type.
address: Address to detectContributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or need help, please:
This is an independent open-source project developed for educational and research purposes. It is not affiliated with, endorsed by, or connected to any organization or entity. The code is provided "as is" under the MIT License.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 26 Jul 2025 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 19:21 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:e1ba2ee4d40616dddb5b2c24f3044387fc42891e5a5da8d8ba9952254a9fb511