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
پش 49- Key Derivation:
- BIP-84 (P2WPKH):
m/84'/5353'/0'/0/0for native SegWit addresses - BIP-44 (P2PKH):
m/44'/5353'/0'/0/0for legacy P2PKH addresses - Additional custom BIP-32 paths supported via the BIP-32 API
- BIP-84 (P2WPKH):
- 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.4.tar.gz
(39.7 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.4.tar.gz.
File metadata
- Download URL: tencoin_core-0.4.4.tar.gz
- Upload date:
- Size: 39.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99499cb6426da560bbf40e80f04409f7c8c60b05497f0149452252267c9845ad
|
|
| MD5 |
1ec8d52c2b929749ca3f0269207ecd59
|
|
| BLAKE2b-256 |
e16f6174cbddd30a0b59479c37a2faa9725886b033a5b5611de7ab395e3d66e6
|
File details
Details for the file tencoin_core-0.4.4-py3-none-any.whl.
File metadata
- Download URL: tencoin_core-0.4.4-py3-none-any.whl
- Upload date:
- Size: 44.0 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 |
12b7ef1e5d840793a069f87bb576ca11adb41592aa871a62af83692dffc43a2f
|
|
| MD5 |
584a6ee0549ffaa8f4903303f42b4b42
|
|
| BLAKE2b-256 |
33fcf4b47187a611ca0cb4842938f6c60c0276190e40bbd5fd9afe7acc0b7542
|