Skip to content

Support BCH cashaddress format #84

@soad003

Description

@soad003

Bitcoin cash introduced a CashAddrs in 2018. Its a new encoding (only userfacing) for their addresses to avoid mistakes (by introducing checksums and better distinguishability from BTC addresses) (ref 1, ref 2)

Our backend only knows legacy addresses thus entering a CashAddr yields no results. Since it is only an encoding cash addresses can be converted to the legacy format.

I propose to convert CashAddr entered in the search field and other queries on the REST level to support CashAddrs.

Code for the conversion can taken from this tagpack-tool issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions