Skip to content

Zcash: TEX addresses (ZIP 320) are not supported #10195

Open

Description

@Anirudh-712

BitGoJS can't validate or pay a Zcash tex1… address: @bitgo/utxo-lib's Zcash address handling (zcash/address.ts L43-53) and @bitgo/wasm-utxo (networks.rs L47-48) accept Base58 and unified addresses only (confirmed with @bitgo/utxo-lib 11.25.1: every valid TEX address throws "Non-base58 character"). A TEX address (ZIP 320) is the Bech32m form of a P2PKH key hash; paying one means paying the P2PKH script from transparent inputs only.

Binance gives ZEC users TEX deposit addresses and THORChain's current ZEC inbound address is one, so custody withdrawals to them fail. Test vectors: https://github.com/cryppit/zcash-tex-vectors (30 cases, MIT), which I maintain.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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