Add Zcash testnet (tZEC) network symbol for address generation#430
Merged
richardkiss merged 4 commits intomainfrom Jan 11, 2026
Merged
Add Zcash testnet (tZEC) network symbol for address generation#430richardkiss merged 4 commits intomainfrom
richardkiss merged 4 commits intomainfrom
Conversation
- Created pycoin/symbols/tzec.py with testnet parameters from chainparams.cpp - Testnet addresses start with 'tm' (prefix 0x1D25) - Script addresses start with 't2' (prefix 0x1CBA) - WIF prefix: 0xEF - BIP32 prefixes: tprv/tpub (0x04358394/0x043587CF) - Added comprehensive tests in tests/tzec_test.py Co-authored-by: richardkiss <5336+richardkiss@users.noreply.github.com>
Co-authored-by: richardkiss <5336+richardkiss@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add functionality to generate ZEC testnet addresses
Add Zcash testnet (tZEC) network symbol for address generation
Jan 7, 2026
Owner
|
@copilot Can you add a |
- Removed tests/tzec_test.py - Added tests/cmds/test_cases/ku/bip32_subpaths_tzec.txt - Tests now use text file format like other networks Co-authored-by: richardkiss <5336+richardkiss@users.noreply.github.com>
Contributor
Author
Done! Replaced Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
richardkiss
approved these changes
Jan 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for generating Zcash testnet addresses. Parameters extracted from
src/chainparams.cppin the Zcash repository.Changes
pycoin/symbols/tzec.py: New network symbol with testnet parameters:0x1D25(tm addresses)0x1CBA(t2 addresses)0xEF0x04358394/0x043587CF(tprv/tpub)tests/cmds/test_cases/ku/bip32_subpaths_tzec.txt: Test coverage using ku test format for address generation, WIF, and BIP32Usage
Follows the same pattern as other testnet implementations (e.g.,
tdash.py,xtn.py).Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.