Skip to main content

Library Bitcoin package for python convert and generate wallet

Project description

Libit


Fast and easy converted and generated utils for bitcoin , ethereum and tron wallet in python


install & use

windows

pip install libit

linux & mac

pip3 install libit

generated and convert base utils key for wallet information and public , private data

how to

bytes to wif

from libit import bytes_wif
seed_bytes = b"Bytes data (32 bytes)"
# wif compressed
wif_compress = bytes_wif(seed_bytes, True)
wif_decompress = bytes_wif(seed_bytes)

bytes to address

from libit import bytes_addr
seed_bytes = b"Bytes data (32 bytes)"
# compressed
caddr = bytes_addr(seed_bytes, True)
# uncompressed
uaddr = bytes_addr(seed_bytes)

bytes to ethereum address

from libit import bytes_eth
seed_bytes = b"Bytes data (32 bytes)"
eth_addr = bytes_eth(seed_bytes)

wif to address:

convert wif key to compressed and uncompressed address wallet

import libit

wif_str = "Wif Data String"
# compressed
caddr = libit.wif_addr(wif, True)
# uncompressed
uaddr = libit.wif_addr(wif)

private key to wif

convert private key (hex) to wif compressed and uncompressed

import libit

pvk_hex = "hex private key"
# compressed
wif_compress = libit.pvk_to_wif(pvk_hex, True)
# uncompressed
wif_decompress = libit.pvk_to_wif(pvk_hex)

private key to decimal

import libit
pvk = "hex private key"
decimal = libit.pvk_to_decimal(pvk)

private key to address

import libit
pvk = "hex private key"
compress_addr = libit.privatekey_addr(pvk, True)
uncompress_addr = libit.privatekey_addr(pvk)

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

libit-1.3.6.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

libit-1.3.6-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file libit-1.3.6.tar.gz.

File metadata

  • Download URL: libit-1.3.6.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for libit-1.3.6.tar.gz
Algorithm Hash digest
SHA256 868326caa1c6c2909d0d0cc8bd34cbbdd3c54c36ed0d48a3f569ec7691e68dd0
MD5 71f794deae4b68e7c095d25d5f7e2ae1
BLAKE2b-256 01f5673cfdf2d996f764ae6e3ef287d3697c6d212df90a246b007d4cecca1a45

See more details on using hashes here.

File details

Details for the file libit-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: libit-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for libit-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 48801fd69ed272e874022ae2c17229ad3312cb2b15ecc1258a0acc5ac27ac589
MD5 cbca3533b6e4c63f5629bdb1cc45aed9
BLAKE2b-256 2c45a5386cbdd66d40a83f593372adc1b2a98135f818b799c6857a13cf9d0106

See more details on using hashes here.

Supported by

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