Skip to main content

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)
  • 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/0 for native SegWit addresses
    • BIP-44 (P2PKH): m/44'/5353'/0'/0/0 for 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

Installation

pip install tencoin-core

Project details


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.6.tar.gz (38.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tencoin_core-0.4.6-py3-none-any.whl (42.5 kB view details)

Uploaded Python 3

File details

Details for the file tencoin_core-0.4.6.tar.gz.

File metadata

  • Download URL: tencoin_core-0.4.6.tar.gz
  • Upload date:
  • Size: 38.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for tencoin_core-0.4.6.tar.gz
Algorithm Hash digest
SHA256 06079af856d05b03c5c8a8c9954567cf45a82247548551a25ee8e8f7993d34c0
MD5 afc11087458d7dbbd0c975a432b7ae97
BLAKE2b-256 3dbe80307de369c35d9c9bff17aa0737d23124d683fb46314ee4c7671604a745

See more details on using hashes here.

File details

Details for the file tencoin_core-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: tencoin_core-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 42.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for tencoin_core-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c42a99e4a145b89a529d1bf0122aada862c48e59aff8bad126550d08aa7c83da
MD5 5f0da5a22d9772c49267082e00e9613a
BLAKE2b-256 5f7658a28adee926922dcc3bb34fbbe38f720ec1320e60cbadeef68a283cefbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page