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:
- 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
- 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
Documentation
For detailed information, API reference, and advanced usage, please refer to the DOCUMENTATION
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.5.tar.gz
(54.6 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.5.tar.gz.
File metadata
- Download URL: tencoin_core-0.4.5.tar.gz
- Upload date:
- Size: 54.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ba2ae544c800c1f50d4e170479c751b064943127d119a05ef44b7b187ce31ca
|
|
| MD5 |
ac47a28523e8b28c2f414745d43f5a60
|
|
| BLAKE2b-256 |
0d7cf13902478cc69734e3b6788b84115bedc34eecc03f11f2a9d9e77d6fea3f
|
File details
Details for the file tencoin_core-0.4.5-py3-none-any.whl.
File metadata
- Download URL: tencoin_core-0.4.5-py3-none-any.whl
- Upload date:
- Size: 44.1 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 |
704109d2c7c8e2485e7a623e96277611edbb0b5ddcab6c151dbfff80b1d4e4a4
|
|
| MD5 |
acab24cf9c9b042506e085a25e7a827c
|
|
| BLAKE2b-256 |
69f71507ba8e89ae8492ca066dbec18e2470d1e14f0545d6040cd2d3e6110b8d
|