Official Python library for Tencoin – HD wallets, SegWit, BIP39, RPC client
Project description
Tencoin Core
Official Python library for Tencoin – HD wallets, transactions, and RPC client.
Features
- HD Wallets: BIP-39 (seed phrases) + BIP-84 (SegWit native addresses)
- Full BIP-32 Support: Standard xprv/xpub extended keys with master/account-level derivation
- Watch-Only Wallets: Create wallets directly from xpub (no seed/private key required)
- Multiple Address Types:
- SegWit v0 (P2WPKH): Native SegWit addresses (
tc1q...) - Legacy P2PKH: Pay-to-pubkey-hash addresses (
T...) - Legacy P2SH: Pay-to-script-hash addresses (
M...) - P2WSH: SegWit script addresses (
tc1q...with 32-byte program)
- SegWit v0 (P2WPKH): Native SegWit addresses (
- Custom Scripts: Support for multisig and custom redeem/witness scripts
- Transaction Signing: Automatic detection and signing for SegWit (BIP-143) and Legacy (P2PKH/P2SH) inputs
- Key Derivation: Standard BIP-84 path
m/84'/5353'/0'/0/0and custom BIP-32 paths - Seed Phrases: 12–24 word English mnemonics (full BIP-39 compliance)
- Wallet Recovery: From mnemonic phrases – compatible with standard BIP-39 implementations
- Full BIP-39 Compatibility: Mnemonics generated by other standard libraries (e.g., bip-utils, Electrum, MetaMask, Ian Coleman's tool) are validated and recovered
- Secure Seed Generation: PBKDF2-HMAC-SHA512 with official 2048-word English wordlist
Installation
pip install tencoin-core
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tencoin_core-0.4.3.tar.gz
(39.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tencoin_core-0.4.3.tar.gz.
File metadata
- Download URL: tencoin_core-0.4.3.tar.gz
- Upload date:
- Size: 39.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b877134acd3b5fb4c80e9c78fec2a5e0608c0d00ece91117ec152391223bb77a
|
|
| MD5 |
45afc7399205dd6989fb122d3e1f4ab5
|
|
| BLAKE2b-256 |
d0a56a2027c9c0681cc316953548762e4f3e34d84e898f20f546e68254e2367d
|
File details
Details for the file tencoin_core-0.4.3-py3-none-any.whl.
File metadata
- Download URL: tencoin_core-0.4.3-py3-none-any.whl
- Upload date:
- Size: 43.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f356d7866c8af276f8e3844880afeaab60d138f1e41a31ebfe403d41a42bfe
|
|
| MD5 |
80169a2331362c8a6d4831f77ab0dab3
|
|
| BLAKE2b-256 |
8be7ddfcd3c1af362816f3a7bc76a3ebfbcc86b83db440b0448b04243c790f59
|