arc76-bitcoin
Deterministic ARC76 account derivation for Bitcoin (native SegWit / bech32 addresses).
Usage
pip install arc76-bitcoin
from arc76.bitcoin import get_account, get_email_account
account = get_account(password) # slot 0
print(account.address()) # bech32 P2WPKH address, e.g. "bc1..."
print(account.wif()) # WIF-encoded private key
email_account = get_email_account(email, password)
Both functions return a BitcoinAccount(private_key, public_key):
private_key— the raw 32-byte secp256k1 private key (identical to the ARC76 seed).public_key— the 33-byte compressed secp256k1 public key..address(hrp="bc")— the native SegWit (bech32, P2WPKH) address; passhrp="tb"for testnet..wif()— the WIF-encoded private key (compressed-public-key convention).
Elliptic-curve operations use coincurve, Python
bindings for libsecp256k1 — the same
constant-time, side-channel-hardened library Bitcoin Core itself uses for secp256k1. RIPEMD-160
(for the address hash) is taken from pycryptodome
rather than the standard library, since hashlib's ripemd160 depends on OpenSSL's legacy
provider being enabled (not guaranteed on OpenSSL 3.0+); pycryptodome ships its own
implementation so address derivation doesn't silently vary by platform.
Please use a password of at least 50 characters for real accounts — the account's security is entirely the password's security.
⚠️ Same-curve chains share the literal same private key.
arc76-bitcoin,arc76-bitcoincash, andarc76-ethereumderive the identical secp256k1 private key from the same password/email/slot — leaking the key on one of those chains leaks it on all of them. Use a different password (orslot) per chain if you need isolation.
Metadata
Release files for arc76-bitcoin 1.1.2026080321
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| arc76_bitcoin-1.1.2026080321.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arc76_bitcoin-1.1.2026080321-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / arc76_bitcoin-1.1.2026080321.tar.gz
| Download URL | arc76_bitcoin-1.1.2026080321.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
604f4d62636ced5ddfe6fa842b635c17814a930205387359dc745928a61b769d
|
|
BLAKE2b-256 checksum How to use checksums |
a767011539ba570e8ce98d7ff77bea991055a790026214af24c57e94b979300c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency logRelease files / arc76_bitcoin-1.1.2026080321-py3-none-any.whl
| Download URL | arc76_bitcoin-1.1.2026080321-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
411ba3ef9e48e78ca7b57bf375c351dd80e42fe19c49e2794cd41f39df95b503
|
|
BLAKE2b-256 checksum How to use checksums |
064e137b18521732453d2554442f559ce200c4e4f9c9d4d088410abd9aa4c45d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 3, 2026.
Transparency log