Skip to content

Which are all address formats are supported for BTC transaction signing #1300

Answered by optout21
Karthikmoback asked this question in Q&A
Discussion options

You must be logged in to vote

Which interface do you use to interface with wallet core?
The Address / AnyAddress API's can be used to validate an address.

See eg.:
https://github.com/trustwallet/wallet-core/blob/master/swift/Tests/CoinAddressDerivationTests.swift#L19

or here (this is BCH, but similar)
https://github.com/trustwallet/wallet-core/blob/master/swift/Tests/Blockchains/BitconCashTests.swift#L45

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Karthikmoback
Comment options

Answer selected by Karthikmoback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants