Class: AdequateCryptoAddress::Trx

Inherits:
Altcoin
  • Object
show all
Defined in:
lib/adequate_crypto_address/trx.rb

Overview

TRON mainnet addresses are Base58Check with the 0x41 version byte and a four-byte double-SHA256 checksum (25 bytes total, rendered as a 34-character string starting with "T"). https://developers.tron.network/docs/account

Constant Summary collapse

ADDRESS_TYPES =
{ prod: %w[41] }.freeze

Constants inherited from Altcoin

Altcoin::ALPHABET_TYPE, Altcoin::EXPECTED_LENGTH, Altcoin::MAX_LENGTH

Instance Attribute Summary

Attributes inherited from Altcoin

#address, #type

Method Summary

Methods inherited from Altcoin

#address_type, #initialize, #valid?

Constructor Details

This class inherits a constructor from AdequateCryptoAddress::Altcoin