Class: AdequateCryptoAddress::Bsc

Inherits:
Eth
  • Object
show all
Defined in:
lib/adequate_crypto_address/eth.rb

Overview

BNB Smart Chain uses the same address format and EIP-55 checksum as Ethereum.

Instance Attribute Summary

Attributes inherited from Eth

#address, #raw_address

Instance Method Summary collapse

Methods inherited from Eth

#initialize, #normalize, #valid?

Constructor Details

This class inherits a constructor from AdequateCryptoAddress::Eth

Instance Method Details

#address_type ⇒ Object



87
88
89
# File 'lib/adequate_crypto_address/eth.rb', line 87

def address_type
  valid? ? :bsc : nil
end