Skip to content

BlockchainAddress classes #18

@theanurin

Description

@theanurin

We have to represent each type of blockchain address as derived class from base class BlockchainAddress

Implementation checklist

  • Method BlockchainAddress.parse should be able to parse string representation of blockchain address
  • Each derived class should implement as_string method that returns string representation of blockchain address
  • Unit Test for each derived class

Derived classes checklist

  • BitcoinBlockchainAddress represents Bitcoin address
  • EthereumBlockchainAddress represents Ethereum Account address that used by Ethereum, Ethereum Classic, Binance Smart Chain, Polygon and other Ethereum-based blockchains
  • DashBlockchainAddress represents DASH address
  • DogecoinBlockchainAddress represents Dogecoin address
  • LitecoinBlockchainAddress represents Litecoin address
  • TronBlockchainAddress represents Tron address

References

Bitcoin Address Format

Litecoin Address Format

Dogecoin Address Format

Tron Address Format

Dash Address Format

Ethereum Address Format

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions